Skip to content

Commit

Permalink
[SCSI] libosd: Use REQ_QUIET requests.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Boaz Harrosh authored and James Bottomley committed Jun 10, 2009
1 parent 021e223 commit 0330679
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/scsi/osd/osd_initiator.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0330679

Please sign in to comment.