Skip to content

Commit 94e5395

Browse files
scsi: mptsas: Disable WRITE SAME
First generation MPT Fusion controllers can not translate WRITE SAME when the attached device is a SATA drive. Disable WRITE SAME support. Reported-by: Nikola Ciprich <[email protected]> Cc: <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 0cfce53 commit 94e5395

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/message/fusion/mptsas.c

+1
Original file line numberDiff line numberDiff line change
@@ -1994,6 +1994,7 @@ static struct scsi_host_template mptsas_driver_template = {
19941994
.cmd_per_lun = 7,
19951995
.use_clustering = ENABLE_CLUSTERING,
19961996
.shost_attrs = mptscsih_host_attrs,
1997+
.no_write_same = 1,
19971998
};
19981999

19992000
static int mptsas_get_linkerrors(struct sas_phy *phy)

0 commit comments

Comments
 (0)