From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: RAID-10 keeps aborting Date: Mon, 03 Jun 2013 11:40:47 -0700 Message-ID: <51ACE32F.1060702@zytor.com> References: <51AC1440.7020505@zytor.com> <51AC3283.4000403@zytor.com> <51ACBAA0.40604@zytor.com> <51ACD511.4030604@zytor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-raid-owner@vger.kernel.org To: "Martin K. Petersen" Cc: Dan Williams , linux-raid List-Id: linux-raid.ids On 06/03/2013 11:35 AM, Martin K. Petersen wrote: >>>>>> "hpa" == H Peter Anvin writes: > > hpa> OK, so the device here says don't do this again, but fails the > hpa> request anyway expecting the block device to pick up the slack. > > Yes, the block layer function will resort to writing out zeroes directly > in this case. > > MD should not consider a rejected WRITE SAME a failure. > Presumably MD should do the same thing that SCSI does: disable write_same and kick the failure upstack? -hpa