diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2018-11-08 21:14:29 +0100 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2018-11-09 11:55:33 +0100 |
commit | e7445ceddfc220c1aede6d42758a5acb8844e9c3 (patch) | |
tree | 5b082cfed3a0f01b2b5d0606fd47630715956482 /kernel/softirq.c | |
parent | gfs2: Put bitmap buffers in put_super (diff) | |
download | linux-e7445ceddfc220c1aede6d42758a5acb8844e9c3.tar.xz linux-e7445ceddfc220c1aede6d42758a5acb8844e9c3.zip |
gfs2: Fix metadata read-ahead during truncate (2)
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>
Diffstat (limited to 'kernel/softirq.c')
0 files changed, 0 insertions, 0 deletions