diff options
author | Jim Harris <jimharris@FreeBSD.org> | 2012-04-10 16:33:19 +0000 |
---|---|---|
committer | Jim Harris <jimharris@FreeBSD.org> | 2012-04-10 16:33:19 +0000 |
commit | cb77f0da67b55879519a21deaf58ed252741a69d (patch) | |
tree | 5e273e5e49ef5af0a3d25e0afdd915456b69098d /sys/dev/isci/isci.h | |
parent | 0fec3e2d81f3e0f322a839550d03e5f273b602c0 (diff) | |
download | src-cb77f0da67b55879519a21deaf58ed252741a69d.tar.gz src-cb77f0da67b55879519a21deaf58ed252741a69d.zip |
Queue CCBs internally instead of using CAM_REQUEUE_REQ status. This fixes
problem where userspace apps such as smartctl fail due to CAM_REQUEUE_REQ
status getting returned when tagged commands are outstanding when smartctl
sends its I/O using the pass(4) interface.
Sponsored by: Intel
Found and tested by: Ravi Pokala <rpokala at panasas dot com>
Reviewed by: scottl
Approved by: scottl
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=234106
Diffstat (limited to 'sys/dev/isci/isci.h')
-rw-r--r-- | sys/dev/isci/isci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/isci/isci.h b/sys/dev/isci/isci.h index 50f0236826e6..d6ad93cef067 100644 --- a/sys/dev/isci/isci.h +++ b/sys/dev/isci/isci.h @@ -86,6 +86,7 @@ struct ISCI_REMOTE_DEVICE { BOOL is_resetting; uint32_t frozen_lun_mask; SCI_FAST_LIST_ELEMENT_T pending_device_reset_element; + TAILQ_HEAD(,ccb_hdr) queued_ccbs; }; struct ISCI_DOMAIN { |