Commit Graph

76198 Commits

Author SHA1 Message Date
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
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
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
Sage Weil
5bc9f6dafe compressor: accept 'none' or '' for none
This makes the parse and output methods match up.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-27 22:30:12 -04:00
Sage Weil
5fd23dcf26 os/bluestore: observe bluestore_compression_required_ratio
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-27 22:30:12 -04:00
Sage Weil
625859b42b doc/dev/config: some guidance around defining config options
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-27 22:30:12 -04:00
Patrick Donnelly
fb039383e9
Merge PR #16435 into master
* refs/remotes/upstream/pull/16435/head:
	qa: whitelist trim error during powercycle tests

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-27 17:54:59 -07:00
Sage Weil
89cf82c599 mgr/PyState: shut up about get_config on nonexistent keys
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-27 18:06:22 -04:00
Patrick Donnelly
ced01a2335
qa: fix wait for wrong health message
Fixes: http://tracker.ceph.com/issues/20805

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-07-27 14:40:05 -07:00
Sage Weil
cb12a81905 Merge pull request #16450 from markhpc/wip-rocksdb-bloomsettings
kv/RocksDBStore: Table options for indexing and filtering

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-27 16:26:09 -05:00
Sage Weil
41bcf2fee5 Merge pull request #16281 from badone/wip-PG-cluster-log-audit
osd: Log audit

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-07-27 16:25:30 -05:00
Sage Weil
862392fbf9 Merge pull request #16514 from liewegas/wip-20744
qa/tasks/ceph: wait for mgr to activate and pg stats to flush in health()

Reviewed-by: John Spray <john.spray@redhat.com>
2017-07-27 16:24:59 -05:00
Sage Weil
4af49a8866 osd/PG: ignore CancelRecovery in NotRecovering
It's possible to get >1 CancelRecovery events in the queue.
The first will transition us from Recovering to NotRecovering.
Currently the second will make us crash.

This is harmless; instead just swallow the event.

Fixes: http://tracker.ceph.com/issues/20804
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-27 16:59:44 -04:00