Re: ext2/ext3 question ?

Andreas Dilger (adilger@turbolabs.com)
Thu, 27 Dec 2001 11:00:09 -0700


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/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/