| To: | david@xxxxxxxxxxxxx, darrick.wong@xxxxxxxxxx |
|---|---|
| Subject: | [PATCH 027/145] xfs_io: add free-extent error injection type |
| From: | "Darrick J. Wong" <darrick.wong@xxxxxxxxxx> |
| Date: | Thu, 16 Jun 2016 18:33:33 -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 XFS_ERRTAG_FREE_EXTENT to the types of errors we can inject.
Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
---
io/inject.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/io/inject.c b/io/inject.c
index 90ccda8..12e0fb3 100644
--- a/io/inject.c
+++ b/io/inject.c
@@ -74,7 +74,9 @@ error_tag(char *name)
{ XFS_ERRTAG_DIOWRITE_IOERR, "diowrite" },
#define XFS_ERRTAG_BMAPIFORMAT 21
{ XFS_ERRTAG_BMAPIFORMAT, "bmapifmt" },
-#define XFS_ERRTAG_MAX 22
+#define XFS_ERRTAG_FREE_EXTENT 22
+ { XFS_ERRTAG_FREE_EXTENT, "free_extent" },
+#define XFS_ERRTAG_MAX 23
{ XFS_ERRTAG_MAX, NULL }
};
int count;
|
| Previous by Date: | [PATCH 026/145] xfs: add tracepoints and error injection for deferred extent freeing, Darrick J. Wong |
|---|---|
| Next by Date: | [PATCH 028/145] xfs: introduce rmap btree definitions, Darrick J. Wong |
| Previous by Thread: | [PATCH 026/145] xfs: add tracepoints and error injection for deferred extent freeing, Darrick J. Wong |
| Next by Thread: | [PATCH 028/145] xfs: introduce rmap btree definitions, Darrick J. Wong |
| Indexes: | [Date] [Thread] [Top] [All Lists] |