[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] LVM, rawio, ext2?



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/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]