]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: add rgw_bucket_sync_status() to bypass manager
authorCasey Bodley <cbodley@redhat.com>
Tue, 12 Sep 2017 16:48:56 +0000 (12:48 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 10 Nov 2017 18:23:01 +0000 (13:23 -0500)
commit403d139c673180ce00eab420a2fdebdacf366dac
tree00663c5dff1332cc057639fa9305084aaedb51b2
parent4f736f1ec74f74e8dc1ae4ffb5b71274351c66f0
rgw: add rgw_bucket_sync_status() to bypass manager

RGWBucketSyncStatusManager::init() is doing a lot of extra work that's
not needed to serve the rest api (spawning an http manager thread,
fetching the bucket instance info, etc)

uses RGWShardCollectCR to limit the number of concurrent reads to 16

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_data_sync.cc
src/rgw/rgw_data_sync.h