GFS2: speed up delete/unlink performance for large files
authorBob Peterson <rpeterso@redhat.com>
Thu, 15 Sep 2011 13:59:56 +0000 (09:59 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 21 Oct 2011 11:39:47 +0000 (12:39 +0100)
This patch improves the performance of delete/unlink
operations in a GFS2 file system where the files are large
by adding a layer of metadata read-ahead for indirect blocks.
Mileage will vary, but on my system, deleting an 8.6G file
dropped from 22 seconds to about 4.5 seconds.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/bmap.c

diff --cc fs/gfs2/bmap.c
Simple merge