MPC8xx and O_DIRECT ???

Steven Scholz steven.scholz at
Thu Mar 21 20:15:49 EST 2002

Hi there,

has anyone successfully used the O_DIRECT option for file writing (on
MPC8xx IDE)?

I pulled the latest linux version from bitkeeper. When I start the file
benchmark "bonnie" ( using the
-o_direct option, I'll get:

root at idif1:~# bonnie -d /mnt -s 20 -o_direct
Bonnie 1.3: File '/mnt/Bonnie.95', size: 20971520, volumes: 1
Using O_DIRECT for block based I/O
Writing intelligently...       done:   4127 kB/s  73.8 %CPU
Bonnie: drastic I/O error (/mnt/Bonnie.95.0): Not a directory

During the "Writing intelligently" I can see this file!?

So, is -O_DIRECT actually working on MPC8xx?

Thanks a million,


** Sent via the linuxppc-embedded mail list. See

More information about the Linuxppc-embedded mailing list