All of lore.kernel.org
 help / color / mirror / Atom feed
From: Suresh Jayaraman <sjayaraman@suse.de>
To: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Linux NFS mailing list <linux-nfs@vger.kernel.org>,
	Neil Brown <neilb@suse.de>
Subject: Re: [PATCH] nfs: introduce mount option '-olocal_lock' to make locks local (try++)
Date: Thu, 23 Sep 2010 23:24:36 +0530	[thread overview]
Message-ID: <4C9B945C.90709@suse.de> (raw)
In-Reply-To: <1285256610.7809.20.camel@heimdal.trondhjem.org>

On 09/23/2010 09:13 PM, Trond Myklebust wrote:
> On Thu, 2010-09-23 at 08:56 -0400, Trond Myklebust wrote:
>> On Thu, 2010-09-23 at 12:40 +0530, Suresh Jayaraman wrote:
>>> On 09/22/2010 09:36 PM, Trond Myklebust wrote:
>>>> On Mon, 2010-09-20 at 16:41 +0530, Suresh Jayaraman wrote:
>>>>> Changes since last post:
>>>>>
>>>>>    - NFS_MOUNT_NONLM definition remains unmodified as legacy binary mount
>>>>>      interface uses it
>>>>>    - Fixed an Oops in _nfs4_do_setlk() found during NFSv4 reboot recovery
>>>>>    - Rebased against Trond's nfs-2.6.git (nfs-for-2.6.37 branch)
>>>>>
>>>>> Thanks,
>>>>> Suresh Jayaraman
>>>>>
>>>>
>>>> Suresh,
>>>>
>>>> This still appears to break the binary mount interface. You need
>>>> something in nfs_validate_mount_data() to convert the NFS_MOUNT_NONLM
>>>> flag into (NFS_MOUNT_LOCAL_FLOCK | NFS_MOUNT_LOCAL_FCNTL).
>>>>
>>>
>>> Good catch, thanks. Here's the fixed version (haven't tested it as I don't
>>> find a simple way to test it and it looks obvious):
>>
>> Hi Suresh,
>>
>> This one looks good to me.
>>
>> Thanks!
>>   Trond
> 
> Hmm... One thing to note: it would be nice to display the 'local_lock'
> status in /proc/mounts. That can be applied as a separate patch, though.
> 

Sounds good. I sent a separate patch for doing that.

The man page needs to be updated too. I'll write the nfs-utils patch for
doing it and send it.


Thanks,

-- 
Suresh Jayaraman

      reply	other threads:[~2010-09-23 17:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-20 11:11 [PATCH] nfs: introduce mount option '-olocal_lock' to make locks local (try++) Suresh Jayaraman
2010-09-22 16:06 ` Trond Myklebust
2010-09-23  7:10   ` Suresh Jayaraman
2010-09-23 12:56     ` Trond Myklebust
2010-09-23 15:43       ` Trond Myklebust
2010-09-23 17:54         ` Suresh Jayaraman [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=4C9B945C.90709@suse.de \
    --to=sjayaraman@suse.de \
    --cc=Trond.Myklebust@netapp.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=neilb@suse.de \
    /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 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.