summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_log_priv.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2022-07-07 11:51:59 +0300
committerDave Chinner <david@fromorbit.com>2022-07-07 11:51:59 +0300
commit1dd2a2c18e314ad89200f8296c86dd4ecd53dea6 (patch)
tree682de80e2ab7e4ce98095fe1aaa6400135ec4815 /fs/xfs/xfs_log_priv.h
parent7c8ade212120085439eddc4cfddfa29d41c3f426 (diff)
downloadlinux-1dd2a2c18e314ad89200f8296c86dd4ecd53dea6.tar.xz
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.h1
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;
};