Files
kernel/include/linux
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
..
2018-12-11 09:57:47 -08:00
2019-01-25 15:32:28 -08:00
2019-01-21 11:15:36 +01:00
2018-11-26 18:41:21 -05:00
2019-01-24 11:11:45 -07:00
2018-12-18 17:50:47 +01:00
2019-02-09 15:42:07 -07:00
2018-12-03 17:40:18 +01:00
2018-12-19 10:42:08 +01:00
2018-12-28 16:55:46 -08:00
2018-12-28 12:11:52 -08:00
2018-12-07 12:59:08 -08:00
2018-11-19 19:03:46 -07:00
2018-12-06 13:57:03 +01:00
2018-11-30 13:29:04 +00:00
2019-01-04 13:13:48 -08:00
2019-01-04 13:13:48 -08:00
2018-12-13 09:58:57 +01:00
2018-12-06 15:45:46 +01:00
2018-12-03 17:11:02 -08:00
2019-01-07 16:38:26 +01:00
2018-12-21 11:50:02 -05:00
2018-12-06 17:22:53 +01:00
2019-01-18 14:05:14 -08:00
2018-12-10 10:17:45 +01:00
2019-01-11 18:05:40 -08:00
2018-12-22 12:15:29 +01:00