Messages in this thread | | | From | Christian Borntraeger <> | Subject | Re: Disable cache disk | Date | Thu, 31 Mar 2005 10:25:31 +0200 |
| |
Yves Crespin wrote: > Christian Bornträger wrote: > >On Wednesday 30 March 2005 15:00, Yves Crespin wrote: > >>1/ is-it possible to *really* be synchronize. I prefer to have a > >> blocked write() than use cache and get swap! > >Try to mount with the sync option. > exactly async and noatime ?
No. async is exactly the behaviour you dont want. Problem is, the "sync" mount option is not available for every file system. At least ext2, ext3, and ufs support this option. No idea about other filesystems.
> >>2/ is-it possible to disable cache disk ? > > > >your copy tool has to support/use O_DIRECT > > is O_DIRECT a POSIX option ?
No it is a Linux extension.
- 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/
| |