linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] xfs_io: add buf_lru_ref tag to inject table
@ 2017-11-30 22:12 Eric Sandeen
  2017-11-30 22:23 ` Darrick J. Wong
  2017-11-30 22:57 ` [PATCH V2] " Eric Sandeen
  0 siblings, 2 replies; 5+ messages in thread
From: Eric Sandeen @ 2017-11-30 22:12 UTC (permalink / raw)
  To: linux-xfs

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
---

it might be nice to also allow specification by number, but
for now just fix this up to match the currently-defined tags.

diff --git a/io/inject.c b/io/inject.c
index 9d0cf62..2f15854 100644
--- a/io/inject.c
+++ b/io/inject.c
@@ -62,6 +62,7 @@ error_tag(char *name)
 		{ XFS_ERRTAG_DROP_WRITES,		"drop_writes" },
 		{ XFS_ERRTAG_LOG_BAD_CRC,		"log_bad_crc" },
 		{ XFS_ERRTAG_LOG_ITEM_PIN,		"log_item_pin" },
+		{ XFS_ERRTAG_BUF_LRU_REF,		"buf_lru_ref" },
 		{ XFS_ERRTAG_MAX,			NULL }
 	};
 	int	count;


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-11-30 23:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-30 22:12 [PATCH] xfs_io: add buf_lru_ref tag to inject table Eric Sandeen
2017-11-30 22:23 ` Darrick J. Wong
2017-11-30 22:57 ` [PATCH V2] " Eric Sandeen
2017-11-30 23:04   ` [PATCH V3] " Eric Sandeen
2017-11-30 23:13     ` Darrick J. Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).