Re: Linux 2.6.29

From: Matthew Garrett
Date: Fri Mar 27 2009 - 02:21:32 EST


On Fri, Mar 27, 2009 at 05:57:50AM +0000, Matthew Garrett wrote:

> Well, no. fsync() didn't appear in early Unix, so what people were
> actually willing to live with was restoring from backups if the system
> crashed. I'd argue that things are somewhat better these days,
> especially now that we're used to filesystems that don't require us to
> fsync(), close(), fsync the directory and possibly jump through even
> more hoops if faced with a pathological interpretation of POSIX.
> Progress is a good thing. The initial behaviour of ext4 in this respect
> wasn't progress.

And, hey, fsync didn't make POSIX proper until 1996. It's not like
authors were able to depend on it for a significant period of time
before ext3 hit the scene.

(It could be argued that most relevant Unices implemented fsync() even
before then, so its status in POSIX was broadly irrelevant. The obvious
counterargument is that most relevant Unix filesystems ensure that data
is written before a clobbering rename() is carried out, so POSIX is
again not especially releant)
--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
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/