summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_trans.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_trans.h')
-rw-r--r--fs/xfs/xfs_trans.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/xfs/xfs_trans.h b/fs/xfs/xfs_trans.h
index 1ec37485592e..57565fb86f5a 100644
--- a/fs/xfs/xfs_trans.h
+++ b/fs/xfs/xfs_trans.h
@@ -157,6 +157,13 @@ typedef struct xfs_trans {
struct list_head t_busy; /* list of busy extents */
struct list_head t_dfops; /* deferred operations */
unsigned long t_pflags; /* saved process flags state */
+
+ /* Count of deferred ops attached to transaction. */
+ unsigned int t_dfops_nr;
+ /* Maximum t_dfops_nr seen in a loop. */
+ unsigned int t_dfops_nr_max;
+ /* Number of dfops finished. */
+ unsigned int t_dfops_finished;
} xfs_trans_t;
/*