lkml.org 
[lkml]   [2003]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.5 'what to expect'
Andreas Dilger wrote:
> On Jul 12, 2003 20:46 +0100, Jamie Lokier wrote:
>
>>Jeff Garzik wrote:
>>
>>>Jamie Lokier wrote:
>>>
>>>>2.4 fails on write()? A strace of "rpm --rebuilddb" shows it is
>>>>opening with O_DIRECT and writing just fine. Or does that only work
>>>>with RedHat's 2.4 kernels?
>>>
>>>Are you testing on a filesystem where an O_DIRECT is not supported?
>>>The "it works" case is not an issue.
>>
>>ext3.
>
>
> ext3 in 2.4 kernels does not support O_DIRECT. To confuse matters,
> recent RH kernels silently ignore O_DIRECT if you are not root, so
> you may think O_DIRECT is being used, but it isn't.


ahhh, that's probably what is going on. I was thinking only of stock
2.4 behavior (open succeeds, write fails).

Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.199 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site