From: Mi Jinlong <mijinlong@cn.fujitsu.com>
To: Jeff Layton <jlayton@redhat.com>
Cc: "Trond.Myklebust" <trond.myklebust@fys.uio.no>,
"J. Bruce Fields" <bfields@fieldses.org>,
Chuck Lever <chuck.lever@oracle.com>,
NFSv3 list <linux-nfs@vger.kernel.org>
Subject: Re: [RFC] After nfs restart, locks can't be recovered which record by lockd before
Date: Fri, 15 Jan 2010 17:28:14 +0800 [thread overview]
Message-ID: <4B50352E.7040606@cn.fujitsu.com> (raw)
In-Reply-To: <20100114071036.09583f4a-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
Hi Jeff,
Jeff Layton :
> On Thu, 14 Jan 2010 17:41:13 +0800
> Mi Jinlong <mijinlong@cn.fujitsu.com> wrote:
>
>>> IOW, "you're doing it wrong". If you want locks to be reclaimed then
>>> you probably need to restart the nfslock service too.
>>>
>> Don't you think it's more reasonable that locks should be recovered
>> when nfs restart cause lockd restart?
>>
>
> Sure, that's the idea. That said, I'm leery of trying to make this too
> automatic. Extra complexity in this sort of thing often means that we
> get emergent behaviors from the system that we don't expect. I'm not
> sure that risk is worth it to guard against admins restarting lockd
> like this without forcing notifications to be sent.
>
IMO, when lockd restart without statd restart, lockd should recovered those locks.
If the NFSv3's designers think it's not needed when the design it, we would respect
theirs idea at first. But, I think this is indeed a problem!
--
Regards
Mi Jinlong
prev parent reply other threads:[~2010-01-15 9:28 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-13 9:51 [RFC] After nfs restart, locks can't be recovered which record by lockd before Mi Jinlong
2010-01-13 12:51 ` Jeff Layton
[not found] ` <20100113075155.5c409567-xSBYVWDuneFaJnirhKH9O4GKTjYczspe@public.gmane.org>
2010-01-13 18:53 ` Chuck Lever
2010-01-14 10:06 ` Mi Jinlong
2010-01-14 16:13 ` Chuck Lever
2010-01-15 9:35 ` Mi Jinlong
2010-01-15 16:12 ` Chuck Lever
2010-01-18 10:51 ` Mi Jinlong
2010-01-18 16:17 ` Chuck Lever
2010-01-19 10:36 ` Mi Jinlong
2010-01-14 9:41 ` Mi Jinlong
2010-01-14 12:10 ` Jeff Layton
[not found] ` <20100114071036.09583f4a-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2010-01-15 9:28 ` Mi Jinlong [this message]
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=4B50352E.7040606@cn.fujitsu.com \
--to=mijinlong@cn.fujitsu.com \
--cc=bfields@fieldses.org \
--cc=chuck.lever@oracle.com \
--cc=jlayton@redhat.com \
--cc=linux-nfs@vger.kernel.org \
--cc=trond.myklebust@fys.uio.no \
/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