commit | 48bf2b1711dc498494e77705c415ee46bb508fd9 | [log] [tgz] |
---|---|---|
author | Steven Whitehouse <swhiteho@redhat.com> | Wed Apr 29 13:59:35 2009 +0100 |
committer | Steven Whitehouse <swhiteho@redhat.com> | Mon May 11 12:36:44 2009 +0100 |
tree | 55807e37d047a799ffa8ed5e0f675ff62ab38c79 | |
parent | 4a0f9a321a113392b448e477018311d14fba2b34 [diff] |
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>