diff options
author | Christoph Hellwig <hch@lst.de> | 2023-12-13 10:06:31 +0100 |
---|---|---|
committer | Chandan Babu R <chandanbabu@kernel.org> | 2023-12-14 06:40:34 +0100 |
commit | 7f2f7531e0d455f1abb9f48fbbe17c37e8742590 (patch) | |
tree | c76c3ed3e6d50197c05b90d79071e2165ef7f628 /fs/xfs/xfs_rmap_item.c | |
parent | xfs: move xfs_attr_defer_type up in xfs_attr_item.c (diff) | |
download | linux-7f2f7531e0d455f1abb9f48fbbe17c37e8742590.tar.xz linux-7f2f7531e0d455f1abb9f48fbbe17c37e8742590.zip |
xfs: store an ops pointer in struct xfs_defer_pending
The dfp_type field in struct xfs_defer_pending is only used to either
look up the operations associated with the pending word or in trace
points. Replace it with a direct pointer to the operations vector,
and store a pretty name in the vector for tracing.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_rmap_item.c')
-rw-r--r-- | fs/xfs/xfs_rmap_item.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_rmap_item.c b/fs/xfs/xfs_rmap_item.c index 488c4a2a80a3..65b432eb5d02 100644 --- a/fs/xfs/xfs_rmap_item.c +++ b/fs/xfs/xfs_rmap_item.c @@ -576,6 +576,7 @@ xfs_rmap_relog_intent( } const struct xfs_defer_op_type xfs_rmap_update_defer_type = { + .name = "rmap", .max_items = XFS_RUI_MAX_FAST_EXTENTS, .create_intent = xfs_rmap_update_create_intent, .abort_intent = xfs_rmap_update_abort_intent, |