]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: metadata and data sync share RGWAsyncRadosProcessor
authorCasey Bodley <cbodley@redhat.com>
Tue, 5 Jan 2016 18:30:48 +0000 (13:30 -0500)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 12 Feb 2016 00:13:55 +0000 (16:13 -0800)
commit79d6952f240d55b2d28ee729e8f872564c6f14a4
tree49606526e5f8e028f4bcd8f983acba183f5202e8
parent2360e165a1a0e6a52e992fdffb658d5d3616c6f9
rgw: metadata and data sync share RGWAsyncRadosProcessor

each RGWAsyncRadosProcessor creates 32 worker threads by default, so we
should only create one instance and share it between callers

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