Flexible I/O Tester development
 help / color / mirror / Atom feed
* [PATCH] core: Actually EIO is a fatal error
@ 2012-09-21 11:04 Dmitry Monakhov
  2012-09-21 11:25 ` Jens Axboe
  0 siblings, 1 reply; 8+ messages in thread
From: Dmitry Monakhov @ 2012-09-21 11:04 UTC (permalink / raw)
  To: fio; +Cc: axboe, Dmitry Monakhov

As soon as i understand this is just a mistype.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
---
 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



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

end of thread, other threads:[~2012-09-21 13:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-21 11:04 [PATCH] core: Actually EIO is a fatal error Dmitry Monakhov
2012-09-21 11:25 ` Jens Axboe
2012-09-21 11:42   ` Dmitry Monakhov
2012-09-21 12:00     ` Jens Axboe
2012-09-21 12:13       ` Dmitry Monakhov
2012-09-21 12:20         ` Jens Axboe
2012-09-21 12:56           ` Dmitry Monakhov
2012-09-21 13:08             ` Jens Axboe

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