]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: account for alignment with max_blob_size when splitting
authorIgor Fedotov <ifedotov@suse.com>
Mon, 9 Aug 2021 15:18:35 +0000 (18:18 +0300)
committerNeha Ojha <nojha@redhat.com>
Thu, 12 Aug 2021 18:52:28 +0000 (18:52 +0000)
commit0f1c242906a43dbfb0d3f303a3c3b08cf9331b7a
tree9d240fbab82040d0d0ded37acdb4663242a16886
parent81aefaa554c44a6dc6fb46eba93930f31c7de518
os/bluestore: account for alignment with max_blob_size when splitting
write I/O into chunks.

Without the fix the following write seq:
0~4M
4096~4M

produces tons of deferred writes at the second stage.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
(cherry picked from commit b06bcf99f50cf7db5856eb1f6cd56100a0d0bbbc)
src/os/bluestore/BlueStore.cc