All of lore.kernel.org
 help / color / mirror / Atom feed
* flock() on libcephfs ?
@ 2015-02-06 10:39 Xavier Roche
  2015-02-06 13:44 ` John Spray
  0 siblings, 1 reply; 3+ messages in thread
From: Xavier Roche @ 2015-02-06 10:39 UTC (permalink / raw)
  To: ceph-devel

Hi folks!

I'm not sure this is the right place to post, so do not hesitate to redirect me to a more appropriate list if necessary!

New to ceph, I naively attempted to add a flock (int ceph_flock(struct ceph_mount_info *cmount, int fd, int operation)) function in libcephfs, but I could not find the proper way to figure out what was the owner identifier used by Client::ll_flock() (an uint64_t integer) - this is not the pid, I presume ?

(In a similar way, the opaque void* fuse_req pointer passed appears to be optional, but I was not able to figure out what it was either, even if it is obviously FUSE-related)

Thanks in advance for any hints! By the way - would this new feature (flock()) make sense ?


Regards,
Xavier

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-06 14:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-06 10:39 flock() on libcephfs ? Xavier Roche
2015-02-06 13:44 ` John Spray
2015-02-06 14:31   ` Xavier Roche

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.