]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: batch up to bluestore_deferred_batch_ops before submitting
authorSage Weil <sage@redhat.com>
Thu, 9 Mar 2017 19:17:47 +0000 (14:17 -0500)
committerSage Weil <sage@redhat.com>
Tue, 21 Mar 2017 18:56:29 +0000 (13:56 -0500)
commita4b90122686ff4d31bc07bfda93e629d6d64e5a4
treed567f12faa52329649bc6273dd6a73874a8baed4
parent44d498332c4da6d6340c05ad9cce2d37cbcc5951
os/bluestore: batch up to bluestore_deferred_batch_ops before submitting

Allow several deferred writes to accumulate before we submit them.  In
general we have no time pressure, and on HDD (and perhaps sometimes SSD)
it is beneficial to accumulate and batch these so that they result in
fewer seeks.  On HDD, this is particularly true of seeks away from the
journal.  And on sequential workloads this can avoid seeks.  In may even
allow the block layer or SSD firmware to merge IOs and perform fewer
writes.

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