lkml.org 
[lkml]   [2003]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.5 'what to expect'
Jeff Garzik wrote:
> These are separate db4+kernel problems.
>
> The first is that there needs to be a reliable way to know if O_DIRECT
> writes are going to succeed or not. The 2.4 kernel fails on write(2)
> but not open(2) or fcntl(2).
>
> The second is that db4 doesn't appear to know about the alignment
> requirement.

The alignment requirement can be probed if necessary - by reading a
misaligned page. It's ugly, but fixable in db4.

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?

-- Jamie
-
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.052 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site