diff options
author | Dave Chinner <dchinner@redhat.com> | 2022-03-17 17:09:12 +0100 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-03-20 16:59:49 +0100 |
commit | 8eda87211097195d96d7d12be37dd39d6a7c8b80 (patch) | |
tree | d8c4e310c06743eae576cc5cd1f89baee7332257 /fs/xfs/xfs_trans.c | |
parent | xfs: log items should have a xlog pointer, not a mount (diff) | |
download | linux-8eda87211097195d96d7d12be37dd39d6a7c8b80.tar.xz linux-8eda87211097195d96d7d12be37dd39d6a7c8b80.zip |
xfs: AIL should be log centric
The AIL operates purely on log items, so it is a log centric
subsystem. Divorce it from the xfs_mount and instead have it pass
around xlog pointers.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Chandan Babu R <chandan.babu@oracle.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_trans.c')
-rw-r--r-- | fs/xfs/xfs_trans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_trans.c b/fs/xfs/xfs_trans.c index 50f22c34716a..917a69f0a6ff 100644 --- a/fs/xfs/xfs_trans.c +++ b/fs/xfs/xfs_trans.c @@ -775,7 +775,7 @@ xfs_trans_committed_bulk( * object into the AIL as we are in a shutdown situation. */ if (aborted) { - ASSERT(xfs_is_shutdown(ailp->ail_mount)); + ASSERT(xlog_is_shutdown(ailp->ail_log)); if (lip->li_ops->iop_unpin) lip->li_ops->iop_unpin(lip, 1); continue; |