> The relevant standards (POSIX, SuS, etc.) provide no way to perform
> reliable transactions on a file system.
>
> BSD provides one solution, which is synchronous metatdata. (I am
> assuming modern BSDs already deal with the multiple-disk-block
> problem to make these transactions properly atomic. Is this
> assumption false?)
>
> Linux provides a different solution, which is fsync() on the
> directory.
>
> All MTAs, and other apps besides, currently use the BSD solution for
> reliable transactions.
>
> Is it really so absurd to ask Linux to provide efficient support of
> the BSD semantics as an option?
Yes. You could fix this issue in userland very easily,
it might even work with an LD_PRELOAD ...
Besides BSD softupdates and the various journaling
filesystems which are in use on other Unixen also
don't provide the 4.3BSD solution any more ...
regards,
Rik
-- Virtual memory is like a game you can't win; However, without VM there's truly nothing to lose...http://www.surriel.com/ http://distro.conectiva.com/
Send all your spam to aardvark@nl.linux.org (spam digging piggy)
- 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/