[PATCH v3] mptfusion: enable no_write_same for vmware scsi disks

2014-09-23 Thread Chris J Arges
://bugs.launchpad.net/bugs/1371591 Reported-by: Bruce Lucas bruce.lu...@mongodb.com Tested-by: Chris J Arges chris.j.ar...@canonical.com Signed-off-by: Chris J Arges chris.j.ar...@canonical.com --- drivers/message/fusion/mptspi.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/message/fusion

Re: [PATCH v3] mptfusion: enable no_write_same for vmware scsi disks

2014-09-23 Thread Chris J Arges
On 09/23/2014 09:22 AM, Chris J Arges wrote: When using a virtual SCSI disk in a VMWare VM if blkdev_issue_zeroout is used data can be improperly zeroed out using the mptfusion driver. This patch disables write_same for this driver and the vmware subsystem_vendor which ensures that manual

Re: [PATCH v3] mptfusion: enable no_write_same for vmware scsi disks

2014-09-23 Thread Chris J Arges
On 09/23/2014 09:22 AM, Chris J Arges wrote: When using a virtual SCSI disk in a VMWare VM if blkdev_issue_zeroout is used data can be improperly zeroed out using the mptfusion driver. This patch disables write_same for this driver and the vmware subsystem_vendor which ensures that manual

[PATCH] mptfusion: enable no_write_same in scsi_host_template

2014-09-22 Thread Chris J Arges
Reported-by: Bruce Lucas bruce.lu...@mongodb.com Signed-off-by: Chris J Arges chris.j.ar...@canonical.com --- drivers/message/fusion/mptspi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/message/fusion/mptspi.c b/drivers/message/fusion/mptspi.c index 787933d..2fcc9bd 100644 --- a/drivers

Re: [PATCH] mptfusion: enable no_write_same in scsi_host_template

2014-09-22 Thread Chris J Arges
On 09/22/2014 01:02 PM, Christoph Hellwig wrote: On Mon, Sep 22, 2014 at 12:56:59PM -0500, Chris J Arges wrote: When using a virtual SCSI disk in a VMWare VM if blkdev_issue_zeroout is used data can be improperly zeroed out using the mptfusion driver. This patch disables write_same

Re: [PATCH] mptfusion: enable no_write_same in scsi_host_template

2014-09-22 Thread Chris J Arges
On 09/22/2014 01:19 PM, Christoph Hellwig wrote: On Mon, Sep 22, 2014 at 01:17:01PM -0500, Chris J Arges wrote: I've only been able to reproduce this on VMWare. There is a pretty straightforward reproducer in the BugLink if there is any interest in verifying on hardware. How would you

[PATCH v2] mptfusion: enable no_write_same for vmware scsi disks

2014-09-22 Thread Chris J Arges
://bugs.launchpad.net/bugs/1371591 Reported-by: Bruce Lucas bruce.lu...@mongodb.com Tested-by: Chris J Arges chris.j.ar...@canonical.com Signed-off-by: Chris J Arges chris.j.ar...@canonical.com --- drivers/message/fusion/mptspi.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/message