]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore/BlueFS: factor unflushed log into runway calculation 10966/head
authorSage Weil <sage@redhat.com>
Fri, 2 Sep 2016 19:31:20 +0000 (15:31 -0400)
committerSage Weil <sage@redhat.com>
Fri, 2 Sep 2016 19:31:20 +0000 (15:31 -0400)
commitf967b17c488329f5f464ff76932c02c1d0e01511
tree8beb2847be8e8e0decae25a32395b0131b314004
parent249f9e067c24e8775e75a4483286418528adebc0
os/bluestore/BlueFS: factor unflushed log into runway calculation

Include the size of the in-memory buffer we haven't yet flushed
into the runway calculation when deciding whether to allocate
more log space.

Reported-by: Somnath Roy <somnath.roy@sandisk.com>
Signed-off-by: Sage Weil <sage@redhat.com>
src/os/bluestore/BlueFS.cc
src/os/bluestore/BlueFS.h