diff options
| author | Miao Xie <[email protected]> | 2014-09-12 18:43:54 +0800 |
|---|---|---|
| committer | Chris Mason <[email protected]> | 2014-09-17 13:38:50 -0700 |
| commit | 23ea8e5a07673127d05cb5cf6f9914d7a53e0847 (patch) | |
| tree | 58199f4b68c72a1a6c4d0be4cf6ab917ecdcb070 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
| parent | c3929c3624e1764855e5a452728aec201b18b42a (diff) | |
Btrfs: load checksum data once when submitting a direct read io
The current code would load checksum data for several times when we split
a whole direct read io because of the limit of the raid stripe, it would
make us search the csum tree for several times. In fact, it just wasted time,
and made the contention of the csum tree root be more serious. This patch
improves this problem by loading the data at once.
Signed-off-by: Miao Xie <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions