From: Vasily Tarasov <tarasov@vasily.name>
To: Risto Bell <reb@cypress.com>
Cc: "linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>
Subject: Re: NFS and file locking for use with sqllite
Date: Fri, 13 Aug 2010 18:34:51 -0400 [thread overview]
Message-ID: <20100813223450.GC18210@vasily.name> (raw)
In-Reply-To: <4C65C2A3.40404@cypress.com>
You can read from /proc/locks file at the server. This will give you the list
of all locks on the server. Then you can filter out NFS relevant information,
say, based on the inode number.
Vasily
On Fri, Aug 13, 2010 at 03:09:39PM -0700, Risto Bell wrote:
> From client, how to remotely query server for list of locks held?
> Helpful if debugging lock recovery failures.
>
> ---------------------------------------------------------------
> This message and any attachments may contain Cypress (or its
> subsidiaries) confidential information. If it has been received
> in error, please advise the sender and immediately delete this
> message.
> ---------------------------------------------------------------
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2010-08-13 22:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-13 20:54 NFS and file locking for use with sqllite Rahul Nabar
2010-08-13 21:15 ` Chuck Lever
2010-08-13 21:33 ` Rahul Nabar
[not found] ` <AANLkTimqTvgyvvjP2R12wsdpZRs10T+YAtUGw7u6pxWZ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-08-13 22:09 ` Risto Bell
2010-08-13 22:34 ` Vasily Tarasov [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=20100813223450.GC18210@vasily.name \
--to=tarasov@vasily.name \
--cc=linux-nfs@vger.kernel.org \
--cc=reb@cypress.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).