]> 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>
Thu, 27 Oct 2011 08:07:59 +0000 (09:07 +0100)
commit7438eb2ba3f306421f7a81642d7f6ae1c4901438
treea28ed75105ca1b680961faa912fd99dbe845879b
parentc4842ae7492546f1ab9a144be4e6f9599da621c6
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