Josef Bacik
4f4db2174d
Btrfs: keep track of max_extent_size per space_info
...
When we are heavily fragmented we can induce a lot of latency trying to make an
allocation happen that is simply not going to happen. Thankfully we keep track
of our max_extent_size when going through the allocator, so if we get to the
point where we are exiting find_free_extent with ENOSPC then set our
space_info->max_extent_size so we can keep future allocations from having to pay
this cost. We reset the max_extent_size whenever we release pinned bytes back
into this space info so we can redo all the work. Thanks,
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
2015-10-21 18:55:19 -07:00
..
2015-10-21 18:51:43 -07:00
2014-06-09 17:20:42 -07:00
2015-08-31 11:46:40 -07:00
2015-08-31 11:46:40 -07:00
2015-10-21 18:51:41 -07:00
2015-01-14 19:23:47 +01:00
2015-09-21 13:47:55 -07:00
2015-10-21 18:21:40 -07:00
2013-11-24 16:33:41 -07:00
2015-10-21 18:21:40 -07:00
2015-02-16 18:48:44 +01:00
2015-10-21 18:21:40 -07:00
2015-10-21 18:55:19 -07:00
2015-10-10 18:42:00 +02:00
2014-01-28 13:20:09 -08:00
2015-06-24 12:28:03 -07:00
2015-06-10 09:26:23 -07:00
2015-10-12 16:24:40 -07:00
2012-12-12 17:15:41 -05:00
2014-11-20 17:20:07 -08:00
2015-10-21 18:51:40 -07:00
2015-10-01 17:29:38 +02:00
2015-10-06 06:55:23 -07:00
2015-10-14 04:37:00 +01:00
2015-02-16 18:48:44 +01:00
2014-11-21 11:59:54 -08:00
2014-06-19 14:20:55 -07:00
2015-10-21 18:55:19 -07:00
2015-06-10 09:25:49 -07:00
2015-03-25 10:52:48 -07:00
2015-10-21 18:28:48 +02:00
2015-10-21 18:51:43 -07:00
2015-04-10 14:07:22 -07:00
2014-10-14 10:51:22 +02:00
2014-01-28 13:20:31 -08:00
2015-09-29 16:30:00 +02:00
2015-06-30 14:36:46 -07:00
2015-10-21 18:51:44 -07:00
2015-10-21 18:23:59 -07:00
2015-01-06 11:04:29 -08:00
2015-10-10 18:42:00 +02:00
2014-11-19 10:34:35 -08:00
2015-02-16 18:48:44 +01:00
2014-06-09 17:20:49 -07:00
2015-03-03 17:23:57 +01:00
2015-10-21 18:51:40 -07:00
2015-10-21 18:51:40 -07:00
2014-09-17 13:37:12 -07:00
2014-10-02 17:14:50 +02:00
2013-05-06 15:55:23 -04:00
2015-10-21 18:28:48 +02:00
2014-01-28 13:20:24 -08:00
2015-09-01 18:46:42 -07:00
2015-06-10 09:26:11 -07:00
2015-10-10 18:35:10 +02:00
2015-08-09 07:34:26 -07:00
2012-06-14 21:29:16 -04:00
2015-10-21 18:29:50 +02:00
2015-09-29 16:30:00 +02:00
2015-10-21 18:21:40 -07:00
2015-10-08 13:04:06 +02:00
2015-10-13 20:04:10 +01:00
2013-05-06 15:55:23 -04:00
2012-07-23 16:28:06 -04:00
2015-10-21 18:51:43 -07:00
2015-09-29 16:29:59 +02:00
2015-09-29 16:29:59 +02:00
2015-10-21 18:51:45 -07:00
2015-10-21 18:51:45 -07:00
2015-08-31 11:46:41 -07:00
2015-10-12 16:24:40 -07:00
2015-03-26 17:56:23 -07:00
2015-06-10 09:26:17 -07:00
2015-06-10 09:26:17 -07:00
2014-09-17 13:38:02 -07:00
2015-10-21 18:51:45 -07:00
2015-10-21 18:21:40 -07:00
2015-04-26 17:22:07 -07:00
2014-01-25 23:58:18 -05:00
2015-02-16 18:48:44 +01:00