cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Olaf Kirch <okir@lst.de>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] Re: [NFS] [PATCH 2/4 Revised] NLM - set per fsid grace period
Date: Tue, 10 Apr 2007 08:57:46 -0000	[thread overview]
Message-ID: <200704101057.24105.okir@lst.de> (raw)
In-Reply-To: <46156F81.8010808@redhat.com>

On Thursday 05 April 2007 23:52, Wendy Cheng wrote:
> This change enables per NFS-export entry lockd grace period. The 
> implementation is based on a double linked list fo_fsid_list that 
> contains entries of fsid info. It is expected this would not be a 
> frequent event. The fo_fsid_list is 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 NFS 
> export filesystem id into nfsd procfs entry as:

Your patch creates a new per-export structure that is private to lockd.
It may be easier to put the grace period value into the export entry,
and check for that in nlm_fopen. It feels more natural than adding
a whole new shadow export table just for the benefit of lockd.
(Especially when you consider future extensions like being able
to search the list by dev_t or uuid or whatever)

Olaf
-- 
Olaf Kirch  |  --- o --- Nous sommes du soleil we love when we play
okir at lst.de |    / | \   sol.dhoop.naytheet.ah kin.ir.samse.qurax



  reply	other threads:[~2007-04-10  8:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-05 21:52 [Cluster-devel] [PATCH 2/4 Revised] NLM - set per fsid grace period Wendy Cheng
2007-04-10  8:57 ` Olaf Kirch [this message]
2007-04-10 14:37   ` [Cluster-devel] Re: [NFS] " Wendy Cheng

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=200704101057.24105.okir@lst.de \
    --to=okir@lst.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 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).