]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Thu, 27 Oct 2011 08:08:15 +0000 (09:08 +0100)
commit187680994129ac3eb26e26ae803c7608b52decb1
tree53b039027df48cefe2549d1a0abb960681729cb1
parentf7b2cd9e0eef9e9c70c60fb32a9d5c250fb31924
GFS2: speed up delete/unlink performance for large files

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