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>
Fri, 21 Oct 2011 11:39:21 +0000 (12:39 +0100)
commit1d4ec642d9f00d4c531b1a4ae0613091ec1f8e9b
tree71b7c5944b21d87750802e70dcd69698f17b3e7d
parent75549186edf1515062fe2fcbfbd92bd99659afba
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