Re: [PATCH 6/6] NLM: Add reference counting to lockd

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeff Layton
Date: Tuesday, January 8, 2008 - 9:13 am

On Tue, 08 Jan 2008 10:52:19 -0500
Wendy Cheng <wcheng@redhat.com> wrote:


The current lockd implementation already drops all locks if nfsd goes
down (providing there are no local NFS mounts). The last lockd_down call
will bring down lockd and it will drop all of its locks in the process.
My vote for "yes" is a vote to keep things the way they are. I don't
think I'd consider it disruptive.

Changing lockd to not drop locks will mean that userspace will need to
take extra steps if someone wants to bring down NFS and unmount an
underlying filesystem. Those extra steps could be a SIGKILL to lockd or
a call into the new interfaces your recent patchset adds. Either way,
that would mean a change in behavior that will have to be accounted for
in userspace.

-- 
Jeff Layton <jlayton@redhat.com>
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 6/6] NLM: Add reference counting to lockd, Neil Brown, (Mon Jan 7, 11:46 pm)
Re: [PATCH 6/6] NLM: Add reference counting to lockd, Jeff Layton, (Tue Jan 8, 6:26 am)
Re: [PATCH 6/6] NLM: Add reference counting to lockd, Peter Staubach, (Tue Jan 8, 9:13 am)
Re: [PATCH 6/6] NLM: Add reference counting to lockd, Jeff Layton, (Tue Jan 8, 9:13 am)