linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "J. Bruce Fields" <bfields@fieldses.org>
To: Upendra Moturi <upendra.m@hexagrid.com>
Cc: linux-nfs@vger.kernel.org
Subject: Re: need help for locking with nfs4
Date: Thu, 1 Dec 2011 13:09:50 -0500	[thread overview]
Message-ID: <20111201180950.GA6845@fieldses.org> (raw)
In-Reply-To: <CAHbZLqTLHo7FYKmLUbi5OP4=8_O+obOvtFR=6+Dfs+tozJiwKA@mail.gmail.com>

On Thu, Dec 01, 2011 at 03:43:03PM +0530, Upendra Moturi wrote:
> Hi
> 
> I need some example to configure nfs4 mandatory locking.
> I have setup nfs4 server and client.
> I want to enable mandatory locking so that no two clients can access
> file at same time.

What exactly do you mean by "mandatory locking", and why isn't advisory
fcntl-based locking sufficient?

--b.

  reply	other threads:[~2011-12-01 18:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-01 10:13 need help for locking with nfs4 Upendra Moturi
2011-12-01 18:09 ` J. Bruce Fields [this message]
2011-12-13  9:41   ` Upendra Moturi
2011-12-13 14:20     ` J. Bruce Fields

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=20111201180950.GA6845@fieldses.org \
    --to=bfields@fieldses.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=upendra.m@hexagrid.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).