Re: Disable cache disk

From: Yves Crespin
Date: Thu Mar 31 2005 - 02:30:57 EST


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 ?



2/ is-it possible to disable cache disk ?



your copy tool has to support/use O_DIRECT


is O_DIRECT a POSIX option ?
http://www.opengroup.org/onlinepubs/007908799/xsh/open.html
Is O_SYNC also necessary ?

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