summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorJianan Huang <huangjianan@xiaomi.com>2025-06-30 20:57:53 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2025-07-01 16:22:07 +0000
commit185f203a6991f7dd7f8070d6638415215da35d7e (patch)
tree8247fa6d40a06831c02da8cecd7de9d67eff4cff /scripts/gdb/linux/proc.py
parente23ab8028de0d92df5921a570f5212c0370db3b5 (diff)
f2fs: avoid splitting bio when reading multiple pages
When fewer pages are read, nr_pages may be smaller than nr_cpages. Due to the nr_vecs limit, the compressed pages will be split into multiple bios and then merged at the block level. In this case, nr_cpages should be used to pre-allocate bvecs. To handle this case, align max_nr_pages to cluster_size, which should be enough for all compressed pages. Signed-off-by: Jianan Huang <huangjianan@xiaomi.com> Signed-off-by: Sheng Yong <shengyong1@xiaomi.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions