Re: Proposal for "proper" durable fsync() and fdatasync()

From: Jeff Garzik
Date: Tue Feb 26 2008 - 11:44:05 EST


Nick Piggin wrote:
Anyway, the idea of making fsync/fdatasync etc. safe by default is
a good idea IMO, and is a bad bug that we don't do that :(

Agreed... it's also disappointing that [unless I'm mistaken] you have to hack each filesystem to support barriers.

It seems far easier to make sync_blkdev() Do The Right Thing, and magically make all filesystems data-safe.

Jeff


--
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/