]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: Remove rgw_num_rados_handles option
authorAbhishek Lekshmanan <abhishek@suse.com>
Thu, 15 Aug 2019 15:25:22 +0000 (17:25 +0200)
committerAbhishek Lekshmanan <abhishek@suse.com>
Mon, 19 Aug 2019 10:49:49 +0000 (12:49 +0200)
This has been deprecated for some time and underlies much of the
complexity of the RADOS service.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit 55180511e5e5a2d9965a1bad17218ee64e023484)

Conflicts:
PendingReleaseNotes
updated to reflect current nautilus status

PendingReleaseNotes
doc/radosgw/config-ref.rst
src/common/legacy_config_opts.h
src/rgw/rgw_rados.cc
src/rgw/services/svc_rados.cc

index dadb5ad8bc5702785b993ac2b14572d4b3340d74..131801d14de753699596c81382dce27ffa4e9f3e 100644 (file)
@@ -1,13 +1,14 @@
->=14.2.1
+>=14.2.2
 --------
 
-* Ceph now packages python bindings for python3.6 instead of
-  python3.4, because EPEL7 recently switched from python3.4 to
-  python3.6 as the native python3. see the `announcement <https://lists.fedoraproject.org/archives/list/epel-announce@lists.fedoraproject.org/message/EGUMKAIMPK2UD5VSHXM53BH2MBDGDWMO/>_`
-  for more details on the background of this change.
-
 * Nautilus-based librbd clients can now open images on Jewel clusters.
 
+* The RGW "num_rados_handles" has been removed.
+  If you were using a value of "num_rados_handles" greater than 1
+  multiply your current "objecter_inflight_ops" and
+  "objecter_inflight_op_bytes" paramaeters by the old
+  "num_rados_handles" to get the same throttle behavior.
+
 14.2.2
 ------
 
index 37bb8eea9007e3229dc007d7af5f9bafa98c179e..0e20dfd5a24d7dad1c8111e8bbdaa87b41f9da47 100644 (file)
@@ -157,18 +157,6 @@ instances or all radosgw-admin commands can be put into the ``[global]`` or the
 :Default: 100 threads.
 
 
-``rgw num rados handles``
-
-:Description: The number of `RADOS cluster handles`_ for Ceph Object Gateway.
-              Having a configurable number of RADOS handles is resulting in
-              significant performance boost for all types of workloads. Each RGW
-              worker thread would now get to pick a RADOS handle for its lifetime,
-              from the available bunch.
-
-:Type: Integer
-:Default: ``1``
-
-
 ``rgw num control oids``
 
 :Description: The number of notification objects used for cache synchronization
index f83a5ca4ebf39cf2918df91e5fb5a7a8afe251d9..340e740b4699a41430002957bb3d305ec71cf457 100644 (file)
@@ -1376,7 +1376,6 @@ OPTION(rgw_op_thread_timeout, OPT_INT)
 OPTION(rgw_op_thread_suicide_timeout, OPT_INT)
 OPTION(rgw_thread_pool_size, OPT_INT)
 OPTION(rgw_num_control_oids, OPT_INT)
-OPTION(rgw_num_rados_handles, OPT_U32)
 OPTION(rgw_verify_ssl, OPT_BOOL) // should http_client try to verify ssl when sent https request
 
 /* The following are tunables for caches of RGW NFS (and other file
index 22dd0f17829451b6d6cb4212ea49a8b440b88a4a..60134d8707d4304fc601f136eec838355c3fd344 100644 (file)
@@ -1410,7 +1410,7 @@ int RGWRados::init_rados()
     }
   }
 
-  auto handles = std::vector<librados::Rados>{static_cast<size_t>(cct->_conf->rgw_num_rados_handles)};
+  auto handles = std::vector<librados::Rados>{static_cast<size_t>(1)};
 
   for (auto& r : handles) {
     ret = r.init_with_context(cct);
index db0855b197b984d9c576ca6888992e9b2e8d7995..4e95fe278cc353848a846b92e5c4d697c853a0c0 100644 (file)
@@ -44,7 +44,7 @@ static int init_ioctx(CephContext *cct, librados::Rados *rados, const rgw_pool&
 
 int RGWSI_RADOS::do_start()
 {
-  auto handles = std::vector<librados::Rados>{static_cast<size_t>(cct->_conf->rgw_num_rados_handles)};
+  auto handles = std::vector<librados::Rados>{static_cast<size_t>(1)};
 
   for (auto& r : handles) {
     int ret = r.init_with_context(cct);