From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755227AbZBIQmf (ORCPT ); Mon, 9 Feb 2009 11:42:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754088AbZBIQmZ (ORCPT ); Mon, 9 Feb 2009 11:42:25 -0500 Received: from h155.mvista.com ([63.81.120.155]:16759 "EHLO imap.sh.mvista.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1753218AbZBIQmZ (ORCPT ); Mon, 9 Feb 2009 11:42:25 -0500 Message-ID: <49905D08.4050302@ru.mvista.com> Date: Mon, 09 Feb 2009 19:42:48 +0300 From: Sergei Shtylyov Organization: MontaVista Software Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.2) Gecko/20040803 X-Accept-Language: ru, en-us, en-gb MIME-Version: 1.0 To: Hugh Dickins Cc: jgarzik@pobox.com, linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, alan@lxorguk.ukuu.org.uk, rjw@sisk.pl Subject: Re: [PATCH] libata-sff: fix 32-bit PIO regression References: <200902082253.07438.sshtylyov@ru.mvista.com> <498F73A5.2070300@ru.mvista.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hugh Dickins wrote: >>>Yes, looks nice, and works for me. My only criticism would be, >>>minor issue unchanged by your patch, that actually "slop" isn't >>>unlikely enough to deserve an "unlikely" - slop of 1 or 3 is >>>unlikely, but slop of 2 is quite common. >> Common on what types of ATAPI commands? I can hardly believe that they are >>common on the block I/O... > When I checked (mounting and listing a CD), about 34% of > commands had slop 2. Hm, that probably involved the raw block reads. I don't remember the raw sector length off-hand but it may well be just even, not divisble by 4. > But you're right, now I try copying > a large file, there's no slop involved in that at all. > Hugh MBR, Sergei