[SCSI] libosd: Use REQ_QUIET requests.
authorBoaz Harrosh <bharrosh@panasas.com>
Sun, 24 May 2009 17:05:43 +0000 (20:05 +0300)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 10 Jun 2009 14:00:32 +0000 (09:00 -0500)
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>
drivers/scsi/osd/osd_initiator.c

index 3959797149fd13e99183bf05affd88fb2dcf0ab4..71341ad323448c3d3b8e7df520fa531311e94ab0 100644 (file)
@@ -1340,6 +1340,8 @@ static int _init_blk_request(struct osd_request *or,
 
        or->request = req;
        req->cmd_type = REQ_TYPE_BLOCK_PC;
+       req->cmd_flags |= REQ_QUIET;
+
        req->timeout = or->timeout;
        req->retries = or->retries;
        req->sense = or->sense;