]> git.karo-electronics.de Git - karo-tx-linux.git/commit
GFS2: Make atime checks more efficient
authorSteven Whitehouse <swhiteho@redhat.com>
Tue, 2 Aug 2011 12:13:20 +0000 (13:13 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 2 Aug 2011 12:13:20 +0000 (13:13 +0100)
commit1070b0852a6c6bd9080bf9d1440d1dc0abc17aa3
treec7507b4246638ee9f12b4ed14b523cc5fc795396
parent1c1de7234edb8f7e1bb7fe3d2007e3cb0a23a6c3
GFS2: Make atime checks more efficient

We do not need to start a transaction unless the atime
check has proved positive. Also if we are going to flush
the complete ail list anyway, we might as well skip the
writeback for this specific inode's metadata, since that
will be done as part of the ail writeback process in an
order offering potentially more efficient I/O.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/super.c