GFS2: Something nonlinear this way comes!
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 29 Apr 2009 12:59:35 +0000 (13:59 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 11 May 2009 11:36:44 +0000 (12:36 +0100)
commit48bf2b1711dc498494e77705c415ee46bb508fd9
tree55807e37d047a799ffa8ed5e0f675ff62ab38c79
parent4a0f9a321a113392b448e477018311d14fba2b34
GFS2: Something nonlinear this way comes!

For some reason GFS2 has been missing support for non-linear
mappings. This patch fixes that, and also avoids taking any
locks for mmap in the O_NOATIME case. In fact we don't actually need
to take the lock here at all - just doing file_accessed() would be
enough, but we have to take the lock eventually and this helps
it hit disk (and thus be seen by other nodes) faster.

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