| To: | david@xxxxxxxxxxxxx, darrick.wong@xxxxxxxxxx |
|---|---|
| Subject: | [PATCH 02/58] xfs: fix log ticket type printing |
| From: | "Darrick J. Wong" <darrick.wong@xxxxxxxxxx> |
| Date: | Tue, 06 Oct 2015 21:54:57 -0700 |
| Cc: | linux-fsdevel@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <20151007045443.30457.47038.stgit@xxxxxxxxxxxxxxxx> |
| References: | <20151007045443.30457.47038.stgit@xxxxxxxxxxxxxxxx> |
| User-agent: | StGit/0.17.1-dirty |
Update the log ticket reservation type printing code to reflect
all the types of log tickets, to avoid incorrect debug output and
avoid running off the end of the array.
Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
---
fs/xfs/xfs_log.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c
index aaadee0..75734af 100644
--- a/fs/xfs/xfs_log.c
+++ b/fs/xfs/xfs_log.c
@@ -2045,12 +2045,14 @@ xlog_print_tic_res(
"QM_DQCLUSTER",
"QM_QINOCREATE",
"QM_QUOTAOFF_END",
- "SB_UNIT",
"FSYNC_TS",
"GROWFSRT_ALLOC",
"GROWFSRT_ZERO",
"GROWFSRT_FREE",
- "SWAPEXT"
+ "SWAPEXT",
+ "CHECKPOINT",
+ "ICREATE",
+ "CREATE_TMPFILE"
};
xfs_warn(mp, "xlog_write: reservation summary:");
|
| Previous by Date: | [PATCH 01/58] libxfs: make xfs_alloc_fix_freelist non-static, Darrick J. Wong |
|---|---|
| Next by Date: | [PATCH 03/58] xfs: introduce rmap btree definitions, Darrick J. Wong |
| Previous by Thread: | [PATCH 01/58] libxfs: make xfs_alloc_fix_freelist non-static, Darrick J. Wong |
| Next by Thread: | [PATCH 03/58] xfs: introduce rmap btree definitions, Darrick J. Wong |
| Indexes: | [Date] [Thread] [Top] [All Lists] |