diff options
author | Christoph Hellwig <hch@infradead.org> | 2012-02-19 21:31:25 -0500 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2012-02-22 23:19:53 -0500 |
commit | 28496968a6ac37c8b8c44b5156e633c581bb8378 (patch) | |
tree | 4e0c38612e2718e87219e00b7a3152d53393d145 /fs/xfs/xfs_trace.h | |
parent | 14a7235fba4302a82d61150eda92ec90d3ae9cfb (diff) |
xfs: add the xlog_grant_head structure
Add a new data structure to allow sharing code between the log grant and
regrant code.
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_trace.h')
-rw-r--r-- | fs/xfs/xfs_trace.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/xfs_trace.h b/fs/xfs/xfs_trace.h index bb134a819930..a80e30854fce 100644 --- a/fs/xfs/xfs_trace.h +++ b/fs/xfs/xfs_trace.h | |||
@@ -782,12 +782,12 @@ DECLARE_EVENT_CLASS(xfs_loggrant_class, | |||
782 | __entry->curr_res = tic->t_curr_res; | 782 | __entry->curr_res = tic->t_curr_res; |
783 | __entry->unit_res = tic->t_unit_res; | 783 | __entry->unit_res = tic->t_unit_res; |
784 | __entry->flags = tic->t_flags; | 784 | __entry->flags = tic->t_flags; |
785 | __entry->reserveq = list_empty(&log->l_reserveq); | 785 | __entry->reserveq = list_empty(&log->l_reserve_head.waiters); |
786 | __entry->writeq = list_empty(&log->l_writeq); | 786 | __entry->writeq = list_empty(&log->l_write_head.waiters); |
787 | xlog_crack_grant_head(&log->l_grant_reserve_head, | 787 | xlog_crack_grant_head(&log->l_reserve_head.grant, |
788 | &__entry->grant_reserve_cycle, | 788 | &__entry->grant_reserve_cycle, |
789 | &__entry->grant_reserve_bytes); | 789 | &__entry->grant_reserve_bytes); |
790 | xlog_crack_grant_head(&log->l_grant_write_head, | 790 | xlog_crack_grant_head(&log->l_write_head.grant, |
791 | &__entry->grant_write_cycle, | 791 | &__entry->grant_write_cycle, |
792 | &__entry->grant_write_bytes); | 792 | &__entry->grant_write_bytes); |
793 | __entry->curr_cycle = log->l_curr_cycle; | 793 | __entry->curr_cycle = log->l_curr_cycle; |