]> git.apps.os.sepia.ceph.com Git - ceph-ci.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)
committerIgor Fedotov <ifedotov@suse.com>
Tue, 10 Aug 2021 11:34:17 +0000 (14:34 +0300)
commitb06bcf99f50cf7db5856eb1f6cd56100a0d0bbbc
treeccd2c8fb9b2821072cbfba4de1f9d66d137c20e7
parentf38f18c149b9347a26d845539eaeef29979e9006
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>
src/os/bluestore/BlueStore.cc