-----Original Message-----
From: Martin K. Petersen [mailto:
martin....@oracle.com]
Sent: Thursday, November 28, 2013 8:00 AM
To: Justin Piszcz
Cc: open list;
linux...@vger.kernel.org;
linux...@vger.kernel.org
Subject: Re: 3.12.0: sda2: WRITE SAME failed. Manually zeroing. with 3w-xxxx
driver
>>>>> "Justin" == Justin Piszcz <
jpi...@lucidpixels.com> writes:
Justin> Relevant logs: [178339.353519] 3w-sas: scsi0: ERROR:
Justin> (0x03:0x0101): Invalid command opcode:opcode=0x41.
Justin> [178339.353565] sda2: WRITE SAME failed. Manually zeroing.
Justin> Is this something I should be worried about?
No, it just means that your 3ware controller does not handle the WRITE
SAME command and we fall back to manually writing out zeroes.
I posted a patch a while back that prevents WRITE SAME being issued for
controllers that do not pass the commands through to disk directly:
http://marc.info/?l=linux-scsi&m=138252394614920&w=2
[ .. ]
Awesome, thank you! This patch is over a month old, do you know if is
currently in mainline? I'll also update my case with 3ware/LSI.