All of lore.kernel.org
 help / color / mirror / Atom feed
* Bug with O_DIRECT in 2.6.36-rc3?
@ 2010-09-03 18:58 Ben Greear
  2010-09-07 18:41 ` Ben Greear
  0 siblings, 1 reply; 2+ messages in thread
From: Ben Greear @ 2010-09-03 18:58 UTC (permalink / raw)
  To: linux-nfs

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?

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bug with O_DIRECT in 2.6.36-rc3?
  2010-09-03 18:58 Bug with O_DIRECT in 2.6.36-rc3? Ben Greear
@ 2010-09-07 18:41 ` Ben Greear
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Greear @ 2010-09-07 18:41 UTC (permalink / raw)
  To: linux-nfs

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 <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-07 18:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-03 18:58 Bug with O_DIRECT in 2.6.36-rc3? Ben Greear
2010-09-07 18:41 ` Ben Greear

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.