>[EMAIL PROTECTED] wrote:
>>> Robert Milkowski wrote:
>>>
>>>> But only if compression is turned on for a filesystem.
>>> Of course, and the default is off.
>>>
>>>> However I think it would be good to have an API so application can
>>>> decide what to compress and what not.
>>> I agree that an API would be good.  However I don't think using the API 
>>> should allow an application to write compressed data if the file system 
>>> has that functionality turned off.  Its a policy thing if the admin has 
>>> compression off it is off for a reason. Or maybe what we need is another 
>>> property value for compression that allows the app to request it but by 
>>> default we don't do it.
>> 
>> *Only* if we fail to come up with a mechanism to do this properly,
>> efficiently automagically.
>
>Which bit did you mean ? The API itself or the policy part  ?

The API (and therefor also the policy).

If we can make it work without, then that is much better.

Casper

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to