diff options
author | Darrick J. Wong <djwong@kernel.org> | 2023-05-02 09:14:43 +1000 |
---|---|---|
committer | Dave Chinner <dchinner@redhat.com> | 2023-05-02 09:14:43 +1000 |
commit | 397b2d7e0f3e28bbeaa05cf8e10d0fd601f446f4 (patch) | |
tree | 03dbe9a226b44e15330055ca927413678a79ec24 /block/blk-mq-debugfs.c | |
parent | 8e698ee72c4ecbbf18264568eb310875839fd601 (diff) |
xfs: flush dirty data and drain directios before scrubbing cow fork
When we're scrubbing the COW fork, we need to take MMAPLOCK_EXCL to
prevent page_mkwrite from modifying any inode state. The ILOCK should
suffice to avoid confusing online fsck, but let's take the same locks
that we do everywhere else.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'block/blk-mq-debugfs.c')
0 files changed, 0 insertions, 0 deletions