]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: move all pool creation into rgw_init_ioctx 21675/head
authorCasey Bodley <cbodley@redhat.com>
Thu, 19 Apr 2018 18:45:29 +0000 (14:45 -0400)
committerPrashant D <pdhange@redhat.com>
Thu, 26 Apr 2018 11:28:12 +0000 (07:28 -0400)
commit130d3c431e77ec658f16f7cd5fb431968b20855d
treeb42b4646a05a83f6c6b4a891a5d0f47b1babf013
parentcad919881333ac92274171586c827e01f554a70a
rgw: move all pool creation into rgw_init_ioctx

the pool_create/application_enable logic was duplicated in three places,
and only one of them was reporting the error on ERANGE

Fixes: http://tracker.ceph.com/issues/23480
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 02f64e7f8b18146d093978045d2f8ae04dd7e18e)
src/rgw/rgw_rados.cc