Message ID | 150905611328.28563.9043969796286227381.stgit@magnolia (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
On 10/26/17 5:15 PM, Darrick J. Wong wrote: > From: Darrick J. Wong <darrick.wong@oracle.com> > > Bring xfs_io's inject command up to date with the newest knobs. > > Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Ok, but should we get this into shared libxfs files eventually? Reviewed-by: Eric Sandeen <sandeen@redhat.com> > --- > io/inject.c | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > > diff --git a/io/inject.c b/io/inject.c > index 25c7021..964ebfe 100644 > --- a/io/inject.c > +++ b/io/inject.c > @@ -86,7 +86,13 @@ error_tag(char *name) > { XFS_ERRTAG_BMAP_FINISH_ONE, "bmap_finish_one" }, > #define XFS_ERRTAG_AG_RESV_CRITICAL 27 > { XFS_ERRTAG_AG_RESV_CRITICAL, "ag_resv_critical" }, > -#define XFS_ERRTAG_MAX 28 > +#define XFS_ERRTAG_DROP_WRITES 28 > + { XFS_ERRTAG_DROP_WRITES, "drop_writes" }, > +#define XFS_ERRTAG_LOG_BAD_CRC 29 > + { XFS_ERRTAG_LOG_BAD_CRC, "log_bad_crc" }, > +#define XFS_ERRTAG_LOG_ITEM_PIN 30 > + { XFS_ERRTAG_LOG_ITEM_PIN, "log_item_pin" }, > +#define XFS_ERRTAG_MAX 31 > { XFS_ERRTAG_MAX, NULL } > }; > int count; > > -- > To unsubscribe from this list: send the line "unsubscribe linux-xfs" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/io/inject.c b/io/inject.c index 25c7021..964ebfe 100644 --- a/io/inject.c +++ b/io/inject.c @@ -86,7 +86,13 @@ error_tag(char *name) { XFS_ERRTAG_BMAP_FINISH_ONE, "bmap_finish_one" }, #define XFS_ERRTAG_AG_RESV_CRITICAL 27 { XFS_ERRTAG_AG_RESV_CRITICAL, "ag_resv_critical" }, -#define XFS_ERRTAG_MAX 28 +#define XFS_ERRTAG_DROP_WRITES 28 + { XFS_ERRTAG_DROP_WRITES, "drop_writes" }, +#define XFS_ERRTAG_LOG_BAD_CRC 29 + { XFS_ERRTAG_LOG_BAD_CRC, "log_bad_crc" }, +#define XFS_ERRTAG_LOG_ITEM_PIN 30 + { XFS_ERRTAG_LOG_ITEM_PIN, "log_item_pin" }, +#define XFS_ERRTAG_MAX 31 { XFS_ERRTAG_MAX, NULL } }; int count;