Nicolas Williams wrote:
On Thu, Apr 01, 2010 at 04:54:42PM +0100, Andrew Gabriel wrote:
The options and semantics proposed for a new zfs dataset property:
sync=default
[...]
The naming of this one seems strange.
I would have had something like sync=posix, and document that
sync=posix is the default. (Maybe posix isn't the right term.)
sync=default doesn't actually tell you what the behavior is.
I agree that POSIX isn't the right term. I don't mind "default", but if
others do then I recommend "explicit" (as in, when the application
requests sync explicitly).
There is another problem with the term "default." Someone not
well-versed in UNIX file semantics might well imagine that
"sync=default" means that all writes are synchronous by default,
requiring some special action to open the file in asynchronous mode.
That's obviously not the meaning you intend to convey.
I think "explicit" is a good choice; no doubt there are others too.
Scott
--
Scott Rotondo
Senior Principal Engineer, Solaris Engineering
President, Trusted Computing Group
Phone/FAX: +1 408 850 3655 (Internal x68278)
_______________________________________________
opensolaris-arc mailing list
[email protected]