Home
last modified time | relevance | path

Searched hist:"1 fc7a059" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/fs/xfs/scrub/
H A Dinode.c1fc7a059 Tue Apr 11 21:00:22 CDT 2023 Darrick J. Wong <djwong@kernel.org> 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: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
H A Dcommon.c1fc7a059 Tue Apr 11 21:00:22 CDT 2023 Darrick J. Wong <djwong@kernel.org> 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: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>

H A Dbmap.c1fc7a059 Tue Apr 11 21:00:22 CDT 2023 Darrick J. Wong <djwong@kernel.org> 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: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>