[linux-lvm] LVM, rawio, ext2?

Andreas Dilger adilger at turbolabs.com
Sat Aug 25 18:34:53 UTC 2001


On Aug 24, 2001  21:41 -0700, David Rees wrote:
> Getting off-topic now, but as far as I know, no.  Is it possible to use
> chattr or some other tool to force it to open in O_DIRECT mode?

You can get per-file synchronous I/O behaviour by using 'chattr +s <file>'.
This is not quite the same as O_DIRECT, because it still buffers the data.

Cheers, Andreas
-- 
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/





More information about the linux-lvm mailing list