2006-08-01 01:54:59

by Wendy Cheng

[permalink] [raw]
Subject: [PATCH 1/3] NLM lock failover

_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs


Attachments:
gfs_nlm_ip_grace.patch (15.48 kB)
(No filename) (348.00 B)
(No filename) (140.00 B)
Download all attachments

2006-08-01 02:02:24

by Wendy Cheng

[permalink] [raw]
Subject: Re: [PATCH 1/3] NLM lock failover

Sorry, please discard this .. I added the wrong subject line.. Will
resend... Wendy

On Mon, 2006-07-31 at 22:06 -0400, Wendy Cheng wrote:
> This patch enables per ip NLM lock grace period. The implementation is
> based on a global single linked list nlm_servs that contains entries of
> per server ip info. It is expected this would not be a frequent event.
> The nlm_servs list should be short and the entries expire within a
> maximum of 50 seconds. The grace period setting follows the existing NLM
> grace period handling logic and is triggered via echoing the ipv4 dot
> address into /proc/fs/nfsd/nlm_set_ip_grace file.
>
> Signed-off-by: S. Wendy Cheng <[email protected]>
> Signed-off-by: Lon Hohberger <[email protected]>
>
> fs/lockd/svc.c | 8 +-
> fs/lockd/svc4proc.c | 41 ++++++++++---
> fs/lockd/svcproc.c | 43 +++++++++++---
> fs/lockd/svcsubs.c | 133 +++++++++++++++++++++++++++++++++++++
> ++++++
> fs/nfsd/nfsctl.c | 36 +++++++++++
> include/linux/lockd/bind.h | 3
> include/linux/lockd/lockd.h | 15 ++++
> 7 files changed, 261 insertions(+), 18 deletions(-)
>
>
>


-------------------------------------------------------------------------
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 - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs