Josef Bacik
cdca85b092
btrfs: use find_first_extent_bit in btrfs_clean_io_failure
...
Currently we're using find_first_extent_bit_state to check if our state
contains the given failrec range, however this is more of an internal
extent_io_tree helper, and is technically unsafe to use because we're
accessing the state outside of the extent_io_tree lock.
Instead use the normal helper find_first_extent_bit which returns the
range of the extent state we find in find_first_extent_bit_state and use
that to do our sanity checking.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2022-09-26 12:28:02 +02:00
..
2022-09-26 12:27:58 +02:00
2022-05-16 17:03:08 +02:00
2022-05-16 17:03:15 +02:00
2022-07-25 17:45:36 +02:00
2022-09-26 12:28:01 +02:00
2022-09-26 12:28:01 +02:00
2022-09-26 12:28:00 +02:00
2022-09-26 12:27:58 +02:00
2022-09-26 12:28:02 +02:00
2022-09-26 12:28:02 +02:00
2022-09-26 12:28:02 +02:00
2022-07-14 12:14:32 -06:00
2022-05-16 17:03:12 +02:00
2022-09-26 12:28:02 +02:00
2022-08-03 14:54:52 -07:00
2022-08-17 16:19:12 +02:00
2022-09-26 12:28:01 +02:00
2022-07-25 17:45:41 +02:00
2020-07-27 12:55:36 +02:00
2022-09-26 12:27:57 +02:00
2022-09-26 12:27:57 +02:00
2022-07-25 17:45:40 +02:00
2022-05-16 17:17:31 +02:00
2022-09-26 12:27:58 +02:00
2021-02-09 02:46:07 +01:00
2022-05-16 17:03:07 +02:00
2021-06-22 14:11:57 +02:00
2020-12-08 15:54:02 +01:00
2022-09-26 12:28:01 +02:00
2022-09-26 12:28:00 +02:00
2020-12-08 15:54:02 +01:00
2020-03-23 17:01:42 +01:00
2022-09-26 12:28:02 +02:00
2022-09-26 12:28:02 +02:00
2022-03-14 13:13:50 +01:00
2022-02-23 17:43:13 +01:00
2022-09-26 12:28:02 +02:00
2022-09-26 12:28:01 +02:00
2022-09-26 12:27:54 +02:00
2022-09-26 12:28:01 +02:00
2022-09-26 12:27:58 +02:00
2022-09-26 12:27:58 +02:00
2022-09-26 12:27:58 +02:00
2019-11-18 17:51:51 +01:00
2022-01-07 14:18:25 +01:00
2022-01-07 14:18:24 +01:00
2022-09-26 12:28:02 +02:00
2022-07-25 17:45:41 +02:00
2022-01-20 08:52:55 +02:00
2022-08-17 16:19:12 +02:00
2022-08-17 16:19:12 +02:00
2022-07-25 17:45:33 +02:00
2022-03-13 17:30:31 +09:00
2022-09-26 12:28:02 +02:00
2022-09-26 12:27:53 +02:00
2022-07-25 17:45:37 +02:00
2022-03-14 13:13:53 +01:00
2021-01-07 17:25:05 +01:00
2022-09-26 12:28:00 +02:00
2022-05-16 17:03:08 +02:00
2022-09-26 12:28:02 +02:00
2022-09-26 12:28:01 +02:00
2022-09-26 12:27:59 +02:00
2022-09-26 12:27:59 +02:00
2020-03-23 17:01:53 +01:00
2022-01-03 15:09:49 +01:00
2019-04-29 19:02:49 +02:00
2022-07-25 17:45:39 +02:00
2020-03-23 17:01:54 +01:00
2022-08-17 16:19:12 +02:00
2022-09-26 12:27:58 +02:00
2022-09-26 12:27:59 +02:00
2022-09-26 12:27:57 +02:00
2022-09-26 12:27:55 +02:00
2022-09-26 12:28:02 +02:00
2022-09-26 12:27:59 +02:00
2022-07-25 17:45:33 +02:00
2022-07-25 17:45:37 +02:00
2022-05-16 17:03:11 +02:00
2022-09-26 12:28:00 +02:00
2022-09-26 12:28:01 +02:00
2020-10-07 12:12:21 +02:00
2022-09-26 12:28:02 +02:00
2022-03-14 13:13:52 +01:00
2022-08-17 16:20:25 +02:00
2022-05-16 17:03:09 +02:00
2022-01-03 15:09:48 +01:00
2022-09-26 12:27:57 +02:00
2022-09-26 12:27:57 +02:00
2021-04-20 19:27:17 +02:00
2021-04-19 17:25:17 +02:00
2022-01-03 15:09:43 +01:00
2022-09-26 12:27:55 +02:00
2022-09-26 12:27:59 +02:00
2022-09-26 12:27:59 +02:00
2022-08-22 18:06:30 +02:00
2019-04-29 19:02:44 +02:00
2022-07-25 17:45:41 +02:00
2022-09-26 12:28:02 +02:00
2022-07-25 17:45:42 +02:00
2022-07-25 17:45:40 +02:00