summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2015-02-23 21:44:19 +1100
committerBen Hutchings <ben@decadent.org.uk>2016-06-15 21:29:33 +0100
commitb248005489f8007dcd65a8159a03ed471f8eccd7 (patch)
treeb95bce6698c0c2446740b2950bbcc5222235e7f5 /include/linux
parente34915e9a957d6e33a5b4df04d5131c1c0622acb (diff)
xfs: use i_mmaplock on read faults
commit de0e8c20ba3a65b0f15040aabbefdc1999876e6b upstream. Take the i_mmaplock over read page faults. These come through the ->fault callout, so we need to wrap the generic implementation with the i_mmaplock. While there, add tracepoints for the read fault as it passes through XFS. This gives us a lock order of mmap_sem -> i_mmaplock -> page_lock -> i_lock. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Cc: Jan Kara <jack@suse.cz> Cc: xfs@oss.sgi.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions