Re: 3.12.0: sda2: WRITE SAME failed. Manually zeroing. with 3w-xxxx driver

From: Martin K. Petersen
Date: Thu Nov 28 2013 - 08:00:10 EST


>>>>> "Justin" == Justin Piszcz <jpiszcz@xxxxxxxxxxxxxxx> 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

--
Martin K. Petersen Oracle Linux Engineering
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/