Hello,
I set S flag with chattr for any file.
Is file really async write (without buffer cache) ?
Is it same raw devices and if not, what is different ?
regards ,
haris peco
On Dec 27, 2001 23:48 +0100, snpe wrote:
> Hello,
> I set S flag with chattr for any file.
> Is file really async write (without buffer cache) ?
No, see chattr man page: S = synchronous updates. It doesn't say anything
about not using the buffer cache. You need to use O_DIRECT for that.
> Is it same raw devices and if not, what is different ?
Totally unrelated. It means that each I/O is waited on by the kernel
before it returns to user space.
Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/