[PATCH] core: Actually EIO is a fatal error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As soon as i understand this is just a mistype.

Signed-off-by: Dmitry Monakhov <dmonakhov@xxxxxxxxxx>
---
 fio.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fio.h b/fio.h
index b2bbe93..f6f9792 100644
--- a/fio.h
+++ b/fio.h
@@ -559,7 +559,7 @@ static inline void fio_ro_check(struct thread_data *td, struct io_u *io_u)
 
 #define REAL_MAX_JOBS		2048
 
-#define td_non_fatal_error(e)	((e) == EIO || (e) == EILSEQ)
+#define td_non_fatal_error(e)	(!((e) == EIO || (e) == EILSEQ))
 
 static inline enum error_type td_error_type(enum fio_ddir ddir, int err)
 {
-- 
1.7.7.6

--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux