Andreas Gruenbacher c3ce5aa9b0 gfs2: Fix metadata read-ahead during truncate
The metadata read-ahead algorithm broke when switching from recursive to
non-recursive delete: the current algorithm reads ahead blocks at height
N - 1 while deallocating the blocks at hight N.  However, deallocating
the blocks at height N requires a complete walk of the metadata tree,
not only down to height N - 1.  Consequently, all blocks below height
N - 1 will be accessed without read-ahead.

Fix this by issuing read-aheads as early as possible, after each
metapath lookup.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
2018-01-17 06:35:50 -07:00
..
2016-05-12 22:28:05 -04:00
2017-10-31 14:26:33 +01:00
2016-06-27 09:47:09 -05:00
2016-06-27 09:47:08 -05:00
2008-06-27 09:39:44 +01:00
2017-09-25 12:32:33 -05:00
2017-08-25 18:47:18 -05:00
2014-05-14 10:04:34 +01:00
2016-06-07 13:41:38 -06:00
2017-04-19 08:25:43 -04:00
2012-01-11 09:23:05 +00:00
2018-01-17 06:35:35 -07:00
2017-08-25 18:47:18 -05:00
2015-12-06 21:25:17 -05:00