Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Apr 1, 2015

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit 37659335ac616d7c13bf8bfbb76366424b50ea67:

Add support for POSIX_FADV_STREAMID (2015-03-24 10:20:22 -0600)

are available in the git repository at:

git://git.kernel.dk/fio.git master

for you to fetch changes up to 16ada7542f32b38c1189390a97b595948079b100:

sg: don't return success if non bdev/char is used (2015-03-31 13:41:18 -0600)

----------------------------------------------------------------
Jens Axboe (1):
sg: don't return success if non bdev/char is used

 engines/sg.c |    1 +
 1 file changed, 1 insertion(+)

---

Diff of recent changes:

engines/sg.c +1 -0
index 6272b79..8acbd50 100644
@@ -368,6 +368,7 @@ static int fio_sgio_type_check(struct thread_data *td, struct fio_file *f)
 		if (ret)
 			return 1;
 	} else {
+		td_verror(td, EINVAL, "wrong file type");
 		log_err("ioengine sg only works on block devices\n");
 		return 1;
 	}