Nikolay Borisov
929be17a9b
btrfs: Switch btrfs_trim_free_extents to find_first_clear_extent_bit
...
Instead of always calling the allocator to search for a free extent,
that satisfies the input criteria, switch btrfs_trim_free_extents to
using find_first_clear_extent_bit. With this change it's no longer
necessary to read the device tree in order to figure out holes in
the devices.
Now the code always searches in-memory data structure to figure out the
space range which contains the requested which should result in speed
improvements.
Signed-off-by: Nikolay Borisov <nborisov@suse.com >
Signed-off-by: David Sterba <dsterba@suse.com >
2019-04-29 19:02:38 +02:00
..
2019-04-29 19:02:32 +02:00
2019-02-25 14:13:17 +01:00
2019-02-25 14:13:24 +01:00
2018-04-12 16:29:46 +02:00
2019-04-29 19:02:28 +02:00
2018-04-12 16:29:46 +02:00
2019-04-29 19:02:29 +02:00
2018-12-17 14:51:50 +01:00
2018-04-12 16:29:46 +02:00
2019-04-29 19:02:24 +02:00
2019-02-25 14:13:32 +01:00
2019-04-29 19:02:31 +02:00
2019-04-29 19:02:37 +02:00
2018-04-12 16:29:46 +02:00
2019-04-29 19:02:30 +02:00
2018-10-15 17:23:33 +02:00
2019-02-25 14:13:39 +01:00
2019-02-25 14:13:39 +01:00
2019-04-29 19:02:36 +02:00
2018-12-17 14:51:45 +01:00
2018-10-15 17:23:25 +02:00
2019-04-29 19:02:37 +02:00
2019-04-29 19:02:31 +02:00
2018-10-15 17:23:25 +02:00
2018-04-12 16:29:46 +02:00
2019-04-29 19:02:38 +02:00
2019-04-29 19:02:38 +02:00
2019-04-29 19:02:38 +02:00
2019-02-25 14:13:21 +01:00
2019-04-29 19:02:38 +02:00
2019-04-29 19:02:30 +02:00
2019-04-29 19:02:30 +02:00
2019-04-29 19:02:37 +02:00
2018-04-12 16:29:46 +02:00
2019-04-29 19:02:30 +02:00
2018-05-28 18:07:36 +02:00
2018-04-12 16:29:51 +02:00
2018-08-06 13:12:43 +02:00
2018-04-12 16:29:46 +02:00
2019-04-29 19:02:32 +02:00
2019-04-29 19:02:29 +02:00
2018-04-12 16:29:55 +02:00
2019-04-29 19:02:21 +02:00
2019-02-25 14:13:28 +01:00
2019-02-25 14:13:32 +01:00
2018-03-26 15:09:39 +02:00
2018-04-12 16:29:46 +02:00
2019-04-25 14:17:38 +02:00
2018-12-17 14:51:43 +01:00
2018-04-12 16:29:51 +02:00
2019-04-29 19:02:30 +02:00
2018-04-20 19:18:16 +02:00
2019-04-29 19:02:35 +02:00
2019-04-29 19:02:19 +02:00
2019-04-29 19:02:30 +02:00
2019-02-25 14:13:39 +01:00
2019-03-26 10:32:13 -07:00
2018-04-12 16:29:46 +02:00
2018-04-12 16:29:46 +02:00
2018-12-17 14:51:45 +01:00
2019-02-25 14:13:27 +01:00
2018-04-12 16:29:46 +02:00
2019-04-29 19:02:24 +02:00
2019-04-29 19:02:17 +02:00
2019-04-29 19:02:17 +02:00
2019-04-29 19:02:35 +02:00
2018-04-12 16:29:46 +02:00
2018-08-06 13:12:43 +02:00
2019-04-29 19:02:35 +02:00
2018-12-17 14:51:37 +01:00
2018-12-17 14:51:43 +01:00
2019-04-29 19:02:37 +02:00
2019-04-29 19:02:37 +02:00
2019-04-29 19:02:35 +02:00
2019-04-29 19:02:31 +02:00
2019-02-25 14:13:27 +01:00
2019-04-29 19:02:30 +02:00
2018-12-17 14:51:31 +01:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:46 +02:00
2019-04-29 19:02:19 +02:00
2019-04-29 19:02:37 +02:00
2019-04-29 19:02:37 +02:00
2019-04-29 19:02:30 +02:00
2018-04-12 16:29:46 +02:00
2019-02-25 14:13:32 +01:00
2019-04-29 19:02:18 +02:00