]> git.baikalelectronics.ru Git - kernel.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>
Fri, 21 Oct 2011 11:39:47 +0000 (12:39 +0100)
commita38d723b2fec13eb1f8340758617c0021d9479d9
tree3014bf500f6fc1aa90989d5ae956d1c45ff478d2
parent24ef2921b69eb29e4e9ca1fba63e90cb8a3f1a65
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