* in-kernel rpc.statd
@ 2006-09-03 18:00 Christian Guggenberger
2006-09-03 21:01 ` Jan Engelhardt
0 siblings, 1 reply; 6+ messages in thread
From: Christian Guggenberger @ 2006-09-03 18:00 UTC (permalink / raw)
To: linux-kernel
Hi,
I'd like to ask if someone is maintaining a patchset, that implements
the in-kernel rpc.statd (as found in SuSE kernels). I tried to fiddle
some patches of Suse-10.1 into 2.6.17, but failed, unfortunately.
thanks for your help,
- Christian
--
VGER BF report: U 0.51084
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: in-kernel rpc.statd
2006-09-03 18:00 in-kernel rpc.statd Christian Guggenberger
@ 2006-09-03 21:01 ` Jan Engelhardt
2006-09-03 21:11 ` Trond Myklebust
2006-09-03 21:55 ` Bernd Eckenfels
0 siblings, 2 replies; 6+ messages in thread
From: Jan Engelhardt @ 2006-09-03 21:01 UTC (permalink / raw)
To: Christian Guggenberger; +Cc: linux-kernel
>I'd like to ask if someone is maintaining a patchset, that implements
>the in-kernel rpc.statd (as found in SuSE kernels). I tried to fiddle
>some patches of Suse-10.1 into 2.6.17, but failed, unfortunately.
Hm. I do not have a rpc.statd userspace program nor kernel daemon (running
on 2.6.17-vanilla). Yet everything is working. Is there a specific need for
statd?
Jan Engelhardt
--
--
VGER BF report: H 7.21645e-16
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: in-kernel rpc.statd
2006-09-03 21:01 ` Jan Engelhardt
@ 2006-09-03 21:11 ` Trond Myklebust
2006-09-04 8:09 ` Christian Guggenberger
2006-09-03 21:55 ` Bernd Eckenfels
1 sibling, 1 reply; 6+ messages in thread
From: Trond Myklebust @ 2006-09-03 21:11 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: Christian Guggenberger, linux-kernel
On Sun, 2006-09-03 at 23:01 +0200, Jan Engelhardt wrote:
> >I'd like to ask if someone is maintaining a patchset, that implements
> >the in-kernel rpc.statd (as found in SuSE kernels). I tried to fiddle
> >some patches of Suse-10.1 into 2.6.17, but failed, unfortunately.
>
> Hm. I do not have a rpc.statd userspace program nor kernel daemon (running
> on 2.6.17-vanilla). Yet everything is working. Is there a specific need for
> statd?
Yes. Locking over NFSv2/v3 won't work without it.
That said, there is no reason why we need an rpc.statd in the kernel
when the nfs-utils package already provides one that works fine in
userland.
Cheers,
Trond
--
VGER BF report: H 2.2074e-05
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: in-kernel rpc.statd
2006-09-03 21:01 ` Jan Engelhardt
2006-09-03 21:11 ` Trond Myklebust
@ 2006-09-03 21:55 ` Bernd Eckenfels
2006-09-03 22:52 ` Neil Brown
1 sibling, 1 reply; 6+ messages in thread
From: Bernd Eckenfels @ 2006-09-03 21:55 UTC (permalink / raw)
To: linux-kernel
In article <Pine.LNX.4.61.0609032255010.6844@yvahk01.tjqt.qr> you wrote:
> Hm. I do not have a rpc.statd userspace program nor kernel daemon (running
> on 2.6.17-vanilla). Yet everything is working. Is there a specific need for
> statd?
It is more or less an uptime notification protocol for NFS locks. I think
NFS clients can recover from a reboot without the help of the statd in most
situations.
Gruss
Bernd
--
VGER BF report: H 0.429236
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: in-kernel rpc.statd
2006-09-03 21:55 ` Bernd Eckenfels
@ 2006-09-03 22:52 ` Neil Brown
0 siblings, 0 replies; 6+ messages in thread
From: Neil Brown @ 2006-09-03 22:52 UTC (permalink / raw)
To: Bernd Eckenfels; +Cc: linux-kernel
On Sunday September 3, ecki@lina.inka.de wrote:
> In article <Pine.LNX.4.61.0609032255010.6844@yvahk01.tjqt.qr> you wrote:
> > Hm. I do not have a rpc.statd userspace program nor kernel daemon (running
> > on 2.6.17-vanilla). Yet everything is working. Is there a specific need for
> > statd?
>
> It is more or less an uptime notification protocol for NFS locks. I think
> NFS clients can recover from a reboot without the help of the statd in most
> situations.
No.
If a client has a lock and the server reboots, then the client loses
the lock and must recovery it during the grace period (first 45
seconds while the server is running again).
Without statd it doesn't know to do this, and it certainly doesn't
know when to do it. So there is a chance that the server will give
the lock to some other client. Bad.
On the flip side, when a client reboots, the server is left holding
the lock and will not drop it until it discovers that the client has
rebooted, and this can only be discovered via statd. So without statd
you end up with locks that can only be removed by the sysadmin (or a
server reboot).
In early days when lockd/statd implementations (not necessarily linux)
were even more clunky than they are today, stale locks were not
particularly uncommon.
NeilBrown
--
VGER BF report: H 0.018873
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: in-kernel rpc.statd
2006-09-03 21:11 ` Trond Myklebust
@ 2006-09-04 8:09 ` Christian Guggenberger
0 siblings, 0 replies; 6+ messages in thread
From: Christian Guggenberger @ 2006-09-04 8:09 UTC (permalink / raw)
To: Trond Myklebust; +Cc: Jan Engelhardt, Christian Guggenberger, linux-kernel
> >
> > Hm. I do not have a rpc.statd userspace program nor kernel daemon (running
> > on 2.6.17-vanilla). Yet everything is working. Is there a specific need for
> > statd?
>
> Yes. Locking over NFSv2/v3 won't work without it.
>
> That said, there is no reason why we need an rpc.statd in the kernel
> when the nfs-utils package already provides one that works fine in
> userland.
>
I know. The reason behind my query was just that Suse distros - SLES9 at
least - do not provide userland rpc.statd anymore.
cheers.
- Christian
--
VGER BF report: H 3.23172e-09
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-09-04 8:09 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-03 18:00 in-kernel rpc.statd Christian Guggenberger
2006-09-03 21:01 ` Jan Engelhardt
2006-09-03 21:11 ` Trond Myklebust
2006-09-04 8:09 ` Christian Guggenberger
2006-09-03 21:55 ` Bernd Eckenfels
2006-09-03 22:52 ` Neil Brown
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.