From: Darrick J. Wong Date: Thu, 18 Aug 2016 23:29:55 +0000 (+1000) Subject: xfs_io: add free-extent error injection type X-Git-Tag: v4.8.0-rc1~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80afb9a40a1ed890f992bbee9d31c2249791da47;p=thirdparty%2Fxfsprogs-dev.git xfs_io: add free-extent error injection type Add XFS_ERRTAG_FREE_EXTENT to the types of errors we can inject. Signed-off-by: Darrick J. Wong Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- diff --git a/io/inject.c b/io/inject.c index 90ccda8c8..12e0fb393 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;