Messages in this thread | | | Date | Sat, 12 Jul 2003 20:34:01 +0100 | From | Jamie Lokier <> | Subject | Re: 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/
| |