From e00481b11b159e25fd63cf4fc6a24377f04ddca8 Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Tue, 25 Oct 2016 15:14:33 -0700 Subject: [PATCH] xfs_io: support injecting the 'per-AG reservation critically low' error Signed-off-by: Darrick J. Wong Reviewed-by: Christoph Hellwig --- io/inject.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/io/inject.c b/io/inject.c index 56642b8ad..5d5e4aef3 100644 --- a/io/inject.c +++ b/io/inject.c @@ -84,7 +84,9 @@ error_tag(char *name) { 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 +#define XFS_ERRTAG_AG_RESV_CRITICAL 27 + { XFS_ERRTAG_AG_RESV_CRITICAL, "ag_resv_critical" }, +#define XFS_ERRTAG_MAX 28 { XFS_ERRTAG_MAX, NULL } }; int count; -- 2.47.2