engines/sync.c:26, func=lseek, error=Bad file descriptor and an Assertion

From: peter <peter_at_niob.at>
Date: Tue, 22 May 2007 10:00:20 +0200


I just came across fio, and I want to use it to do some iSCSI tests with
the iet target and the iscsi initiator in Centos 5 / RHEL 5.

Versions tried: 1.16 and latest git snapshot from today.

During some non-iSCSI related testing (that is, using a local ext3
filesystem under LVM on top of software RAID5), I repeatedly got:

 fio: pid=17522, err=9/file:engines/sync.c:26, func=lseek, error=Bad
file descriptor

just before the job output. fio exits with code 1 in this case. This
happens on both Centos 4.2 and Centos 5 based systems.

I'm using the following job file:



Sometimes (not easily reproducable) I even get:

 fio: ioengines.c:188: td_io_queue: Assertion `io_u->file->flags &
FIO_FILE_OPEN' failed.

So two questions arise:

 * Is this a bug in fio?
 * Is this a bug in the linux kernel or filesystem?

Personally, I hope it is the former....

Any other information I can provide?

Received on Tue May 22 2007 - 10:00:20 CEST

This archive was generated by hypermail 2.2.0 : Tue May 22 2007 - 10:30:02 CEST