From: "J. Bruce Fields" <bfields@fieldses.org>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: linux-nfs@vger.kernel.org
Subject: Re: [PATCH 00/18] kernel NSM support for IPv6 (take 2)
Date: Wed, 5 Nov 2008 16:50:30 -0500 [thread overview]
Message-ID: <20081105215030.GL1455@fieldses.org> (raw)
In-Reply-To: <61853126-2B02-44C8-B47B-C4CD8618EF0C@oracle.com>
On Wed, Nov 05, 2008 at 04:34:01PM -0500, Chuck Lever wrote:
> On Nov 5, 2008, at 3:45 PM, J. Bruce Fields wrote:
>> On Wed, Nov 05, 2008 at 02:49:55PM -0500, bfields wrote:
>>> By the way, I did some miscellaneous nsm cleanup a few months ago and
>>> never got around to sending it out. I'll pass that along in a
>>> moment.
>>
>> For which I meant to send out a cover letter and forgot, sorry!
>
> These look similar to some prototype patches I've played with to split
> the host cache, except for the elimination of h_server and sm_sticky,
> which would be dandy if we can get away with it. I also went to the
> trouble of adding a SLAB for the nlm_host structures.
>
> Basically they look OK to me, except I would rename expire_hosts() as
> nlm_expire_hosts().
>
> Would you like me to port these up to 2.6.28 and add an nlm_host SLAB?
That would be fine. Or use your patches instead in any places where you
think there's an advantage. The versions I sent were generated against
2.6.28-rc3, so should be recent enough.
There's a couple places (e.g. sm_sticky removal) where we need to audit
and ensure nothing's broken, and leave notes in the commit message
sufficient to reconstruct the audit.
And it'd be nice to figure out how to test nsm changes.
--b.
>
>> Anyway, the first four patches are just small cleanup and bugfixing in
>> the same area. The remaining patches split up the client's and
>> server's
>> host lists into two separate tables.
>>
>> They could all use another look-over and some testing; just thought
>> you
>> might be interested as long as you're in the neighborhood.
>>
>> Also todo in vaguely the same area:
>> - nlmsvc_invalidate_all should be done on nfsd shutdown, but
>> we're doing shutdown per transport for some reason, which
>> seems dumb. So fix that reference counting so there's just
>> one count for the whole server.
>> - it would be nice to be able to shutdown the server
>> independently of the client; currently there's no way to do
>> that, as there's no way for sm-notify to distinguish client
>> from server hosts. (There may be no solution in the case
>> where a single host has both client and server relationships
>> with us--but people probably shouldn't be doing that anyway
>> (it seems deadlock prone.)
>> - the debugging code in nlm_shutdown_hosts() may be overkill.
>>
>> --b.
>
> --
> Chuck Lever
> chuck[dot]lever[at]oracle[dot]com
>
>
>
next prev parent reply other threads:[~2008-11-05 21:50 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-05 17:19 [PATCH 00/18] kernel NSM support for IPv6 (take 2) Chuck Lever
[not found] ` <20081105171300.6773.40121.stgit-07a7zB5ZJzbwdl/1UfZZQIVfYA8g3rJ/@public.gmane.org>
2008-11-05 17:19 ` [PATCH 01/18] NLM: nlm_privileged_requester() doesn't recognize mapped loopback address Chuck Lever
2008-11-05 17:19 ` [PATCH 02/18] NSM: Support IPv6 version of mon_name Chuck Lever
2008-11-05 17:19 ` [PATCH 03/18] NLM: Support IPv6 scope IDs in nlm_display_address() Chuck Lever
2008-11-05 17:19 ` [PATCH 04/18] NSM: Move nsm_find() to fs/lockd/mon.c Chuck Lever
2008-11-05 17:19 ` [PATCH 05/18] NSM: move nsm_create() Chuck Lever
2008-11-05 17:20 ` [PATCH 06/18] NSM: Move NSM-related function and variable declarations to lockd.h Chuck Lever
2008-11-05 17:20 ` [PATCH 07/18] NSM: Move NSM-related XDR data structures to lockd's xdr.h Chuck Lever
2008-11-05 17:20 ` [PATCH 08/18] NSM: Move NSM program and procedure numbers to fs/lockd/mon.c Chuck Lever
2008-11-05 17:20 ` [PATCH 09/18] NSM: Generate "priv" argument to NSMPROC_MON when nsm_handle is created Chuck Lever
2008-11-05 17:20 ` [PATCH 10/18] NLM: Change nlm_host_rebooted() to take a single nlm_reboot argument Chuck Lever
2008-11-05 17:20 ` [PATCH 11/18] NLM: Decode "priv" argument of NLMPROC_SM_NOTIFY as an opaque Chuck Lever
2008-11-05 17:20 ` [PATCH 12/18] NSM: Add nsm_lookup() function Chuck Lever
2008-11-05 17:20 ` [PATCH 13/18] NSM: Replace IP address as our nlm_reboot lookup key Chuck Lever
2008-11-05 17:21 ` [PATCH 14/18] NSM: Remove include/linux/lockd/sm_inter.h Chuck Lever
2008-11-05 17:21 ` [PATCH 15/18] NLM: Remove "create" argument from nsm_find() Chuck Lever
2008-11-05 17:21 ` [PATCH 16/18] NSM: factor nsm_handle initialization out of nsm_get_handle() Chuck Lever
2008-11-05 17:21 ` [PATCH 17/18] NSM: Use same helpers in nsm_get_handle() and nsm_lookup_rebooted() Chuck Lever
2008-11-05 17:21 ` [PATCH 18/18] NSM: Move nsm_addr() to fs/lockd/mon.c Chuck Lever
2008-11-05 19:49 ` [PATCH 00/18] kernel NSM support for IPv6 (take 2) J. Bruce Fields
2008-11-05 20:45 ` J. Bruce Fields
2008-11-05 21:34 ` Chuck Lever
2008-11-05 21:50 ` J. Bruce Fields [this message]
2008-11-05 22:41 ` Chuck Lever
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=20081105215030.GL1455@fieldses.org \
--to=bfields@fieldses.org \
--cc=chuck.lever@oracle.com \
--cc=linux-nfs@vger.kernel.org \
/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.