diff options
author | Christoph Hellwig <[email protected]> | 2023-01-21 07:50:05 +0100 |
---|---|---|
committer | David Sterba <[email protected]> | 2023-02-15 19:38:51 +0100 |
commit | 1c2b3ee3b0ec4bc971e23fe18d4c92333a6ad18a (patch) | |
tree | d4c86e0cfc3f6243968b8a79760f8c7390cff852 /lib/lockref.c | |
parent | 7276aa7d38255b40e578267c3634ebc05f5d5236 (diff) |
btrfs: pre-load data checksum for reads in btrfs_submit_bio
Instead of calling btrfs_lookup_bio_sums in every caller of
btrfs_submit_bio that reads data, do the call once in btrfs_submit_bio.
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 'lib/lockref.c')
0 files changed, 0 insertions, 0 deletions