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