Compex-systems Advanced SerialRAID Adapters SA33-3285-02 Bedienungsanleitung Seite 327

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 531
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 326
TMIOSTAT (Status) tmssa Device Driver ioctl Operation
Purpose
To allow the caller to put the status information for the current or previous write
operation into a structure that is defined in the /usr/include/sys/tmscsi.h file.
Description
This operation returns information about the last write operation. Because a nonblocking
write operation might still be running, you must ensure that the status information
applies to a particular write operation. The tm_get_stat structure in the
/usr/include/sys/tmscsi.h file is used to indicate the status, as follows:
status_validity
Bit 0 set, scsi_status valid
scsi_status
SC_BUSY_STATUS Write operation in progress
SC_GOOD_STATUS Write operation completed successfully
SC_CHECK_CONDITION Write operation failed
general_card_status
Unused. Set to zero.
b_error
errno for a failed write operation, or zero.
b_resid
Updated uio_resid for the write operation.
resvd1 Unused. Set to zero.
resvd2 Unused. Set to zero.
Note: The tm_get_stat structure works only for the initiator device.
Chapter 13. Using the Programming Interface 307
Seitenansicht 326
1 2 ... 322 323 324 325 326 327 328 329 330 331 332 ... 530 531

Kommentare zu diesen Handbüchern

Keine Kommentare