diff options
author | Dave Chinner <dchinner@redhat.com> | 2022-07-07 10:51:59 +0200 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2022-07-07 10:51:59 +0200 |
commit | 1dd2a2c18e314ad89200f8296c86dd4ecd53dea6 (patch) | |
tree | 682de80e2ab7e4ce98095fe1aaa6400135ec4815 /fs/xfs/xfs_log_priv.h | |
parent | xfs: implement percpu cil space used calculation (diff) | |
download | linux-1dd2a2c18e314ad89200f8296c86dd4ecd53dea6.tar.xz linux-1dd2a2c18e314ad89200f8296c86dd4ecd53dea6.zip |
xfs: track CIL ticket reservation in percpu structure
To get it out from under the cil spinlock.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-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 f4c13704ef8c..05a5668d8789 100644 --- a/fs/xfs/xfs_log_priv.h +++ b/fs/xfs/xfs_log_priv.h @@ -236,6 +236,7 @@ struct xfs_cil_ctx { */ struct xlog_cil_pcp { int32_t space_used; + uint32_t space_reserved; struct list_head busy_extents; struct list_head log_items; }; |