| To: | david@xxxxxxxxxxxxx, darrick.wong@xxxxxxxxxx |
|---|---|
| Subject: | [PATCH 117/145] xfs_io: add refcount+bmap error injection types |
| From: | "Darrick J. Wong" <darrick.wong@xxxxxxxxxx> |
| Date: | Thu, 16 Jun 2016 18:43:03 -0700 |
| Cc: | xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <146612704434.16048.12932915166928562654.stgit@xxxxxxxxxxxxxxxx> |
| References: | <146612704434.16048.12932915166928562654.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 116/145] xfs_io: get and set the CoW extent size hint, Darrick J. Wong |
|---|---|
| Next by Date: | [PATCH 118/145] xfs_logprint: support cowextsize reporting in log contents, Darrick J. Wong |
| Previous by Thread: | [PATCH 116/145] xfs_io: get and set the CoW extent size hint, Darrick J. Wong |
| Next by Thread: | [PATCH 118/145] xfs_logprint: support cowextsize reporting in log contents, Darrick J. Wong |
| Indexes: | [Date] [Thread] [Top] [All Lists] |