]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore/BlueFS: wait for flush aios to complete before returning
authorSage Weil <sage@redhat.com>
Wed, 30 Dec 2015 15:16:19 +0000 (10:16 -0500)
committerSage Weil <sage@redhat.com>
Fri, 1 Jan 2016 18:08:56 +0000 (13:08 -0500)
commit198b156ce6153c0f390ceadb3ea237ade16d135f
tree1c783b1002d469259a8ee8e3d43a39ff932f453e
parent7172a7e297343e3759c9dbf7573be9323ddc7998
os/bluestore/BlueFS: wait for flush aios to complete before returning

This makes all the IOs effectively synchronous (while holding the lock),
which isn't great, but at least it's correct.  We can contemplate async
later..

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