On Wed, 19 Jan 2011, Darren Kenny wrote:

Yes, we'd need both these checks. If the 'is_root' attribute
is true, then the check will be for minimum OS size. If it's false, it
will be for minimum size for a zpool.


I believe the simple thing here is to allow for a minimum size to be
associated with a pool, and it defaulted to the ZFS minimum.  If the
application has a hint as the minimum size, then it can provide that info.

That works for me - so this would be an attribute of a Zpool object that an
application could modify if needed.

Works for me as well and it seems like a clean way to
do it.

I believe that it would be useful if a Transfer checkpoint could have a
'TransferXXX.estimate_size()' method - it would not just be useful for an
application, but may also useful for Transfer itself when determining progress,
maybe.

And it would also allow for the Transfer, whether it is IPS, CPIO, or whatever,
to do what is necessary to figure it out appropriately.

Transfer currently implements a get_size() method
for CPIO, IPS and SVR4. It needs to be evaluated if that
might fit the bill after some modifications.

Alok
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to