non-buffers writes
hi
how can i do direct writes to disk without the buffer-cache overhead? i failed to see any relevant flag to open() , nor any fnctl()
THX
/gabi
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
Hi,
Quoted 3 lines · BenHanokh Gabriel
how can i do direct writes to disk without the buffer-cache overhead? i failed to see any relevant flag to
open(), nor anyfnctl()
Via /dev/raw/raw* raw devices ("man raw"). We plan much more powerful direct IO functionality for 2.5 (which should support O_DIRECT opening of devices and regular files), but for now raw IO is the only supported mechanism.
Cheers,
Stephen
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/