]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd: enable the simple IO scheduler by default
authorJason Dillaman <dillaman@redhat.com>
Wed, 27 Mar 2019 23:17:46 +0000 (19:17 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 11 Apr 2019 16:47:00 +0000 (12:47 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
PendingReleaseNotes
src/common/options.cc

index 255ac9f0ba147abf26fbfc3b780a4b16296347c1..eb4e9f54eec6863b554e25d0ecfe72c40f305b82 100644 (file)
@@ -20,3 +20,9 @@
   write IOs are completed prior to completing. The
   librbd cache policy can be controlled via a new
   "rbd_cache_policy" configuration option.
+
+* librbd now includes a simple IO scheduler which attempts to
+  batch together multiple IOs against the same backing RBD
+  data block object. The librbd IO scheduler policy can be
+  controlled via a new "rbd_io_scheduler" configuration
+  option.
index da82ba3e28c0150f54f3dbbd887140f2c8d1e672..b3137157fbaeb6a34fa25b178612fa84b736bcef 100644 (file)
@@ -7295,7 +7295,7 @@ static std::vector<Option> get_rbd_options() {
     .set_description("RBD Image access timestamp refresh interval. Set to 0 to disable access timestamp update."),
 
     Option("rbd_io_scheduler", Option::TYPE_STR, Option::LEVEL_ADVANCED)
-    .set_default("none")
+    .set_default("simple")
     .set_enum_allowed({"none", "simple"})
     .set_description("RBD IO scheduler"),