aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mod/file2alias.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <[email protected]>2020-05-26 18:11:51 +0000
committerAndreas Gruenbacher <[email protected]>2020-05-29 15:00:24 +0000
commit20be493b787cd581c9fffad7fcd6bfbe6af1050c (patch)
treeac94020ca600923558138fa83c8d31e290aa10d6 /scripts/mod/file2alias.c
parentLinux 5.7-rc7 (diff)
downloadkernel-20be493b787cd581c9fffad7fcd6bfbe6af1050c.tar.gz
kernel-20be493b787cd581c9fffad7fcd6bfbe6af1050c.zip
gfs2: Even more gfs2_find_jhead fixes
Fix several issues in the previous gfs2_find_jhead fix: * When updating @blocks_submitted, @block refers to the first block block not submitted yet, not the last block submitted, so fix an off-by-one error. * We want to ensure that @blocks_submitted is far enough ahead of @blocks_read to guarantee that there is in-flight I/O. Otherwise, we'll eventually end up waiting for pages that haven't been submitted, yet. * It's much easier to compare the number of blocks added with the number of blocks submitted to limit the maximum bio size. * Even with bio chaining, we can keep adding blocks until we reach the maximum bio size, as long as we stop at a page boundary. This simplifies the logic. Signed-off-by: Andreas Gruenbacher <[email protected]> Reviewed-by: Bob Peterson <[email protected]>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions