From: Jason Dillaman Date: Wed, 27 Mar 2019 23:09:55 +0000 (-0400) Subject: librbd: new alternative write-around cache layer X-Git-Tag: v15.1.0~2945^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e415f4064a5ec075e2b0be6928f71a3805f3c968;p=ceph.git librbd: new alternative write-around cache layer This is a replacement for the ObjectCacher-based writethrough/ writeback cache. It permits a configurable maximum byte size of in-flight writes (bytes) to the OSDs where the writes are immediately completed back to the caller. Any IO errors are propagated on the next flush request. Signed-off-by: Jason Dillaman --- diff --git a/src/common/options.cc b/src/common/options.cc index 36ed0fbb355..849aa94b135 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -6990,6 +6990,11 @@ static std::vector