From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brian King Subject: Re: [PATCH 2/3] libata: Initialize nbytes for internal sg commands Date: Thu, 18 Jan 2007 13:58:09 -0600 Message-ID: <45AFD151.7050800@linux.vnet.ibm.com> References: <11690587311891-patch-mail.ibm.com> <200701171832.l0HIWMB7025070@d03av04.boulder.ibm.com> <45AECEEF.6020008@gmail.com> Reply-To: brking@linux.vnet.ibm.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from e3.ny.us.ibm.com ([32.97.182.143]:37791 "EHLO e3.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932446AbXART6T (ORCPT ); Thu, 18 Jan 2007 14:58:19 -0500 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e3.ny.us.ibm.com (8.13.8/8.12.11) with ESMTP id l0IJwCqD023322 for ; Thu, 18 Jan 2007 14:58:12 -0500 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v8.2) with ESMTP id l0IJwCDs238418 for ; Thu, 18 Jan 2007 14:58:12 -0500 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l0IJwCs9017378 for ; Thu, 18 Jan 2007 14:58:12 -0500 In-Reply-To: <45AECEEF.6020008@gmail.com> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Tejun Heo Cc: jgarzik@pobox.com, linux-ide@vger.kernel.org Tejun Heo wrote: > Brian King wrote: >> Some LLDDs, like ipr, use nbytes and pad_len to determine >> the total data transfer length of a command. Make sure >> nbytes gets initialized for internally generated commands. > > I think it's better to apply the following patch instead of this one. > > http://article.gmane.org/gmane.linux.ide/14792 Works for me. I loaded that patch in place of this one and verified it solved my problem as well. I still need the other two patches in this series, however. Thanks, Brian -- Brian King eServer Storage I/O IBM Linux Technology Center