Flexible I/O Tester development
 help / color / mirror / Atom feed
* [PATCH 1/6] Bring in additional sg error cases from Linux kernel (and sg3) header
@ 2017-01-09 14:41 kusumi.tomohiro
  2017-01-09 14:41 ` [PATCH 2/6] Staticize pmemblk ioengine_ops kusumi.tomohiro
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: kusumi.tomohiro @ 2017-01-09 14:41 UTC (permalink / raw)
  To: axboe, fio; +Cc: Tomohiro Kusumi

From: Tomohiro Kusumi <tkusumi@tuxera.com>

Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com>
---
 engines/sg.c | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/engines/sg.c b/engines/sg.c
index 2ad3394..c9a1448 100644
--- a/engines/sg.c
+++ b/engines/sg.c
@@ -630,6 +630,24 @@ static char *fio_sgio_errdetails(struct io_u *io_u)
 			case 0x0d:
 				strlcat(msg, "SG_ERR_DID_REQUEUE", MAXERRDETAIL);
 				break;
+			case 0x0e:
+				strlcat(msg, "SG_ERR_DID_TRANSPORT_DISRUPTED", MAXERRDETAIL);
+				break;
+			case 0x0f:
+				strlcat(msg, "SG_ERR_DID_TRANSPORT_FAILFAST", MAXERRDETAIL);
+				break;
+			case 0x10:
+				strlcat(msg, "SG_ERR_DID_TARGET_FAILURE", MAXERRDETAIL);
+				break;
+			case 0x11:
+				strlcat(msg, "SG_ERR_DID_NEXUS_FAILURE", MAXERRDETAIL);
+				break;
+			case 0x12:
+				strlcat(msg, "SG_ERR_DID_ALLOC_FAILURE", MAXERRDETAIL);
+				break;
+			case 0x13:
+				strlcat(msg, "SG_ERR_DID_MEDIUM_ERROR", MAXERRDETAIL);
+				break;
 			default:
 				strlcat(msg, "Unknown", MAXERRDETAIL);
 				break;
-- 
2.5.5



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

end of thread, other threads:[~2017-01-09 15:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-09 14:41 [PATCH 1/6] Bring in additional sg error cases from Linux kernel (and sg3) header kusumi.tomohiro
2017-01-09 14:41 ` [PATCH 2/6] Staticize pmemblk ioengine_ops kusumi.tomohiro
2017-01-09 14:42 ` [PATCH 3/6] Fix conditional/message for max lba for sg ioengine kusumi.tomohiro
2017-01-09 14:42 ` [PATCH 4/6] Non functional fixup for 16 bytes read capacity " kusumi.tomohiro
2017-01-09 14:42 ` [PATCH 5/6] Mention sg ioengine requires filename option kusumi.tomohiro
2017-01-09 14:42 ` [PATCH 6/6] Fix compile time errors for skeleton_external ioengine kusumi.tomohiro
2017-01-09 15:39 ` [PATCH 1/6] Bring in additional sg error cases from Linux kernel (and sg3) header Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox