Red Hat Bugzilla – Bug 146721
iscsi software initiator should set vary_io in Scsi_Host_Template
Last modified: 2008-04-07 00:43:00 EDT
Description of problem:
The iSCSI software initiator should set vary_io in the
Scsi_Host_Template so that sector sized direct IO can be done.
There's no underlying limitation to this, since this is iSCSI, so it
should set this flag.
Version-Release number of selected component (if applicable):
- iscsi driver in kernel 2.4.21-27.ELsmp (3.6.1 iscsi driver module)
- Happens any time you want to do sector sized IO with a file or
device opened with O_DIRECT
Steps to Reproduce:
1. open a file with O_DIRECT flag
2. try to read/write with sector sized IO
- Error if you try to use sector sized IO after opening a file with
- No error
Internal RFE bug #147366 entered; will be considered for future releases.
Unfortunately, this did not get in to U5. I am reluctant to change anything
until BZ 145818 is fixed anyway.
Dave, did you observe that setting vary_io actually fixed the O_DIRECT sector
sized IO problem? I would not have expected that.
This bug is filed against RHEL 3, which is in maintenance phase.
During the maintenance phase, only security errata and select mission
critical bug fixes will be released for enterprise products. Since
this bug does not meet that criteria, it is now being closed.
For more information of the RHEL errata support policy, please visit:
If you feel this bug is indeed mission critical, please contact your
support representative. You may be asked to provide detailed
information on how this bug is affecting you.