[Gluster-devel] Support to distinguish locks set via clients using SYNCOP framework
Soumya Koduri
skoduri at redhat.com
Fri Jan 23 12:24:27 UTC 2015
Hi,
Server lock xlator seems to be distinguishing the various locks set by
the clients on a file using two parameters -
* client UUID
* frame->root->lk_owner
Hence if it is the same client setting locks on a file, for the server
to treat them as being from different owners, the client need to pass
different lk_owners(as 'frame->root->lk_owner') for all those locks.
At present FUSE and gluster-nfs set this field while creating the frame
whereas this support is missing for the clients using the SYNCOP framework.
Have made the changes to fix the same. In addition have added an API in
gfapi to pass the lk_owner to syncopctx.
http://review.gluster.org/#/c/9482/
Kindly review the changes.
Thanks,
Soumya
More information about the Gluster-devel
mailing list