From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.candelatech.com ([208.74.158.172]:59883 "EHLO ns3.lanforge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753136Ab0IGSl2 (ORCPT ); Tue, 7 Sep 2010 14:41:28 -0400 Received: from [192.168.100.195] (firewall.candelatech.com [70.89.124.249]) (authenticated bits=0) by ns3.lanforge.com (8.14.2/8.14.2) with ESMTP id o87IfRHN018053 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 7 Sep 2010 11:41:27 -0700 Message-ID: <4C868757.90001@candelatech.com> Date: Tue, 07 Sep 2010 11:41:27 -0700 From: Ben Greear To: "linux-nfs@vger.kernel.org" Subject: Re: Bug with O_DIRECT in 2.6.36-rc3? References: <4C814554.1000800@candelatech.com> In-Reply-To: <4C814554.1000800@candelatech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 On 09/03/2010 11:58 AM, Ben Greear wrote: > I was getting ENOMEM errors on write when using O_DIRECT in 2.6.36-rc3 > plus the > patch I just posted for srcaddr= (my test harness needs that feature to > work). > > It seems to work fine w/out O_DIRECT enabled. > > The same patch against 2.6.34.6 works fine with and without O_DIRECT. > > After the ENOMEM, I cannot un-mount, even with -f (says it's busy). > > But, fuser doesn't show any users. > > Anyone tried O_DIRECT recently? I did some testing on un-patched kernels: It seems this was broken after 2.6.35: # good: [26845f585fad66dc23d87dad89d403cd64b48780] [SCSI] remove fake "address-of" expression and before 2.6.36-rc2. 2.6.36-rc1 won't boot for me, and neither would the kernels generated by my attempt to git-bisect this further. Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com