From: "Justin Piszcz" Subject: RE: 3.12.0: sda2: WRITE SAME failed. Manually zeroing. with 3w-xxxx driver Date: Thu, 28 Nov 2013 08:07:24 -0500 Message-ID: <00c701ceec3a$c8bcfc90$5a36f5b0$@lucidpixels.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: "'open list'" , , To: "'Martin K. Petersen'" Return-path: Received: from mail-qe0-f48.google.com ([209.85.128.48]:64414 "EHLO mail-qe0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751149Ab3K1NH1 (ORCPT ); Thu, 28 Nov 2013 08:07:27 -0500 Received: by mail-qe0-f48.google.com with SMTP id gc15so8972661qeb.7 for ; Thu, 28 Nov 2013 05:07:27 -0800 (PST) In-Reply-To: Content-Language: en-us Sender: linux-ext4-owner@vger.kernel.org List-ID: -----Original Message----- From: Martin K. Petersen [mailto:martin.petersen@oracle.com] Sent: Thursday, November 28, 2013 8:00 AM To: Justin Piszcz Cc: open list; linux-ext4@vger.kernel.org; linux-scsi@vger.kernel.org Subject: Re: 3.12.0: sda2: WRITE SAME failed. Manually zeroing. with 3w-xxxx driver >>>>> "Justin" == Justin Piszcz 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. Justin.