diff options
author | Boaz Harrosh <bharrosh@panasas.com> | 2009-05-24 13:05:43 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-06-10 10:00:32 -0400 |
commit | 03306793e686fd895ab8fa095bb9ec33658ea53a (patch) | |
tree | 3999634449315b7eb237e947328b11c32f3da973 /drivers/scsi | |
parent | 021e2230d6c04d80289fceb2d21c9ce93a615b32 (diff) |
[SCSI] libosd: Use REQ_QUIET requests.
libosd has it's own sense decoding and printout. Don't
let scsi_lib duplicate that printout. (Which is done wrong
in regard to osd commands)
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/osd/osd_initiator.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/osd/osd_initiator.c b/drivers/scsi/osd/osd_initiator.c index 3959797149fd..71341ad32344 100644 --- a/drivers/scsi/osd/osd_initiator.c +++ b/drivers/scsi/osd/osd_initiator.c | |||
@@ -1340,6 +1340,8 @@ static int _init_blk_request(struct osd_request *or, | |||
1340 | 1340 | ||
1341 | or->request = req; | 1341 | or->request = req; |
1342 | req->cmd_type = REQ_TYPE_BLOCK_PC; | 1342 | req->cmd_type = REQ_TYPE_BLOCK_PC; |
1343 | req->cmd_flags |= REQ_QUIET; | ||
1344 | |||
1343 | req->timeout = or->timeout; | 1345 | req->timeout = or->timeout; |
1344 | req->retries = or->retries; | 1346 | req->retries = or->retries; |
1345 | req->sense = or->sense; | 1347 | req->sense = or->sense; |