Switch to scsi_execute_req_flags() instead of
using the block interface directly. This will set
REQ_QUIET and REQ_PREEMPT, but this is okay as
we're evaluating the errors anyway and should be
able to send the command even if the device is
quiesced.
Switch to scsi_execute_req_flags() instead of
usin
> + switch (sshdr.sense_key) {
> + case NOT_READY:
> + if ((sshdr.asc == 0x04) && (sshdr.ascq == 3)) {
No need for the inner braces.
Otherwise looks fine:
Reviewed-by: Christoph Hellwig
--
To unsubscribe from this list: send the line "unsubscribe linu
Switch to scsi_execute_req_flags() instead of
using the block interface directly. This will set
REQ_QUIET and REQ_PREEMPT, but this is okay as
we're evaluating the errors anyway and should be
able to send the command even if the device is
quiesced.
Switch to scsi_execute_req_flags() instead of
usin
Switch to using scsi_execute_req_flags() instead of using the
block primitives.
Signed-off-by: Hannes Reinecke
---
drivers/scsi/device_handler/scsi_dh_hp_sw.c | 218
1 file changed, 61 insertions(+), 157 deletions(-)
diff --git a/drivers/scsi/device_handler/scsi_dh_
4 matches
Mail list logo