projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cb05ed
)
splice: if splicing fails with EINVAL, it's most likely missing fs support
author
Jens Axboe
<jens.axboe@oracle.com>
Mon, 9 Jun 2008 17:25:49 +0000
(19:25 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Mon, 9 Jun 2008 17:25:49 +0000
(19:25 +0200)
So tell the user in more direct terms.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
engines/splice.c
patch
|
blob
|
blame
|
history
diff --git
a/engines/splice.c
b/engines/splice.c
index 2753bfa0ca3b9d154f418c1c3260b0f492fc6e04..03bc7ffcbc12d37e1360c05c5fefc9a132254f93 100644
(file)
--- a/
engines/splice.c
+++ b/
engines/splice.c
@@
-232,8
+232,12
@@
static int fio_spliceio_queue(struct thread_data *td, struct io_u *io_u)
io_u->error = errno;
}
- if (io_u->error)
+ if (io_u->error)
{
td_verror(td, io_u->error, "xfer");
+ if (io_u->error == EINVAL)
+ log_err("fio: looks like splice doesn't work on this"
+ " file system\n");
+ }
return FIO_Q_COMPLETED;
}