diff options
author | Dave Chinner <dchinner@redhat.com> | 2021-08-11 04:00:45 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-08-16 22:09:30 +0300 |
commit | 33c0dd7898a11ef19169abe5c5049fa6aa099c64 (patch) | |
tree | 02f5caf8e17641a8c416f56df5190c281bd5af02 /fs/xfs/xfs_log_priv.h | |
parent | 39823d0fac9416cb89c252d78e262ee8cd76a7d8 (diff) | |
download | linux-33c0dd7898a11ef19169abe5c5049fa6aa099c64.tar.xz |
xfs: move the CIL workqueue to the CIL
We only use the CIL workqueue in the CIL, so it makes no sense to
hang it off the xfs_mount and have to walk multiple pointers back up
to the mount when we have the CIL structures right there.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_log_priv.h')
-rw-r--r-- | fs/xfs/xfs_log_priv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_log_priv.h b/fs/xfs/xfs_log_priv.h index 5aaaf5f0b35c..844fbeec3545 100644 --- a/fs/xfs/xfs_log_priv.h +++ b/fs/xfs/xfs_log_priv.h @@ -272,6 +272,7 @@ struct xfs_cil { struct xlog *xc_log; struct list_head xc_cil; spinlock_t xc_cil_lock; + struct workqueue_struct *xc_push_wq; struct rw_semaphore xc_ctx_lock ____cacheline_aligned_in_smp; struct xfs_cil_ctx *xc_ctx; |