summaryrefslogtreecommitdiff
path: root/fs/gfs2/quota.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2011-02-02 14:48:10 (GMT)
committerSteven Whitehouse <swhiteho@redhat.com>2011-02-02 14:48:10 (GMT)
commitb9c93bb7deadc7cdd00415edc6b38d67a26c1c7a (patch)
treeb490fba351eefdb9ef4feeb9925fae75045fac51 /fs/gfs2/quota.c
parentedae38a6431276c50d4b51543c36de258722358e (diff)
downloadlinux-b9c93bb7deadc7cdd00415edc6b38d67a26c1c7a.tar.xz
GFS2: Improve cluster mmap scalability
The mmap system call grabs a glock when an update to atime maybe required. It does this in order to ensure that the flags on the inode are uptodate, but since it will only mark atime for a future update, an exclusive lock is not required here (one will be taken later when the actual update is performed). Also, the lock can be skipped when the mount is marked noatime in addition to the original check which only looked at the noatime flag for the inode itself. This should increase the scalability of the mmap call when multiple nodes are all mmaping the same file. Reported-by: Scooter Morris <scooter@cgl.ucsf.edu> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/quota.c')
0 files changed, 0 insertions, 0 deletions