Linux NFS development
 help / color / mirror / Atom feed
From: Frank van Maarseveen <frankvm@frankvm.com>
To: Wendy Cheng <wcheng@redhat.com>
Cc: "J. Bruce Fields" <bfields@fieldses.org>,
	Neil Brown <neilb@suse.de>, Christoph Hellwig <hch@infradead.org>,
	NFS list <linux-nfs@vger.kernel.org>,
	cluster-devel@redhat.com
Subject: Re: [PATCH 1/2] NLM failover unlock commands
Date: Fri, 18 Jan 2008 11:21:07 +0100	[thread overview]
Message-ID: <20080118102107.GB26106@janus> (raw)
In-Reply-To: <478F7DE4.30404@redhat.com>


> shell> echo 10.1.1.2 > /proc/fs/nfsd/unlock_ip
> shell> echo /mnt/sfs1 > /proc/fs/nfsd/unlock_filesystem
> 
> The expected sequence of events can be:
> 1. Tear down the IP address

You might consider using iptables at this point for dropping outgoing
packets with that source IP address to catch any packet still in
flight. It fixed ESTALE problems for me IIRC (NFSv3, UDP).

> 2. Unexport the path
> 3. Write IP to /proc/fs/nfsd/unlock_ip to unlock files
> 4. If unmount required, write path name to
>    /proc/fs/nfsd/unlock_filesystem, then unmount.
> 5. Signal peer to begin take-over.
> 

-- 
Frank

  reply	other threads:[~2008-01-18 10:21 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-07  5:39 [PATCH 1/2] NLM failover unlock commands Wendy Cheng
2008-01-08  5:18 ` Neil Brown
2008-01-09  2:51   ` Wendy Cheng
2008-01-08 17:02 ` Christoph Hellwig
2008-01-08 17:49   ` Christoph Hellwig
2008-01-08 20:57     ` Wendy Cheng
2008-01-09 18:02       ` Christoph Hellwig
2008-01-10  7:59         ` Christoph Hellwig
2008-01-12  7:03           ` Wendy Cheng
2008-01-12  9:38             ` Christoph Hellwig
2008-01-14 23:07             ` J. Bruce Fields
2008-01-14 23:31               ` Neil Brown
     [not found]                 ` <18315.61638.14133.308991-wvvUuzkyo1EYVZTmpyfIwg@public.gmane.org>
2008-01-15 16:38                   ` Chuck Lever
2008-01-22 22:53                   ` J. Bruce Fields
2008-01-24  4:02                     ` Neil Brown
2008-01-15 16:14               ` Wendy Cheng
2008-01-15 16:30                 ` J. Bruce Fields
2008-01-14 23:52             ` Neil Brown
2008-01-15 20:17               ` Wendy Cheng
2008-01-15 20:50                 ` Neil Brown
2008-01-15 20:56                   ` Wendy Cheng
2008-01-15 22:48                   ` Wendy Cheng
2008-01-16  4:19                     ` Neil Brown
2008-01-17 15:10                     ` J. Bruce Fields
2008-01-17 15:48                       ` Wendy Cheng
2008-01-17 16:08                         ` Wendy Cheng
2008-01-17 16:10                           ` Wendy Cheng
2008-01-18 10:21                             ` Frank van Maarseveen [this message]
2008-01-18 15:00                               ` Wendy Cheng
2008-01-17 16:14                         ` J. Bruce Fields
2008-01-17 16:17                           ` Wendy Cheng
2008-01-17 16:21                             ` J. Bruce Fields
2008-01-17 16:31                         ` J. Bruce Fields
2008-01-17 16:31                           ` Wendy Cheng
2008-01-17 16:40                             ` J. Bruce Fields
2008-01-17 17:35                               ` Frank Filz
2008-01-17 17:59                                 ` Wendy Cheng
2008-01-17 18:07                               ` Wendy Cheng
2008-01-17 20:23                                 ` J. Bruce Fields
2008-01-18 10:03                                   ` Frank van Maarseveen
2008-01-18 14:56                                     ` Wendy Cheng
2008-01-24 16:00                                   ` J. Bruce Fields
2008-01-24 16:19                                     ` Peter Staubach
2008-01-24 16:39                                       ` J. Bruce Fields
2008-01-24 19:45                                     ` Wendy Cheng
2008-01-24 20:19                                       ` J. Bruce Fields
2008-01-24 21:06                                         ` Wendy Cheng
2008-01-24 21:40                                           ` J. Bruce Fields
2008-01-24 21:49                                             ` Wendy Cheng
2008-01-28  3:46                                     ` Felix Blyakher
2008-01-28 15:56                                       ` Wendy Cheng
2008-01-28 17:06                                         ` [Cluster-devel] " Felix Blyakher
2008-01-09  3:49   ` Wendy Cheng
2008-01-09 16:13     ` 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=20080118102107.GB26106@janus \
    --to=frankvm@frankvm.com \
    --cc=bfields@fieldses.org \
    --cc=cluster-devel@redhat.com \
    --cc=hch@infradead.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=neilb@suse.de \
    --cc=wcheng@redhat.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