Subject: writing data all the way to disk
To: None <tech-kern@NetBSD.ORG>
From: David Seifert <email@example.com>
Date: 06/11/1998 12:47:16
For filesystems, obviously the sync(2) family need to force data
all the way to non-volatile memory. That's the whole purpose of
For non-filesystem things (e.g. databases using raw partitions)
things aren't quite as simple. Maybe add an argument to write(2)?
An ioctl to force the device into non-caching mode? Either way
things are ugly and assorted nasty issues come up.
As far as disks that cache writes but don't give you a way to
force data to the platters, these would appear to be useless
for any data one cares about. Maybe useful for swap?