From 087d0535dfb6484247c073122db567eddba0f5ff Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Wed, 1 Sep 2021 10:59:05 -0700 Subject: xfs: create a blob array data structure Create a simple 'blob array' data structure for storage of arbitrarily sized metadata objects that will be used to reconstruct metadata. For the intended usage (temporarily storing extended attribute names and values) we only have to support storing objects and retrieving them. Use the xfile abstraction to store the attribute information in memory that can be swapped out. Signed-off-by: Darrick J. Wong --- fs/xfs/scrub/trace.h | 1 + 1 file changed, 1 insertion(+) (limited to 'fs/xfs/scrub/trace.h') diff --git a/fs/xfs/scrub/trace.h b/fs/xfs/scrub/trace.h index b94c209e4bfc..fe6a4c6776eb 100644 --- a/fs/xfs/scrub/trace.h +++ b/fs/xfs/scrub/trace.h @@ -802,6 +802,7 @@ DEFINE_EVENT(xfile_class, name, \ DEFINE_XFILE_EVENT(xfile_pread); DEFINE_XFILE_EVENT(xfile_pwrite); DEFINE_XFILE_EVENT(xfile_seek_data); +DEFINE_XFILE_EVENT(xfile_discard); TRACE_EVENT(xfarray_sort_stats, TP_PROTO(struct xfarray *xfa, unsigned int max_stack_depth, -- cgit v1.2.3