linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] nfsd: add a usermodehelper upcall for client id tracking
@ 2012-10-03 12:40 Jeff Layton
  2012-10-03 12:40 ` [PATCH v2 1/3] nfsd: add a usermodehelper upcall for NFSv4 client ID tracking Jeff Layton
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Jeff Layton @ 2012-10-03 12:40 UTC (permalink / raw)
  To: bfields; +Cc: linux-nfs

This is a respin of the set with the same title that I sent on Monday
(Oct 1st). This one has a few bugfixes, and adds some code to allow the
upcall program to convert from the legacy database to the new one. I'll
also be posting a respin of the companion nfs-utils set too.

The idea here is to allow a one-way conversion from the legacy clientid
tracking code to the new one, which should allow for seamless kernel and
nfs-utils upgrades.

In order to handle that, this set also changes the heuristic that the
kernel uses to decide what client tracker to use. We now must now try
the usermodehelper upcall first and only fall back to other schemes if
its initialization fails.

Note that I'm not 100% sold on the idea to convert from the legacy db
format. It's doable but somewhat "fiddly" to handle. There are probably
corner cases where it will fall down, so it may be best not to even try
to do that. I won't be offended if you decide not to take the last
patch.

Comments? Discuss!

Jeff Layton (3):
  nfsd: add a usermodehelper upcall for NFSv4 client ID tracking
  nfsd: change heuristic for selecting the client_tracking_ops
  nfsd: pass info about the legacy recoverydir in environment variables

 fs/nfsd/nfs4recover.c | 250 ++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 240 insertions(+), 10 deletions(-)

-- 
1.7.11.4


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-10-05 14:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-03 12:40 [PATCH v2 0/3] nfsd: add a usermodehelper upcall for client id tracking Jeff Layton
2012-10-03 12:40 ` [PATCH v2 1/3] nfsd: add a usermodehelper upcall for NFSv4 client ID tracking Jeff Layton
2012-10-05 14:36   ` J. Bruce Fields
2012-10-05 14:47     ` Jeff Layton
2012-10-03 12:40 ` [PATCH v2 2/3] nfsd: change heuristic for selecting the client_tracking_ops Jeff Layton
2012-10-03 12:40 ` [PATCH v2 3/3] nfsd: pass info about the legacy recoverydir in environment variables Jeff Layton
2012-10-05 14:34 ` [PATCH v2 0/3] nfsd: add a usermodehelper upcall for client id tracking J. Bruce Fields

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).