* Joerg Wendland:

> benefit from that. Using DB_ENV->set_flags(DB_DIRECT_DB) for example
> yields the following error:
>
>   direct I/O is not supported by this platform
>
> But it definitely is. If you compile the package with -D__USE_GNU,
> O_DIRECT will be defined in {asm,bits}/fcntl.h and db4.2's
> __os_have_direct() of os/os_open.c will return true so that the call to
> set_flags as shown above will succeed.

I tried this, but it didn't work in the past because of the alignment
constraints the kernel enforced on O_DIRECT read/write operations.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to