Files
linux/fs/gfs2
Andreas Gruenbacher 55795dac8e gfs2: Fix metadata read-ahead during truncate (2)
commit e7445ceddf upstream.

The previous attempt to fix for metadata read-ahead during truncate was
incorrect: for files with a height > 2 (1006989312 bytes with a block
size of 4096 bytes), read-ahead requests were not being issued for some
of the indirect blocks discovered while walking the metadata tree,
leading to significant slow-downs when deleting large files.  Fix that.

In addition, only issue read-ahead requests in the first pass through
the meta-data tree, while deallocating data blocks.

Fixes: c3ce5aa9b0 ("gfs2: Fix metadata read-ahead during truncate")
Cc: stable@vger.kernel.org # v4.16+
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-11-21 09:19:24 +01:00
..
2016-05-12 22:28:05 -04:00
2018-07-02 16:27:17 +01:00
2018-06-04 07:56:51 -05:00
2016-06-27 09:47:09 -05:00
2018-07-25 00:08:59 +02:00
2016-06-27 09:47:08 -05:00
2008-06-27 09:39:44 +01:00
2018-06-12 16:19:22 -07:00
2018-02-01 11:25:31 -07:00
2018-06-21 07:39:44 -05:00
2018-01-23 07:38:53 -07:00
2018-06-12 16:19:22 -07:00
2018-03-08 09:26:20 -07:00
2018-11-21 09:19:24 +01:00
2017-04-19 08:25:43 -04:00
2018-07-25 00:06:24 +02:00
2012-01-11 09:23:05 +00:00
2018-07-05 17:47:16 +02:00
2018-06-21 07:39:44 -05:00
2018-06-21 07:39:44 -05:00
2018-08-03 13:20:02 +01:00
2015-12-06 21:25:17 -05:00