aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2023-05-31 04:17:35 +0000
committerDavid Sterba <[email protected]>2023-06-19 11:59:33 +0000
commit78a213a05df3510200331bfcc232bf0278c6ed50 (patch)
tree31c96e33f90cc8d9b812616b73b6dfe4bfc9fcb3 /fs/btrfs/dev-replace.c
parentbtrfs: remove unused BTRFS_MAP_DISCARD (diff)
downloadkernel-78a213a05df3510200331bfcc232bf0278c6ed50.tar.gz
kernel-78a213a05df3510200331bfcc232bf0278c6ed50.zip
btrfs: optimize simple reads in btrfsic_map_block
Pass a smap into __btrfs_map_block so that the usual case of a read that doesn't require parity raid recovery doesn't need an extra memory allocation for the btrfs_io_context. Reviewed-by: Qu Wenruo <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions