All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wendy Cheng <wcheng@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH 0/4 Revised] NLM - lock failover
Date: Thu, 05 Apr 2007 17:50:55 -0400	[thread overview]
Message-ID: <46156F3F.3070606@redhat.com> (raw)

Revised patches based on 2.6.21-rc4 kernel and nfs-utils-1.1.0-rc1 that 
address issues discussed in:
https://www.redhat.com/archives/cluster-devel/2006-September/msg00034.html

Quick How-to:
1) Failover server exports filesystem with "fsid" option as:
    /etc/exports entry> /mnt/shared/exports *(fsid=1234,sync,rw)
2) Failover server dispatch rpc.statd with "-H" option.
3) Failover server drops locks based on fsid by:
    shell> echo 1234 > /proc/fs/nfsd/nlm_unlock
4) Takeover server enters per fsid grace period by:
    shell> echo 1234 > /proc/fs/nfsd/nlm_set_igrace
5) Takeover server notifies clients for lock reclaim by:
    shell> /usr/sbin/sm-notify -f -v floating_ip_address -P an_sm_directory

Patch Summary:
4-1: implement /proc/fs/nfsd/nlm_unlock
4-2: implement /proc/fs/nfsd/nlm_set_igrace
4-3: correctly record and pass incoming server ip interface into rpc.statd.
4-4: nfs-utils statd changes
4-1 includes an existing lockd bug fix as discussed in:
http://sourceforge.net/mailarchive/forum.php?thread_name=4603506D.5040807%40redhat.com&forum_name=nfs
(subject: [NFS] Question about f_count in struct nlm_file)
4-4 includes an existing nfs-utils statd bug fix as discussed in:
http://sourceforge.net/mailarchive/message.php?msg_name=46142B4F.1030507%40redhat.com
(subject: Re: [NFS] lockd and statd)

Misc:
o No IPV6 support due to testing efforts
o NFS V3 only - will compare notes with CITI folks (NFS V4 issues)
o Still need some error-inject tests.

-- Wendy



WARNING: multiple messages have this Message-ID (diff)
From: Wendy Cheng <wcheng@redhat.com>
To: nfs@lists.sourceforge.net, cluster-devel@redhat.com
Cc: Lon Hohberger <lhh@redhat.com>
Subject: [PATCH 0/4 Revised] NLM - lock failover
Date: Thu, 05 Apr 2007 17:50:55 -0400	[thread overview]
Message-ID: <46156F3F.3070606@redhat.com> (raw)

Revised patches based on 2.6.21-rc4 kernel and nfs-utils-1.1.0-rc1 that 
address issues discussed in:
https://www.redhat.com/archives/cluster-devel/2006-September/msg00034.html

Quick How-to:
1) Failover server exports filesystem with "fsid" option as:
    /etc/exports entry> /mnt/shared/exports *(fsid=1234,sync,rw)
2) Failover server dispatch rpc.statd with "-H" option.
3) Failover server drops locks based on fsid by:
    shell> echo 1234 > /proc/fs/nfsd/nlm_unlock
4) Takeover server enters per fsid grace period by:
    shell> echo 1234 > /proc/fs/nfsd/nlm_set_igrace
5) Takeover server notifies clients for lock reclaim by:
    shell> /usr/sbin/sm-notify -f -v floating_ip_address -P an_sm_directory

Patch Summary:
4-1: implement /proc/fs/nfsd/nlm_unlock
4-2: implement /proc/fs/nfsd/nlm_set_igrace
4-3: correctly record and pass incoming server ip interface into rpc.statd.
4-4: nfs-utils statd changes
4-1 includes an existing lockd bug fix as discussed in:
http://sourceforge.net/mailarchive/forum.php?thread_name=4603506D.5040807%40redhat.com&forum_name=nfs
(subject: [NFS] Question about f_count in struct nlm_file)
4-4 includes an existing nfs-utils statd bug fix as discussed in:
http://sourceforge.net/mailarchive/message.php?msg_name=46142B4F.1030507%40redhat.com
(subject: Re: [NFS] lockd and statd)

Misc:
o No IPV6 support due to testing efforts
o NFS V3 only - will compare notes with CITI folks (NFS V4 issues)
o Still need some error-inject tests.

-- Wendy


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

             reply	other threads:[~2007-04-05 21:50 UTC|newest]

Thread overview: 83+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-05 21:50 Wendy Cheng [this message]
2007-04-05 21:50 ` [PATCH 0/4 Revised] NLM - lock failover Wendy Cheng
2007-04-11 17:01 ` [Cluster-devel] Re: [NFS] " J. Bruce Fields
2007-04-11 17:01   ` J. Bruce Fields
2007-04-17 19:30 ` [Cluster-devel] " Wendy Cheng
2007-04-17 19:30   ` Wendy Cheng
2007-04-18 18:56   ` [Cluster-devel] " Wendy Cheng
2007-04-18 18:56     ` Wendy Cheng
2007-04-18 19:46     ` [Cluster-devel] " Wendy Cheng
2007-04-18 19:46       ` Wendy Cheng
2007-04-19 14:41     ` [Cluster-devel] Re: [NFS] " Christoph Hellwig
2007-04-19 14:41       ` Christoph Hellwig
2007-04-19 15:08       ` [Cluster-devel] Re: [NFS] " Wendy Cheng
2007-04-19 15:08         ` Wendy Cheng
     [not found]   ` <message from Wendy Cheng on Tuesday April 17>
2007-04-19  7:04     ` [Cluster-devel] " Neil Brown
2007-04-19  7:04       ` Neil Brown
2007-04-19 14:53       ` Wendy Cheng
2007-04-19 14:53         ` Wendy Cheng
2007-04-24  3:30       ` Wendy Cheng
2007-04-24  3:30         ` Wendy Cheng
     [not found]         ` <message from Wendy Cheng on Monday April 23>
2007-04-24  5:52           ` [NFS] " Neil Brown
2007-04-24  5:52             ` Neil Brown
2007-04-26  4:35             ` [NFS] " Wendy Cheng
2007-04-26  4:35               ` Wendy Cheng
     [not found]               ` <message from Wendy Cheng on Thursday April 26>
2007-04-26  5:43                 ` [NFS] " Neil Brown
2007-04-26  5:43                   ` Neil Brown
2007-04-27  2:24                   ` [NFS] " Wendy Cheng
2007-04-27  2:24                     ` Wendy Cheng
2007-04-27  6:00                 ` [NFS] " Neil Brown
2007-04-27  6:00                   ` Neil Brown
2007-04-27 11:15                   ` [NFS] " Jeff Layton
2007-04-27 11:15                     ` Jeff Layton
     [not found]                     ` <message from Jeff Layton on Friday April 27>
2007-04-27 12:40                       ` [NFS] " Neil Brown
2007-04-27 12:40                         ` Neil Brown
2007-04-27 13:42                         ` Jeff Layton
2007-04-27 18:57                           ` [NFS] " Jeff Layton
2007-04-27 14:17                           ` Christoph Hellwig
2007-04-27 14:17                             ` Christoph Hellwig
2007-04-27 15:42                             ` J. Bruce Fields
2007-04-27 15:43                               ` [NFS] " J. Bruce Fields
2007-04-27 15:36                               ` Wendy Cheng
2007-04-27 15:36                                 ` Wendy Cheng
2007-04-27 16:31                                 ` J. Bruce Fields
2007-04-27 16:31                                   ` [NFS] " J. Bruce Fields
     [not found]                                   ` <message from J. Bruce Fields on Friday April 27>
2007-04-27 22:22                                     ` Neil Brown
2007-04-27 22:22                                       ` Neil Brown
2007-04-29 20:13                                       ` J. Bruce Fields
2007-04-29 20:14                                         ` [NFS] " J. Bruce Fields
     [not found]                                         ` <message from J. Bruce Fields on Sunday April 29>
2007-04-29 23:10                                           ` Neil Brown
2007-04-29 23:10                                             ` Neil Brown
2007-04-30  5:19                                             ` [NFS] " Wendy Cheng
2007-04-30  5:19                                               ` Wendy Cheng
2007-05-04 18:42                                             ` [NFS] " J. Bruce Fields
2007-05-04 18:42                                               ` J. Bruce Fields
2007-05-04 21:35                                               ` [NFS] " Wendy Cheng
2007-05-04 21:35                                                 ` Wendy Cheng
2007-04-27 20:34                                 ` Frank van Maarseveen
2007-04-27 20:34                                   ` [NFS] " Frank van Maarseveen
2007-04-28  3:55                                   ` Wendy Cheng
2007-04-28  3:55                                     ` Wendy Cheng
     [not found]                                     ` <message from Wendy Cheng on Friday April 27>
2007-04-28  4:51                                       ` [NFS] " Neil Brown
2007-04-28  4:51                                         ` Neil Brown
2007-04-28  5:26                                         ` Marc Eshel
2007-04-28  5:27                                           ` [NFS] " Marc Eshel
2007-04-28 12:33                                         ` Frank van Maarseveen
2007-04-28 12:33                                           ` [NFS] " Frank van Maarseveen
2007-04-27 15:12                           ` Jeff Layton
2007-04-27 15:12                             ` [NFS] " Jeff Layton
2007-04-25 14:18 ` [Cluster-devel] Re: [NFS] " J. Bruce Fields
2007-04-25 14:18   ` J. Bruce Fields
2007-04-25 14:10   ` [Cluster-devel] Re: [NFS] " Wendy Cheng
2007-04-25 14:10     ` Wendy Cheng
2007-04-25 15:21     ` [Cluster-devel] Re: [NFS] " Marc Eshel
2007-04-25 15:21       ` Marc Eshel
2007-04-25 15:19       ` [Cluster-devel] Re: [NFS] " Wendy Cheng
2007-04-25 15:19         ` Wendy Cheng
2007-04-25 15:39         ` [Cluster-devel] Re: [NFS] " Wendy Cheng
2007-04-25 15:39           ` [Cluster-devel] " Wendy Cheng
2007-04-25 15:59     ` [Cluster-devel] Re: [NFS] " J. Bruce Fields
2007-04-25 15:59       ` J. Bruce Fields
2007-04-25 15:52       ` [Cluster-devel] Re: [NFS] " Wendy Cheng
2007-04-25 15:52         ` Wendy Cheng
2011-11-30 10:13 ` Pavel

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=46156F3F.3070606@redhat.com \
    --to=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 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.