]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: drop lock while we flush the log
authorSage Weil <sage@redhat.com>
Fri, 24 Jun 2016 13:23:21 +0000 (09:23 -0400)
committerSage Weil <sage@redhat.com>
Thu, 30 Jun 2016 16:56:56 +0000 (12:56 -0400)
commit10d055d65727e47deae4e459bc21aaa243c24a7d
tree6683d8f9d02038591c6bfaf2883a104c4e59cf0c
parentff668f2cf968d1e463c00f874b9732d280f1e461
os/bluestore: drop lock while we flush the log

Handle cases where we have multiple racing threads trying to flush the
log by only allowing one concurrent log flush to be in progress at a time,
and behave if, after flushing, there are no more dirty records to flush.

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