diff options
author | Nikolay Borisov <[email protected]> | 2020-07-03 11:14:27 +0300 |
---|---|---|
committer | David Sterba <[email protected]> | 2020-07-27 12:55:40 +0200 |
commit | c31efbdf23a09468c9352f05443d5624dbbfd3c7 (patch) | |
tree | bc968559afc3b8187c9ae41f4bc18a554522bf10 /lib/debugobjects.c | |
parent | 3526302f26162ae738926d44eb39e2e0780b11bc (diff) |
btrfs: record btrfs_device directly in btrfs_io_bio
Instead of recording stripe_index and using that to access correct
btrfs_device from btrfs_bio::stripes record the btrfs_device in
btrfs_io_bio. This will enable endio handlers to increment device
error counters on checksum errors.
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Nikolay Borisov <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions