From ec99eeeb41c0004a99034258eb7a1a06f14ebc8f Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Wed, 27 Mar 2019 19:16:04 -0400 Subject: [PATCH] librbd: switch to write-around cache policy by default Signed-off-by: Jason Dillaman --- PendingReleaseNotes | 9 +++++++++ src/common/options.cc | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/PendingReleaseNotes b/PendingReleaseNotes index 52f9c261ea6..255ac9f0ba1 100644 --- a/PendingReleaseNotes +++ b/PendingReleaseNotes @@ -11,3 +11,12 @@ python3.4, because EPEL7 recently switched from python3.4 to python3.6 as the native python3. see the `announcement _` for more details on the background of this change. + +* librbd now uses a write-around cache policy be default, + replacing the previous write-back cache policy default. + This cache policy allows librbd to immediately complete + write IOs while they are still in-flight to the OSDs. + Subsequent flush requests will ensure all in-flight + write IOs are completed prior to completing. The + librbd cache policy can be controlled via a new + "rbd_cache_policy" configuration option. diff --git a/src/common/options.cc b/src/common/options.cc index 849aa94b135..da82ba3e28c 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -6992,7 +6992,7 @@ static std::vector