summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_log.h
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2021-01-23 03:48:21 +0300
committerDarrick J. Wong <djwong@kernel.org>2021-01-23 03:54:50 +0300
commit37444fc4cc398266fe0f71a9c0925620d44fb76a (patch)
treefb8953d4cecda5db719510523aff39f53f3cf541 /fs/xfs/xfs_log.h
parent50d25484bebe94320c49dd1347d3330c7063bbdb (diff)
downloadlinux-37444fc4cc398266fe0f71a9c0925620d44fb76a.tar.xz
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