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

2014-09-23 Thread Christoph Hellwig
Hi Chris, thanks for updating it, althugh it would need a few more updates. > + /* Fix for vmware guests that do not implement write_same > + */ > + if (pdev->subsystem_vendor == 0x15AD) { > + mptspi_driver_template.no_write_same = 1; > + } > + We should set it on

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

2014-09-22 Thread Chris J Arges
On 09/22/2014 03:44 PM, 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 z

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

2014-09-22 Thread Chris J Arges
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 zeroing out is used instead. BugLink: http://bugs.lau