[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] question about xenstore-chmod MAX_PERMS



On Thu, 2012-11-15 at 01:51 +0000, Chunyan Liu wrote:
>         
>                 I can't see anything obvious in the underlying library
>                 which would
>                 prevent it handling essentially arbitrary length lists
>                 of perms. If you
>                 want to change the client to increase the number
>                 supported I think you
>                 should make it likewise handle arbitrary numbers
>                 rather than just
>                 increasing MAX_PERMS. 
> 
> In addition: there is a check for msg.len <=  XENSTORE_PAYLOAD_MAX
> (which is 4096). 
> For chmod, the msg.len = path len + mode len. In current environments,
> there won't be so many perms that could exceed the value. But it IS a
> limitation. 

Do you know what it works out as?

If atomicity matters you could do it as batches within a transaction,
otherwise simple batching would do?

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.