]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore/BlueFS: drop lock while waiting for user io to complete
authorSage Weil <sage@redhat.com>
Thu, 23 Jun 2016 13:39:31 +0000 (09:39 -0400)
committerSage Weil <sage@redhat.com>
Thu, 30 Jun 2016 16:56:56 +0000 (12:56 -0400)
commit4ec1724892a9ce63ae20d8338e114424be7e3ce5
tree88f78323fd65d89a30428c69a3c6077a689abf08
parentd8554cce771e2eb265ef1daad0021964fecc1914
os/bluestore/BlueFS: drop lock while waiting for user io to complete

_flush_wait is safe to call without a lock, as long as our reference is
stable.  Rename it wait_for_aio() to be more clear about what it does and
the fact that it doesn't require a lock.

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