summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log.h
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2021-01-23 01:48:21 +0100
committerDarrick J. Wong <djwong@kernel.org>2021-01-23 01:54:50 +0100
commit37444fc4cc398266fe0f71a9c0925620d44fb76a (patch)
treefb8953d4cecda5db719510523aff39f53f3cf541 /fs/xfs/xfs_log.h
parentxfs: sync lazy sb accounting on quiesce of read-only mounts (diff)
downloadlinux-37444fc4cc398266fe0f71a9c0925620d44fb76a.tar.xz
linux-37444fc4cc398266fe0f71a9c0925620d44fb76a.zip
xfs: lift writable fs check up into log worker task
The log covering helper checks whether the filesystem is writable to determine whether to cover the log. The helper is currently only called from the background log worker. In preparation to reuse the helper from freezing contexts, lift the check into xfs_log_worker(). Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Allison Henderson <allison.henderson@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_log.h')
0 files changed, 0 insertions, 0 deletions