Re: [PATCH 3/8] btrfs: Record btrfs_device directly btrfs_io_bio

Josef Bacik
2020-07-02T13:14:10Z

On 7/2/20 8:23 AM, Nikolay Borisov wrote:
> 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.
>
> Signed-off-by: Nikolay Borisov <nborisov@suse.com>

Reviewed-by: Josef Bacik <josef@toxicpanda.com>

Thanks,

Josef