On 3/28/07, Fred Oliver <Fred.Oliver at sun.com>
wrote:> Has consideration been given to setting multiple properties at once in a
> single zfs set command?
>
> For example, consider attempting to maintain quota == reservation, while
> increasing both. It is impossible to maintain this equality without some
> additional help.
>
> Quota must be increased first (because the reservation can''t
exceed the
> quota), increasing the reservation could fail (due to insufficient
> space), and restoring the quota to the previous value can fail (due to
> file system growth). It would seem convenient if these race conditions
> could be handled in the kernel.
Why will you reverse a quota increase due to reservation failure? I
imagine I''ll only do that if I am fighting growth on all other
datasets but I''ll put a quota on them instead.
> Alternatively, why not allow the reservation to exceed the quota? Some
> space is unusable until the quota is raised, but isn''t that
acceptable
> and/or desirable?
I disagree that this should be allowed exactly because it results in
unusable space for the time within which the
--
Just me,
Wire ...