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-09 13:21:02 -08:00
2019-01-07 22:47:48 +01:00
2019-01-01 15:45:48 -08:00
2018-12-28 20:54:57 -08:00
2018-12-28 20:00:21 -08:00
2019-01-15 06:24:36 +12:00
2018-12-28 16:52:18 -08:00
2018-12-28 20:54:57 -08:00
2019-01-12 21:07:14 -08:00
2019-01-02 18:56:59 -08:00
2018-12-28 20:22:45 -08:00
2019-01-25 15:32:28 -08:00
2019-01-21 11:15:36 +01:00
2018-12-28 16:52:18 -08:00
2019-01-02 16:35:23 -08:00
2019-01-22 14:39:38 -07:00
2019-01-05 13:18:59 -08:00
2019-02-15 08:40:10 -07:00
2019-01-24 11:11:45 -07:00
2019-02-09 15:42:07 -07:00
2019-01-05 21:32:38 -08:00
2019-01-11 18:05:41 -08:00
2019-01-04 13:13:45 -08:00
2019-01-09 11:36:41 +01:00
2019-01-21 07:23:42 +13:00
2019-01-09 11:36:41 +01:00
2019-01-09 11:36:41 +01:00
2019-01-04 09:02:17 +01:00
2019-01-08 07:58:49 -05:00
2019-01-06 09:46:51 +09:00
2019-01-02 09:43:14 -08:00
2019-01-16 17:42:35 +01:00
2019-01-02 16:01:24 -08:00
2018-12-28 16:55:46 -08:00
2018-12-31 11:46:59 -08:00
2019-01-04 13:13:46 -08:00
2019-01-16 14:29:48 +01:00
2019-01-09 14:20:47 -05:00
2019-01-24 22:45:34 -08:00
2019-01-18 00:18:45 +01:00
2019-01-06 09:46:51 +09:00
2019-01-06 09:46:51 +09:00
2019-01-04 13:13:47 -08:00
2018-12-30 08:33:06 +00:00
2019-01-21 09:57:43 -08:00
2019-01-04 13:13:48 -08:00
2019-01-04 13:13:48 -08:00
2019-01-08 17:15:11 -08:00
2019-01-09 10:35:56 +01:00
2019-01-06 09:46:51 +09:00
2019-01-06 09:46:51 +09:00
2019-01-10 16:24:44 -06:00
2019-01-05 17:57:34 -08:00
2019-01-08 07:58:37 -05:00
2019-01-05 17:57:34 -08:00
2019-01-19 10:03:08 -08:00
2019-01-04 12:19:40 +01:00
2019-01-04 13:13:46 -08:00
2019-01-01 11:58:33 -08:00
2019-01-10 17:04:45 -06:00
2019-01-03 18:57:57 -08:00
2019-01-07 16:38:26 +01:00
2019-01-16 05:13:36 +12:00
2019-01-18 14:05:14 -08:00
2018-12-29 11:21:49 -08:00
2019-01-02 09:48:13 -08:00
2019-01-04 12:56:09 -08:00
2019-01-11 18:05:40 -08:00
2019-01-14 20:15:17 -05:00
2019-01-17 07:19:42 -05:00