Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 49113
b: refs/heads/master
c: 02b01e0
h: refs/heads/master
i:
  49111: 5d396b3
v: v3
  • Loading branch information
Sumant Patro authored and James Bottomley committed Feb 16, 2007
1 parent f6b698c commit 96ad73e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9f35fa8a14e6216a859e2dfbe50ade497f9603ef
refs/heads/master: 02b01e010afeeb49328d35650d70721d2ca3fd59
12 changes: 12 additions & 0 deletions trunk/drivers/scsi/megaraid/megaraid_sas.c
Original file line number Diff line number Diff line change
Expand Up @@ -856,6 +856,18 @@ megasas_queue_command(struct scsi_cmnd *scmd, void (*done) (struct scsi_cmnd *))
goto out_done;
}

switch (scmd->cmnd[0]) {
case SYNCHRONIZE_CACHE:
/*
* FW takes care of flush cache on its own
* No need to send it down
*/
scmd->result = DID_OK << 16;
goto out_done;
default:
break;
}

cmd = megasas_get_cmd(instance);
if (!cmd)
return SCSI_MLQUEUE_HOST_BUSY;
Expand Down

0 comments on commit 96ad73e

Please sign in to comment.