]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: move all pool creation into rgw_init_ioctx 21534/head
authorCasey Bodley <cbodley@redhat.com>
Thu, 19 Apr 2018 18:45:29 +0000 (14:45 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 19 Apr 2018 19:10:36 +0000 (15:10 -0400)
commit02f64e7f8b18146d093978045d2f8ae04dd7e18e
treee73a0ab9d5b226f1b6075b269ea3668f7e2ccf0b
parenta4778e9d62fd38eb1e4eba1cfb3bc27a2ae5e101
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>
src/rgw/rgw_rados.cc