diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2014-02-18 20:55:22 +0100 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2014-03-15 18:19:03 +0100 |
commit | 2f6ae5cd24491647a011aead90d47523d875e443 (patch) | |
tree | 161ee78d7bf59d5411acc93603f23251e0dde626 /drivers/irqchip/irq-nvic.c | |
parent | [SCSI] hpsa: add support for 'fastpath' i/o (diff) | |
download | linux-2f6ae5cd24491647a011aead90d47523d875e443.tar.xz linux-2f6ae5cd24491647a011aead90d47523d875e443.zip |
[SCSI] hpsa: only allow REQ_TYPE_FS to use fast path
When commands sent down the "fast path" fail, they must be re-tried down the
normal RAID path. We do this by kicking i/o's back to the scsi mid layer with
a DID_SOFT_ERROR status, which causes them to be retried. This won't work for
SG_IO's and other non REQ_TYPE_FS i/o's which could get kicked all the way back
to the application, which may have no idea that the command needs resubmitting
and likely no way to resubmit it in such a way the that driver can recognize it
as a resubmit and send it down the normal RAID path. So we just always send
non REQ_TYPE_FS i/o's down the normal RAID path, never down the "fast path".
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/irqchip/irq-nvic.c')
0 files changed, 0 insertions, 0 deletions