Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 360268
b: refs/heads/master
c: 3e8f4f4
h: refs/heads/master
v: v3
  • Loading branch information
Olaf Hering authored and James Bottomley committed Feb 24, 2013
1 parent 05f824d commit 617d9de
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 98f99a8ac8d92fef74b61e8dd25df934afbbf843
refs/heads/master: 3e8f4f4065901c8dfc51407e1984495e1748c090
4 changes: 4 additions & 0 deletions trunk/drivers/scsi/storvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1156,6 +1156,8 @@ static int storvsc_device_configure(struct scsi_device *sdevice)

blk_queue_bounce_limit(sdevice->request_queue, BLK_BOUNCE_ANY);

sdevice->no_write_same = 1;

return 0;
}

Expand Down Expand Up @@ -1238,6 +1240,8 @@ static bool storvsc_scsi_cmd_ok(struct scsi_cmnd *scmnd)
u8 scsi_op = scmnd->cmnd[0];

switch (scsi_op) {
/* the host does not handle WRITE_SAME, log accident usage */
case WRITE_SAME:
/*
* smartd sends this command and the host does not handle
* this. So, don't send it.
Expand Down

0 comments on commit 617d9de

Please sign in to comment.