]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: correctly measure deferred writes into new blobs 27819/head
authorSage Weil <sage@redhat.com>
Thu, 25 Apr 2019 15:49:04 +0000 (10:49 -0500)
committerSage Weil <sage@redhat.com>
Fri, 26 Apr 2019 15:44:24 +0000 (10:44 -0500)
commitdd29f3b7866d523f5d99616a649fe1f5423d5c63
tree2744728bf44816baab398352ea1452cfdd6a0d77
parentf4139a88ed5c8b43d423ec43162efae25feb7b68
os/bluestore: correctly measure deferred writes into new blobs

Writes into new blobs were all counted as write_small_new, but those can
still be deferred later in _do_alloc_write if they are <= than the
prefer_deferred setting.

See http://tracker.ceph.com/issues/38816

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 6fe8540b573419195c70dfeae1aefcfe247c046e)
src/os/bluestore/BlueStore.cc