From: Xavier Roche <roche+kml2@exalead.com>
To: ceph-devel@vger.kernel.org
Subject: flock() on libcephfs ?
Date: Fri, 06 Feb 2015 11:39:17 +0100 [thread overview]
Message-ID: <54D499D5.3060505@exalead.com> (raw)
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
next reply other threads:[~2015-02-06 10:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-06 10:39 Xavier Roche [this message]
2015-02-06 13:44 ` flock() on libcephfs ? John Spray
2015-02-06 14:31 ` Xavier Roche
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54D499D5.3060505@exalead.com \
--to=roche+kml2@exalead.com \
--cc=ceph-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox