]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
f2fs: introduce max_io_bytes, a sysfs entry, to limit bio size
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 3 Dec 2020 17:52:45 +0000 (09:52 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 7 Dec 2020 16:41:25 +0000 (08:41 -0800)
commit10208567f11bd572331cbbcb9a89c61a143811a1
tree5dcbe4ab3295300d06b1bae47b31ebb40e5d5c20
parentec2ddf499402a665d1f6f7f5ce1391100e54089e
f2fs: introduce max_io_bytes, a sysfs entry, to limit bio size

This patch adds max_io_bytes to limit bio size when f2fs tries to merge
consecutive IOs. This can give a testing point to split out bios and check
end_io handles those bios correctly. This is used to capture a recent bug
on the decompression and fsverity flow.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Documentation/ABI/testing/sysfs-fs-f2fs
fs/f2fs/data.c
fs/f2fs/f2fs.h
fs/f2fs/sysfs.c