Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298260
b: refs/heads/master
c: 8a0cee4
h: refs/heads/master
v: v3
  • Loading branch information
James Smart authored and James Bottomley committed Mar 27, 2012
1 parent e3cdee3 commit ce61943
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4ac9b22625333f9d86c01df702c83d2dfe732131
refs/heads/master: 8a0cee4bfa92fb4acaf93e86780ceab3694ca6d5
9 changes: 0 additions & 9 deletions trunk/drivers/scsi/lpfc/lpfc_scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -4187,15 +4187,6 @@ lpfc_queuecommand_lck(struct scsi_cmnd *cmnd, void (*done) (struct scsi_cmnd *))
cmnd->result = err;
goto out_fail_command;
}
/*
* Do not let the mid-layer retry I/O too fast. If an I/O is retried
* without waiting a bit then indicate that the device is busy.
*/
if (cmnd->retries &&
time_before(jiffies, (cmnd->jiffies_at_alloc +
msecs_to_jiffies(LPFC_RETRY_PAUSE *
cmnd->retries))))
return SCSI_MLQUEUE_DEVICE_BUSY;
ndlp = rdata->pnode;

if ((scsi_get_prot_op(cmnd) != SCSI_PROT_NORMAL) &&
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/scsi/lpfc/lpfc_scsi.h
Original file line number Diff line number Diff line change
Expand Up @@ -164,5 +164,4 @@ struct lpfc_scsi_buf {

#define LPFC_SCSI_DMA_EXT_SIZE 264
#define LPFC_BPL_SIZE 1024
#define LPFC_RETRY_PAUSE 300
#define MDAC_DIRECT_CMD 0x22

0 comments on commit ce61943

Please sign in to comment.