Commit Graph

77842 Commits

Author SHA1 Message Date
Sage Weil
c66f68dea6 Merge pull request #17394 from Songweibin/wip-common-cleanup
common: drop unused variables "bluestore_csum_*_block" in opts

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-09-01 16:26:24 -05:00
Sage Weil
91bf1ed053 Merge pull request #17398 from xiexingguo/wip-21175
os/bluestore: don't re-initialize csum-setting for existing blobs

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-01 16:25:53 -05:00
Josh Durgin
317a8bae5e Merge pull request #17160 from ceph/wip-luminous-x-master
qa: add upgrade/luminous-x suite

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-09-01 14:19:48 -07:00
Kefu Chai
dc3efc4f9d Merge pull request #17405 from tchaikov/wip-remove-boost-submodule
boost: remove boost submodule

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-09-02 01:47:18 +08:00
Alfredo Deza
3831d4023b Merge pull request #17425 from ceph/wip-ceph-volume-docs
docs: ceph-volume CLI updates

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2017-09-01 12:55:34 -04:00
Sage Weil
0dbd0b9def Merge pull request #17426 from liewegas/wip-integration
script/build-integration-branch: print pr url list with titles

Reviewed-by: Yuri Weinstein <yweinstei@redhat.com>
2017-09-01 11:33:37 -05:00
Sage Weil
5916683c52 script/build-integration-branch: print pr url list with titles
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-01 12:26:39 -04:00
Casey Bodley
7e9de8bd90 Merge pull request #17353 from scienceluo/wip-luo-fix-rgw-memory-leak-branch
rgw: fix resource leak in rgw_bucket.cc and rgw_user.cc

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-09-01 12:23:33 -04:00
Alfredo Deza
dc2f1ffb66 doc/ceph-volume prepare partitions with PARTUUID
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-01 12:12:43 -04:00
Yuri Weinstein
aff342627c Initial check in
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2017-09-01 08:56:19 -07:00
Alfredo Deza
aad84fc9ce doc/ceph-volume prepare needs both volume group and lv names
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-01 11:51:59 -04:00
Alfredo Deza
794067e694 doc/ceph-volume activate re-links the journal always
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-01 11:29:51 -04:00
Alfredo Deza
8858f02610 doc/ceph-volume emphasize the danger of calling prepare for an existing OSD
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-01 11:29:15 -04:00
Luo Kexue
1f23976ada rgw: fix resource leak in rgw_bucket.cc and rgw_user.cc
Fixes: http://tracker.ceph.com/issues/21214

Signed-off-by: Luo Kexue <luo.kexue@zte.com.cn>
2017-09-01 23:11:11 +08:00
Sage Weil
692a32600d Merge pull request #17421 from nrdmn/dashboard-colors
mgr/dashboard: change raw usage chart's color depending on usage

Reviewed-by: John Spray <john.spray@redhat.com>
2017-09-01 09:31:35 -05:00
Sage Weil
a9ae738348 Merge pull request #17424 from theanalyst/release-eol-updates-l
doc/releases: the Kraken sleepeth, faintest sunlights flee

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2017-09-01 09:18:46 -05:00
John Spray
5b903c7b42 mon: rate limit on health check update logging
Fixes: http://tracker.ceph.com/issues/20888
Signed-off-by: John Spray <john.spray@redhat.com>
2017-09-01 10:18:01 -04:00
Abhishek Lekshmanan
7b9dfd3ed0 doc/releases: the Kraken sleepeth, faintest sunlights flee
updating releases to retire Kraken, Hammer. Also updated to mention
Jewel will be around until at least N is finalized

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-09-01 16:05:46 +02:00
w11979
afdacc6ed7 osd: fix build_initial_pg_history
We need to update our info about the previous interval in order to
detect interval changes properly.

Fixes: http://tracker.ceph.com/issues/21203

Signed-off-by: w11979 <wang.wenfeng@h3c.com>
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-01 10:04:17 -04:00
Alfredo Deza
219f64b8a5 doc/ceph-volume update intro to mention dm-cache
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-01 10:00:35 -04:00
Sage Weil
7949c2c603 Merge pull request #17364 from theanalyst/release-updates
doc: update releases to the current state
2017-09-01 08:46:52 -05:00
Nick Erdmann
db027bcd8e mgr/dashboard: change raw usage chart's color depending on usage
Signed-off-by: Nick Erdmann <n@nirf.de>
2017-09-01 13:14:00 +00:00
John Spray
618a27868d mon: add helper for emitting logs by health status
We were starting to repeat our little "if(status==HEALTH_ERR"
blocks in too many places.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-09-01 05:53:13 -04:00
Abhishek Lekshmanan
948bff4c21 doc: update releases to the current state
Adding Luminous release date, and dropping links for dev releases (since
they've been merged to 12.2.0), also rearranged the table so that newer
releases come left

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-09-01 11:23:59 +02:00
xie xingguo
9f94f9f00e os/bluestore: handle small main device properly
Originally reported by MarcinDulak on 'ceph-users' channel.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-09-01 15:53:38 +08:00
xie xingguo
22740cc9b3 os/bluestore: formatting nits
So we don't output anything if csum is currently off:

_do_alloc_write blob Blob(0x7fad7cc25950 blob([0x42a80000~10000] none/0x1)

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-09-01 12:33:40 +08:00
xie xingguo
8ec4b4960f os/bluestore: don't re-initialize csum-setting for existing blobs
The global checksum setting may change, e.g., from NONE to CRC32,
which can cause improper re-initialization of the csum-settings of
existing blobs(e.g., partial write/overwrite may turn out to shrink
'csum_data').

We could develop some complicated solutions but for now let's not
bother since the above scenario is rare.

Fixes: http://tracker.ceph.com/issues/21175
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-09-01 12:33:40 +08:00
Jos Collin
dd4cc66673 Merge pull request #17397 from ZVampirEM77/wip-doc
doc: fix doc/radosgw/admin.rst typos

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-09-01 03:36:42 +00:00
Kefu Chai
f04436b189 make-dist: download and repackage boost
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-01 11:10:09 +08:00
Sage Weil
b308f20073 Merge pull request #16521 from myoungwon/wip-objecter-finishers
osd: add multiple objecter finishers

Reviewed-by: Liu-Chunmei <chunmei.liu@intel.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-31 15:46:52 -05:00
Sage Weil
3019a788d0 Merge pull request #16586 from tianshan/fix_logrotate
logrotate: add systemd reload in logrotate in case of centos minimal without killall

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-31 15:46:20 -05:00
Sage Weil
de4a3d2ae1 Merge pull request #16643 from Aran85/wip-mon-deadlock-on-shutdown
kv/leveldb: fix deadlock when close db

Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-31 15:45:55 -05:00
Sage Weil
d87e42386a Merge pull request #16733 from liupan1111/wip-bluefs-fio
os: add compile option to build libbluefs.so 

Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-31 15:45:39 -05:00
Sage Weil
6cf3b5ce9e Merge pull request #17244 from liewegas/wip-21121
osd: subscribe to new osdmap while waiting_for_healthy

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-31 15:44:59 -05:00
Sage Weil
2b6a9d1ec0 os/bluestore: separate finisher for deferred_try_submit
Reusing finishers[0], which is used for completions back into the OSD,
is deadlock-prone: the OSD code might block trying to submit new IO or
while waiting for some other bluestore work to complete.

Fixes: http://tracker.ceph.com/issues/21207
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-31 16:43:39 -04:00
Sage Weil
44d06eb64a Merge pull request #16925 from gmayyyha/mgr-osd-metadata
mgr: implement completion of osd MetadataUpdate

Reviewed-by: John Spray <john.spray@redhat.com>
2017-08-31 13:59:18 -05:00
Sage Weil
536b764989 Merge pull request #17036 from majianpeng/add-pmem-submodule
submodule: make libmpem as a submodule.

Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-31 13:58:39 -05:00
Sage Weil
3a9788ed76 Merge pull request #17354 from liewegas/wip-bluefs-compaction
os/bluestore/BlueFS: compact log even when sync_metadata sees no work

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Varada Kari <varada.kari@gmail.com>
2017-08-31 13:58:06 -05:00
Sage Weil
7c6d0b8d93 Merge pull request #17357 from Liuchang0812/wip-bluefs-not-assert-eexist
os/bluestore: do not core dump when BlueRocksEnv gets EEXIST error

Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-31 13:57:35 -05:00
Sage Weil
df80939a6a Merge pull request #17360 from tchaikov/wip-crush-cleanup
crush: various CrushWrapper cleanups

Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-31 13:57:19 -05:00
Sage Weil
ec5e9c8d76 Merge pull request #17379 from liewegas/wip-div-p
qa/suites/rados/singleton/diverget_priors*: broaden whitelist
2017-08-31 13:56:59 -05:00
Sage Weil
21027233b2 qa/tasks/ceph_manager: revive osds before doing final rerr reset
We assume below that rerrosd is up, but it may not be when we exit the
loop.

Fixes: http://tracker.ceph.com/issues/21206
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-31 14:55:46 -04:00
Kefu Chai
6b23056cf8 boost: remove boost submodule
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-01 01:01:16 +08:00
Radoslaw Zarzynski
875b156956 os/bluestore: replace dout with ldout in StupidAllocator.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2017-08-31 17:49:58 +02:00
Sage Weil
3e2ebd5655 Merge pull request #17401 from liewegas/wip-disable-pidfile
test/CMakeLists: disable test-pidfile.sh

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-08-31 10:28:38 -05:00
Kefu Chai
00b78562ea Merge pull request #17390 from tchaikov/wip-test-coredump
test: Don't dump core when using EXPECT_DEATH

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-08-31 22:46:13 +08:00
amitkuma
4bca8f8013 rgw: Initializes uninitialized members of rgw
Fixes the coverity issues:

** 1352181 Uninitialized scalar field
2. uninit_member: Non-static class member field fh_hk.bucket is
not initialized in this constructor nor in any functions that it calls.
CID 1352181 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
4. uninit_member: Non-static class member field fh_hk.object is
not initialized in this constructor nor in any functions that it calls.

** 1353424 Uninitialized scalar field
CID 1353424 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
5. uninit_member: Non-static class member watch_handle is not initialized
 in this constructor nor in any functions that it calls.

** 1355240 Uninitialized scalar field
CID 1355240 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
2. uninit_member: Non-static class member index_type is not initialized
in this constructor nor in any functions that it calls.

Signed-off-by: Amit Kumar <amitkuma@redhat.com>
2017-08-31 19:54:45 +05:30
Enming Zhang
4e79414bfe doc: fix doc/radosgw/admin.rst typos
Signed-off-by: Enming Zhang <enming.zhang@umcloud.com>
2017-08-31 21:52:05 +08:00
Sage Weil
c4936f4493 test/CMakeLists: disable test-pidfile.sh
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-31 09:11:56 -04:00
Abhishek Lekshmanan
f6db58093a doc: man: document stat, stat2 for rados cli
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-08-31 14:14:10 +02:00