Print this page
OS-61 Need ability for fault injection in mptsas
OS-62 slow io error detector is needed.

*** 19,28 **** --- 19,30 ---- * CDDL HEADER END */ /* * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. + * + * Copyright 2013 Nexenta Systems, Inc. All rights reserved. */ #ifndef _SYS_SCSI_SCSI_PKT_H #define _SYS_SCSI_SCSI_PKT_H
*** 104,113 **** --- 106,117 ---- /* private: iff scsi_pkt_allocated_correctly() */ int pkt_path_instance; /* pHCI transport path */ /* stage-temporary: iff scsi_pkt_allocated_correctly() */ void *pkt_stmp; /* temporary for current pkt stage */ + hrtime_t pkt_start; + hrtime_t pkt_stop; #ifdef SCSI_SIZE_CLEAN_VERIFY /* * Must be last: Building a driver with-and-without * -DSCSI_SIZE_CLEAN_VERIFY, and checking driver modules for
*** 181,190 **** --- 185,198 ---- */ #define FLAG_NOQUEUE 0x80000000 #define FLAG_PKT_PATH_INSTANCE 0x40000000 /* Tell vhci the path to use */ #define FLAG_PKT_COMP_CALLED 0x20000000 /* Set once pkt_comp called */ + /* Extended flags. */ + #define FLAG_PKT_BUSY 0x04000000 /* Reject packet immediately. */ + #define FLAG_PKT_TIMEOUT 0x08000000 /* Timed-out packet. */ + /* * Definitions for the pkt_reason field. */ /*