Readx and writex subroutines, Error conditions – Compex Systems Advanced SerialRAID Adapters SA33-3285-02 User Manual

Page 294

Advertising
background image

each side of the indicated physical so that the disk can be removed from the
loop for service, and no errors are caused on the loops.

This flag has support only for SSA physical disk drives. You cannot specify this
flag and the SSADISK_SCSIMODE flag together.

SSADISK_SCSIMODE

Opens an SSA physical disk in SCSI passthrough mode. This action allows
SSADISK_IOCTL_SCSI ioctls to be issued to the physical disk.

This flag has support only for SSA physical disk drives. You cannot specify this
flag and the SSADISK_SERVICEMODE flag together.

SSADISK_NORETRY

Opens a device in no-retry mode.

When a device is opened in this mode, commands are not retried if an error
occurs.

SSADISK_FENCEMODE

Opens an SSA logical disk drive in fence mode. The open subroutine
succeeds although the using system might be fenced out from access to the
disk drive. Only ioctls can be issued to the device while it is open in this mode.
Any attempt to read from, or write to, a device that is opened in this mode is
rejected with an error.

This flag has support only for SSA logical disk drives. You cannot specify this
flag and the SSADISK_NO_RESERVE flag, SSADISK_FORCED_OPEN flag,
or SSADISK_RETAIN_RESERVATION flag together.

You can find more specific information about the open operations in “SSA Options to
the openx Subroutine” in the Kernel Extensions and Device Support Programming
Concepts
manuals for AIX versions 4.1 and upward.

readx and writex Subroutines

The readx and writex subroutines provide additional parameters that affect the transfer
of raw data (that is, data that has not been processed or reduced). These subroutines
pass the ext parameter, which specifies request options. The options are constructed by
logically ORing zero or more of the following values:

HWRELOC

Request for hardware relocation that is safe.

UNSAFEREL

Request for hardware relocation that is not safe.

WRITEV

Request for write verification.

Error Conditions

Possible errno values that occur for ioctl, open, read, and write subroutines when the
SSA disk device driver is used include:

EBUSY

One of the following conditions has occurred:

274

User’s Guide and Maintenance Information

Advertising