From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [PATCH 06/14] libata: improve ATAPI draining Date: Fri, 30 Nov 2007 01:42:46 +0900 Message-ID: <474EEC06.70304@gmail.com> References: <1196346817387-git-send-email-htejun@gmail.com> <11963468192463-git-send-email-htejun@gmail.com> <20071129155956.4004ca89@the-village.bc.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from rv-out-0910.google.com ([209.85.198.185]:27892 "EHLO rv-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758310AbXK2Qm5 (ORCPT ); Thu, 29 Nov 2007 11:42:57 -0500 Received: by rv-out-0910.google.com with SMTP id k20so1600089rvb for ; Thu, 29 Nov 2007 08:42:56 -0800 (PST) In-Reply-To: <20071129155956.4004ca89@the-village.bc.nu> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Alan Cox Cc: jeff@garzik.org, linux-ide@vger.kernel.org, liml@rtr.ca, albertl@mail.com, jens.axboe@oracle.com, Albert Lee Alan Cox wrote: >> * Limit the amount of draining to ATAPI_MAX_DRAIN (16k currently). > > Why 16 not 64K ? Oops, forgot to answer here. That would result in 16 sg entries for draining which felt a bit too much. As draining is for misc commands, I thought 16k should be enough. -- tejun