All,
We've a requirement in DHT [1] to query the number of locks granted on an inode in lookup fop. I am planning to use xdata_req in lookup to pass down the relevant arguments for this query. I am proposing following signature:* key "glusterfs.lock-on?" will differentiate whether the lock information is on current inode ("glusterfs.current-inode") or parent-inode ("glusterfs.parent-inode"). For a nameless lookup "glusterfs.parent-inode" is invalid.
* "glusterfs.blocked-locks" - Information should be limited to blocked locks.
* "glusterfs.granted-locks" - Information should be limited to granted locks.
* If necessary other information about granted locks, blocked locks can be added. Since, there is no requirement for now, I am not adding these keys.Thoughts?
_______________________________________________ Gluster-devel mailing list Gluster-devel@xxxxxxxxxxx http://lists.gluster.org/mailman/listinfo/gluster-devel