Files
i2som-imx-linux/fs
Christoph Hellwig 8a2ee44a37 btrfs: look at bi_size for repair decisions
bio_readpage_error currently uses bi_vcnt to decide if it is worth
retrying an I/O.  But the vector count is mostly an implementation
artifact - it really should figure out if there is more than a
single sector worth retrying.  Use bi_size for that and shift by
PAGE_SHIFT.  This really should be blocks/sectors, but given that
btrfs doesn't support a sector size different from the PAGE_SIZE
using the page size keeps the changes to a minimum.

Reviewed-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-02-15 08:40:10 -07:00
..
2019-01-21 14:53:23 +01:00
2019-01-06 08:36:21 -05:00
2018-12-03 15:30:24 -06:00
2018-11-30 14:56:14 -08:00
2018-11-05 14:57:05 -05:00
2019-01-07 08:53:32 +01:00
2018-10-31 08:54:16 -07:00