aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2021-10-20 19:00:48 +0000
committerJens Axboe <[email protected]>2021-10-21 14:27:17 +0000
commit6450fe1f668f410fe2ab69c79a52a0929a4a8296 (patch)
tree1bdb58baedf360a0e43ae05cdee388597de95545 /fs/btrfs/dev-replace.c
parentfs: bdev: fix conflicting comment from lookup_bdev (diff)
downloadkernel-6450fe1f668f410fe2ab69c79a52a0929a4a8296.tar.gz
kernel-6450fe1f668f410fe2ab69c79a52a0929a4a8296.zip
block: optimise boundary blkdev_read_iter's checks
Combine pos and len checks and mark unlikely. Also, don't reexpand if it's not truncated. Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Pavel Begunkov <[email protected]> Link: https://lore.kernel.org/r/fff34e613aeaae1ad12977dc4592cb1a1f5d3190.1634755800.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions