From: "J. Bruce Fields" <bfields@fieldses.org>
To: Tom Tucker <tom@opengridcomputing.com>
Cc: Cedric Blancher <cedric.blancher@gmail.com>,
Peter Scott <pjscott@jpl.nasa.gov>,
Linux NFS Mailing List <linux-nfs@vger.kernel.org>
Subject: Re: NFSv4 file lock reporting interface request
Date: Wed, 15 Aug 2018 13:35:39 -0400 [thread overview]
Message-ID: <20180815173539.GA29444@fieldses.org> (raw)
In-Reply-To: <20180807211624.GB18903@fieldses.org>
On Tue, Aug 07, 2018 at 05:16:24PM -0400, J. Bruce Fields wrote:
> On Tue, Aug 07, 2018 at 04:05:42PM -0500, Tom Tucker wrote:
> > FWIW, I don't think dtrace does/did what NASA is asking for, but
> > that's really irrelevant. The locks in NFSv4 are application
> > specific locks, not generic kernel locks, so a service looking for
> > spinlocks, mutexes, etc... wouldn't really be helpful I don't
> > think. However implementing a /sys/class, debugfs thingy that
> > dumped the nfsv4 locks held is fairly simple, although I would think
> > there are security implications.
>
> We already have /proc/locks for locks taken by regular applications, it
> just misses locks from nfsd.
>
> We could extend that. But /proc/locks has some other problems and best
> is probably to make a list of those and make sure we address them all at
> once. It's a potential woodshedding exercise.
(Um, bikeshedding, bikeshedding. Woodshedding is an entirely different
thing....)
--b.
> I haven't done any work
> on it.
>
> Alternatively I guess we could make a separate interface just for file
> locks held by knfsd.
>
> --b.
prev parent reply other threads:[~2018-08-15 20:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-10 2:28 NFSv4 file lock reporting interface request Peter Scott
2018-08-02 14:14 ` J. Bruce Fields
2018-08-02 18:50 ` Cedric Blancher
2018-08-07 20:34 ` J. Bruce Fields
2018-08-07 20:53 ` Scott Mayhew
2018-08-07 21:05 ` Tom Tucker
2018-08-07 21:16 ` J. Bruce Fields
2018-08-15 17:35 ` J. Bruce Fields [this message]
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=20180815173539.GA29444@fieldses.org \
--to=bfields@fieldses.org \
--cc=cedric.blancher@gmail.com \
--cc=linux-nfs@vger.kernel.org \
--cc=pjscott@jpl.nasa.gov \
--cc=tom@opengridcomputing.com \
/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;
as well as URLs for NNTP newsgroup(s).