Commit Graph

76213 Commits

Author SHA1 Message Date
Josh Durgin
966513908c osd: do not try to set device class before luminous
This avoids crashing when older monitors do not support it.

Fixes: http://tracker.ceph.com/issues/20850
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2017-07-31 21:50:48 -04:00
Jason Dillaman
05b182c1c2 Merge pull request #16547 from dillaman/wip-dashboard-iscsi
mgr/dashboard: RBD iSCSI daemon status page

Reviewed-by: John Spray <john.spray@redhat.com>
2017-07-31 10:22:21 -04:00
Jason Dillaman
41c251c243 Merge pull request #16670 from Yan-waller/wip-walle-0729rbdcompile
cls/rbd: silence warning from -Wunused-variable

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-07-31 10:07:45 -04:00
Jason Dillaman
9b3fe6f03b Merge pull request #16583 from lxbsz/ws_macro
librbd: add LIBRBD_SUPPORTS_WRITESAME support

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-07-31 09:49:13 -04:00
Yan Jun
b3b1f2cfb2 cls/rbd: silence warning from -Wunused-variable
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
2017-07-31 21:26:13 +08:00
Jason Dillaman
51c7cec7bb Merge pull request #16694 from Songweibin/wip-doc-rbd
rbd: modified some commands' description into imperative sentence

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-07-31 09:12:27 -04:00
Jason Dillaman
a2857c8181 Merge pull request #16686 from amitkumar50/cov-1351525-1
rbd: fixed coverity 'Argument cannot be negative' warning

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-07-31 08:53:40 -04:00
amitkuma
01fe317d02 rbd: 1351525 Argument cannot be negative
Fixed:

** CID 1351525 (#1 of 1): Argument cannot be negative (NEGATIVE_RETURNS)
7. negative_returns: sd is passed to a parameter that cannot be negative.

Signed-off-by: Amit Kumar amitkuma@redhat.com
2017-07-31 17:58:32 +05:30
songweibin
f9a94641e5 rbd: modified some commands' description into imperative sentence
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-07-31 20:25:30 +08:00
John Spray
fa70335db2 Merge pull request #16660 from nrdmn/patch-2
doc: added mgr caps to manual deployment documentation

Reviewed-by: John Spray <john.spray@redhat.com>
2017-07-31 11:53:53 +01:00
Kefu Chai
729cf44679 Merge pull request #16627 from liewegas/wip-objecter-eagain
osdc/Objecter: unify disparate EAGAIN handling paths into one

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-07-30 15:33:52 +08:00
Kefu Chai
4357837c7e Merge pull request #16668 from Yan-waller/wip-walle-0729configoption
common: fix Option set_long_description

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-30 13:18:10 +08:00
Xie Xingguo
a977599cae Merge pull request #16669 from Yan-waller/wip-walle-0729testpglogcompile
test/osd: kill compile warning

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-07-29 13:44:31 +08:00
Yan Jun
7e45879640 test/osd: kill compile warning
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
2017-07-29 11:23:11 +08:00
Kefu Chai
4694cf402f Merge pull request #16667 from tchaikov/wip-objclass-omap
objclass: modify omap_get_{keys,vals} api

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-29 11:10:38 +08:00
Yan Jun
2e04b7e9b9 common: fix Option set_long_description
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
2017-07-29 10:21:43 +08:00
Yehuda Sadeh
57cae0a689 librados_test_stub: use omap_get_vals2() and modify stubs
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-07-29 10:15:40 +08:00
Yehuda Sadeh
bcac5666e3 cls_kvs: adjust objclass api
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2017-07-29 10:13:33 +08:00
Yehuda Sadeh
d3de6f5e07 cls_{rbd, journal, lua}: adjust api
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2017-07-29 10:13:33 +08:00
Yehuda Sadeh
d5f3b87079 cls/lua: add 'more' param for cls_cxx_map_get_vals()
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2017-07-29 10:13:33 +08:00
Yehuda Sadeh
5334622a83 cls/*: adjust use of cls_cxx_map_get_vals()
Now that objclass call gets a new 'more' param.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2017-07-29 10:13:33 +08:00
Yehuda Sadeh
149bd84891 objclass: add 'more' param to omap listing
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2017-07-29 10:13:33 +08:00
Josh Durgin
06243931ad Merge pull request #16617 from dillaman/wip-20783
osd: moved OpFinisher logic from OSDOp to OpContext

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-28 15:07:17 -07:00
Yuri Weinstein
659a63f7af Merge pull request #16590 from LianneWang/master
ceph_test_rados: max_stride_size must be more than min_stride_size

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-28 15:02:13 -07:00
Yuri Weinstein
26d120d83d Merge pull request #16615 from tchaikov/wip-no-vla-in-cxx
kv/RocksDBStore: use vector instead of VLA for holding slices

Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2017-07-28 15:01:46 -07:00
Gregory Farnum
dce8e7da86 Merge pull request #16655 from liewegas/wip-osd-warning
osd/PG: fix warning so we discard_event() on a no-op state change

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-07-28 12:52:39 -07:00
Nick Erdmann
987024567c added mgr caps to manual deployment documentation
Signed-off-by: Nick Erdmann <n@nirf.de>
2017-07-28 19:16:27 +02:00
Patrick Donnelly
019f20ff98
Merge PR #16640 into master
* refs/remotes/upstream/pull/16640/head:
	qa: fix wait for wrong health message

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-07-28 09:55:49 -07:00
Patrick Donnelly
adce2308d3
Merge PR #16550 into master
* refs/remotes/upstream/pull/16550/head:
	cephfs/ceph-fuse: add and modify ceph-fuse mount hint

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-07-28 09:55:26 -07:00
Patrick Donnelly
6fc2ee383f
Merge PR #16413 into master
* refs/remotes/upstream/pull/16413/head:
	qa/cephfs: lsof if umount fails

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-07-28 09:55:23 -07:00
Patrick Donnelly
8ad8607256
Merge PR #16410 into master
* refs/remotes/upstream/pull/16410/head:
	mds: refuse 'export dir' request when mds is stopping

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-07-28 09:55:21 -07:00
Sage Weil
1e9452c2d6 osd/PG: fix warning
Introduced by 4af49a8866

Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-28 10:07:23 -04:00
Sage Weil
597a6a6481 Merge pull request #16645 from tchaikov/wip-bluefs-allocator-is-dev-only-option
common/options: make "blue{fs,store}_allocator" LEVEL_DEV

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-28 09:01:33 -05:00
Sage Weil
6f0f3764af Merge pull request #16489 from liewegas/wip-bluestore-options
common/options.cc: document bluestore config options
2017-07-28 09:01:16 -05:00
Sage Weil
c067ccdc2e Merge pull request #16520 from xiexingguo/wip-application-warn
mon/OSDMonitor: issue pool application related warning

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-28 09:01:08 -05:00
Sage Weil
c3c2b31c87 Merge pull request #16568 from liewegas/wip-application-warn
qa,doc: document and fix tests for pool application warnings
2017-07-28 09:00:46 -05:00
Sage Weil
cabe2f9895 Merge pull request #16634 from neha-ojha/wip-default-device-class
osd: add default_device_class to metadata

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-28 08:59:43 -05:00
Sage Weil
f4850aee7a Merge pull request #16638 from liewegas/wip-20804
osd/PG: ignore CancelRecovery in NotRecovering

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-07-28 08:59:06 -05:00
Sage Weil
efd720005c Merge pull request #16646 from tchaikov/wip-qa-run-standalone-work-with-gnu-find
qa/run-standalone.sh: fix the find option to be compatible with GNU find

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2017-07-28 08:41:49 -05:00
John Spray
2c4ad54f80 Merge pull request #16487 from liewegas/wip-mgr-module-health
mgr: mgr_module interface to report health alerts

Reviewed-by: John Spray <john.spray@redhat.com>
2017-07-28 13:24:41 +01:00
John Spray
c6ef41b02e Merge pull request #16641 from liewegas/wip-mgr-configs
mgr/PyState: shut up about get_config on nonexistent keys

Reviewed-by: John Spray <john.spray@redhat.com>
2017-07-28 13:19:57 +01:00
Kefu Chai
3c12075d63 Merge pull request #16582 from liewegas/wip-20633
mon/MgrMonitor: reset mgrdigest timer with new subscription

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-28 17:12:46 +08:00
Kefu Chai
75e361433d qa/run-standalone.sh: fix the find option to be compatible with GNU find
also re-indent to be consistent with other part of this script

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-28 14:22:02 +08:00
Kefu Chai
20692fddc9 common/options: make "blue{fs,store}_allocator" LEVEL_DEV
See-also: http://tracker.ceph.com/issues/20660
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-28 13:53:56 +08:00
Kefu Chai
2a128f4829 Merge pull request #16599 from liewegas/wip-standalone-fixes
qa/workunits: adjust path to ceph-helpers.sh

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-28 13:18:47 +08:00
Kefu Chai
9167486eb8 Merge pull request #16482 from tchaikov/wip-opt
common/options: refactors to set the properties in a more structured way

Reviewed-by: John Spray <john.spray@redhat.com>
2017-07-28 13:15:33 +08:00
Kefu Chai
9dea6dc763 Merge pull request #16589 from Yan-waller/wip-walle-0726testwatchnotify
test/rados: fix wrong parameter order of RETURN1_IF_NOT_VAL

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-28 13:14:07 +08:00
Kefu Chai
b3b972c733 Merge pull request #16609 from wjwithagen/wip-wjw-FreeBSD-group-wheel
ceph_disk/main.py: FreeBSD root has wheel for group

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-28 13:13:28 +08:00
Kefu Chai
55a3e5790e Merge pull request #16593 from shangzhong/wip-20660
os/bluestore/StupidAllocator: rounded down len to an align boundary

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-28 13:07:06 +08:00
Sage Weil
9bc2b74798 common/options: document bluestore options
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-27 22:31:51 -04:00