Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 1fc7a059 authored by Darrick J. Wong's avatar Darrick J. Wong
Browse files

xfs: don't take the MMAPLOCK when scrubbing file metadata


The MMAPLOCK stabilizes mappings in a file's pagecache.  Therefore, we
do not need it to check directories, symlinks, extended attributes, or
file-based metadata.  Reduce its usage to the one case that requires it,
which is when we want to scrub the data fork of a regular file.

Signed-off-by: default avatarDarrick J. Wong <djwong@kernel.org>
Reviewed-by: default avatarDave Chinner <dchinner@redhat.com>
parent 38bb1310
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment