]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore/BlueStore: do WAL ops buffered to avoid RMW issues
authorSage Weil <sage@redhat.com>
Tue, 22 Dec 2015 15:31:08 +0000 (10:31 -0500)
committerSage Weil <sage@redhat.com>
Fri, 1 Jan 2016 18:07:21 +0000 (13:07 -0500)
commit6d41758cf218be122cf9a526ce08e82b7635ba5a
treef5e55af327d46009891f6cbff6e4e1fdb58aa549
parente07fc756f7e485afe4d25eaf2f49b172132d0f38
os/bluestore/BlueStore: do WAL ops buffered to avoid RMW issues

We may have multiple WAL ops that do read/modify/write covering
the same blocks.  To avoid the complexity of identifying those
situations and ensuring that we, say, wait for writes to complete
before reading them back again, just make the IO buffered and let
the page cache handle that for us.

This fixes the failure of LibRadosAio.RoundTripWriteFull.

Signed-off-by: Sage Weil <sage@redhat.com>
src/os/bluestore/BlueStore.cc