Commit Graph

73142 Commits

Author SHA1 Message Date
Orit Wasserman
8b497b06d7 rgw: add RGWReshard::clear_bucket_resharding
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2017-06-05 13:17:31 -07:00
Orit Wasserman
0f53c5dce5 rgw: add RGWReshard::set_bucket_resharding
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2017-06-05 13:17:31 -07:00
Orit Wasserman
98d85722a3 rgw: add missing handles for set_resharding, clear_resharding
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2017-06-05 13:17:14 -07:00
Orit Wasserman
7c5ec1d12b rgw: add cls _bucket_resharding_set and cls_bucket_resharding_clear
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2017-06-02 14:46:44 -07:00
Orit Wasserman
424dd65298 rgw: Add resharding flag and the new bucket instance id to RGWBucketInfo
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2017-06-02 14:46:43 -07:00
Orit Wasserman
9449095177 radosgw-admin: Add reshard add, list, execute and cancel commands
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2017-06-02 14:44:27 -07:00
Orit Wasserman
0806a00514 radosgw-admin: move resharding into a separate function
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2017-06-02 14:44:27 -07:00
Orit Wasserman
a34f6af726 rgw: add RGWReshard class
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2017-06-02 14:44:26 -07:00
Orit Wasserman
fd9db9e01e rgw: add reshard_pool
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2017-06-02 14:44:26 -07:00
Orit Wasserman
450ea1c4cf rgw: add cls_rgw_reshard ops
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2017-06-02 14:44:25 -07:00
Casey Bodley
bf72bd8dcb Merge pull request #15119 from ceph/wip-rgw-config-docs
doc: mention certain conf vars should be in global

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-02 14:09:33 -04:00
Yehuda Sadeh
ea911b7f48 Merge pull request #14351 from yehudasa/wip-rgw-mdsearch
rgw: metadata search part 2

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-06-02 09:16:07 -07:00
Sage Weil
ffced8cfa4 Merge pull request #15427 from tchaikov/wip-vstart-osd-id
vstart: print "start osd.$id" instead of "start osd$id"

Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-02 10:34:45 -05:00
Sage Weil
b98ad7cadb Merge pull request #15217 from badone/wip-async-sleep-timer-fix
osd: Move scrub sleep timer to osdservice

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-06-02 10:32:15 -05:00
Sage Weil
6e406bab6a Merge pull request #15396 from jcsp/wip-ceph-status
mon: revise "ceph status" output

Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-02 10:30:55 -05:00
Sage Weil
b735c5a939 Merge pull request #15011 from xiexingguo/wip-crush-tool
tools/crushtool: replicated-rule API support

Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-02 10:20:44 -05:00
Sage Weil
cd4acd8d01 Merge pull request #15176 from SUSE/wip-mgr-fix-help
mgr,osd:  ceph-mgr --help, unify usage text of other daemons

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-02 10:20:27 -05:00
Sage Weil
6bedb4c35a Merge pull request #15395 from liewegas/wip-log-entity
common/LogEntry: include EntityName in log entries

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-02 10:19:58 -05:00
Sage Weil
ecef6fd839 Merge pull request #15398 from liewegas/wip-bluestore-leak
os/bluestore: fix buffers pinned by indefinitely deferred writes

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-06-02 10:19:26 -05:00
Sage Weil
773a0ac2d3 Merge pull request #15402 from liewegas/wip-bluestore-mempools
os/bluestore: improve mempool usage

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-06-02 10:19:03 -05:00
Sage Weil
a35cd1cb35 Merge pull request #15403 from liewegas/wip-mempool-dump
mempool: improve dump; fix buffer accounting bugs

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-02 10:18:38 -05:00
Casey Bodley
a8a9969571 Merge pull request #15431 from rzarzynski/wip-rgw-vim-modeline-for-orhpantool
rgw: add the Vim's modeline into rgw_orphan.cc.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-06-02 10:05:17 -04:00
Kefu Chai
d5f178f0e5 Merge pull request #15425 from yaozongyou/fix-build-error
cmake: link against fcgi only if enabled

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-02 21:56:03 +08:00
Radoslaw Zarzynski
e342c39a57 rgw: add the Vim's modeline into rgw_orphan.cc.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-06-02 14:05:39 +02:00
Kefu Chai
fda6e16cf1 vstart: print "start osd.$id" instead of "start osd$id"
"osd.9" is more consistent with other places where an osd is referenced.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-06-02 15:10:45 +08:00
Jos Collin
371f227f10 Merge pull request #15408 from yonghengdexin735/wip-zzz-add_const
include/lru.h: add const to member functions

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-06-02 11:11:58 +05:30
Yao Zongyou
3b7ecf37e9 Fix cmake build error.
Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
2017-06-02 12:11:59 +08:00
Sage Weil
17751bac69 Merge pull request #15420 from yuriw/wip_remove_default_idle_timeout
qa: Removed all 'default_idle_timeout' due to chnage in rwg task
2017-06-01 22:08:31 -05:00
Sage Weil
1244c0a501 Merge pull request #15397 from dzafman/wip-20089
osd: Object level shard errors are tracked and used if no auth available

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-06-01 21:40:29 -05:00
Sage Weil
ea5b054e65 qa/workunits/cephtool/test.sh: adjust watch test
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-01 22:22:24 -04:00
Sage Weil
6912c4f9ea Merge pull request #15417 from smithfarm/wip-cond-epoch-2
build/ops: rpm: move _epoch_prefix below Epoch definition
2017-06-01 21:14:13 -05:00
yonghengdexin735
75c5c2b782 include/lru: add const to member function
Signed-off-by: yonghengdexin735 <zhang.zezhu@zte.com.cn>
2017-06-02 07:55:19 +08:00
Yuri Weinstein
02242ea48e Removed all 'default_idle_timeout' due to chnage in rwg task
8c74c8a639 (diff-995b04809fcabacc3e3ecfaea903a41aL539)

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2017-06-01 14:01:30 -07:00
Yehuda Sadeh
6594d972f2 qa/tasks/rgw_multisite.py: adjust zone init
zone is now a ZoneConn object. Also, change import to make it relative
so that qa task can locate it.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2017-06-01 13:32:00 -07:00
Nathan Cutler
3e30232607 build/ops: rpm: move _epoch_prefix below Epoch definition
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-06-01 21:37:09 +02:00
Sage Weil
b5da257b2a Merge pull request #15400 from yehudasa/wip-20128
qa/rgw_snaps: move default_idle_timeout config under the client
2017-06-01 14:22:39 -05:00
David Zafman
1cacbea763 osd: Object level shard errors are tracked and used if no auth available
Shards with object mismatch are tracked to mark them inconsistent
Fix test because storing omap_digest in object_info not behaving as before

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

Signed-off-by: David Zafman <dzafman@redhat.com>
2017-06-01 10:46:48 -07:00
David Zafman
955deac56f osd-scrub-repair: Fix broken test and correctly handle ec overwrite testing
Caused by: 3ca750d41d

Signed-off-by: David Zafman <dzafman@redhat.com>
2017-06-01 10:09:29 -07:00
Sage Weil
8bcf3e5781 Merge pull request #15212 from neha-ojha/wip-fix-recovery-sleep-configurable
osd: Implement asynchronous recovery sleep

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-06-01 11:54:58 -05:00
Sage Weil
703055b0c0 Merge pull request #15262 from Adirl/revert_cm
msg/async: Revert RDMA-CM

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-06-01 11:54:33 -05:00
Sage Weil
703125eb34 Merge pull request #15307 from ovh/bp-64bit-mem-is-zero
inline_memory: optimized mem_is_zero for non-x64

Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-01 11:54:19 -05:00
Sage Weil
268d5cdeba Merge pull request #15340 from wjwithagen/wip-wjw-libcommon
cmake: do not link libcommon against some libs

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-01 11:53:54 -05:00
Sage Weil
f6220d1504 Merge pull request #15342 from chardan/jfw-wip-add_VLA_warning
build: Adds C++ warning flag for C Variable-Length Arrays.

Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-01 11:53:32 -05:00
Sage Weil
aee60f2d92 Merge pull request #15364 from joscollin/wip-cleanup-putto-operator-const
src: put-to operator function - const input cleanup

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-06-01 11:52:57 -05:00
Sage Weil
d3887bfeda Merge pull request #15372 from ganeshmaharaj/reuse-isal
erasure-code: Remove duplicate of isa-l files

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2017-06-01 11:52:40 -05:00
Sage Weil
4e160f20e4 os/bluestore: release aios and pinned buffers on io complete
Once we're done with our IO, clear the aio list so that the pinned buffers
are unpinned.  This ensures we release memory quickly, even if the
TransContext sticks around for a while (e.g., in the osr q).

Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-01 12:28:44 -04:00
Sage Weil
d82af301c8 os/bluestore: submit deferred if txc cleanup is blocked
If we have a single deferred write, and then a uniform workload with *no*
deferred writes, we will never actually submit it.  Meanwhile, the txc is
stuck on the osr q and nothing ever gets retired.

Simple fix is to submit any deferred ops if the osr queue is blocked by
a queued deferred write and the osr queue length is above some
threshold.  This prevents memory from being pinned indefinitely.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-01 12:28:43 -04:00
Sage Weil
aff9e37e83 Merge pull request #15209 from liewegas/wip-sortbitwise-notes
doc/release-notes: update which jewel version does sortbitwise warning
2017-06-01 11:26:06 -05:00
Sage Weil
ff2d625763 Merge pull request #15274 from liewegas/wip-auto-ccache
do_cmake.sh: enable ccache if installed

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-01 11:25:36 -05:00
Sage Weil
f251b07e5d do_cmake.sh: enable ccache if installed
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-01 12:25:11 -04:00