[Gluster-devel] Reserve Locks

Xavier Hernandez xhernandez at datalab.es
Fri Mar 10 09:09:26 UTC 2017


Hi,

I'm looking at the locks xlator and I see that it has something called 
reserve locks. I remember long time ago that someone said this was 
defined for some purpose, but I don't remember and currently I'm unable 
to identify any place in the code where these locks are really used.

I think it cannot be used from the user side through FUSE, maybe through 
gfapi it could be used.

Only calls coming from the user can use it
So the questions are:

* Why are they needed ?
* Are they being used for something ?
* Can they be removed ?

Thank you very much,

Xavi


More information about the Gluster-devel mailing list