Messages in this thread | | | From | Andries.Brouwer@cwi ... | Date | Wed, 13 Feb 2002 09:18:39 GMT | Subject | Re: [patch] sys_sync livelock fix |
| |
> Yow, your message inspired me to re-read SuSv2 and indeed confirm,
As a side note, these days you should be reading SuSv3, it is an official standard now. See, for example,
http://www.UNIX-systems.org/version3/ http://www.opengroup.org/onlinepubs/007904975/toc.htm
> sync(2) schedules I/O but can return before completion
Don't forget that this standard does not describe what is desirable, but describes the minimum guaranteed by all Unices considered.
Having a sync that returns without having written the data is not especially useful. Also without the sync this data would have been written sooner or later. We changed sync to wait, long ago, because otherwise shutdown would cause filesystem corruption.
Andries - 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/
| |