| To: | david@xxxxxxxxxxxxx, darrick.wong@xxxxxxxxxx |
|---|---|
| Subject: | [PATCH 53/71] xfs_io: add refcount+bmap error injection types |
| From: | "Darrick J. Wong" <darrick.wong@xxxxxxxxxx> |
| Date: | Thu, 25 Aug 2016 16:52:16 -0700 |
| Cc: | linux-xfs@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <147216879156.4420.2446767701729565218.stgit@xxxxxxxxxxxxxxxx> |
| References: | <147216879156.4420.2446767701729565218.stgit@xxxxxxxxxxxxxxxx> |
| User-agent: | StGit/0.17.1-dirty |
Add refcount and bmap deferred finish to the types of errors we can
inject.
Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
---
io/inject.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/io/inject.c b/io/inject.c
index 16ac925..56642b8 100644
--- a/io/inject.c
+++ b/io/inject.c
@@ -78,7 +78,13 @@ error_tag(char *name)
{ XFS_ERRTAG_FREE_EXTENT, "free_extent" },
#define XFS_ERRTAG_RMAP_FINISH_ONE 23
{ XFS_ERRTAG_RMAP_FINISH_ONE, "rmap_finish_one" },
-#define XFS_ERRTAG_MAX 24
+#define XFS_ERRTAG_REFCOUNT_CONTINUE_UPDATE 24
+ { XFS_ERRTAG_REFCOUNT_CONTINUE_UPDATE,
"refcount_continue_update" },
+#define XFS_ERRTAG_REFCOUNT_FINISH_ONE 25
+ { XFS_ERRTAG_REFCOUNT_FINISH_ONE, "refcount_finish_one" },
+#define XFS_ERRTAG_BMAP_FINISH_ONE 26
+ { XFS_ERRTAG_BMAP_FINISH_ONE, "bmap_finish_one" },
+#define XFS_ERRTAG_MAX 27
{ XFS_ERRTAG_MAX, NULL }
};
int count;
|
| Previous by Date: | [PATCH 52/71] xfs_io: get and set the CoW extent size hint, Darrick J. Wong |
|---|---|
| Next by Date: | [PATCH 54/71] xfs_logprint: support cowextsize reporting in log contents, Darrick J. Wong |
| Previous by Thread: | [PATCH 52/71] xfs_io: get and set the CoW extent size hint, Darrick J. Wong |
| Next by Thread: | [PATCH 54/71] xfs_logprint: support cowextsize reporting in log contents, Darrick J. Wong |
| Indexes: | [Date] [Thread] [Top] [All Lists] |