]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
lockd: Try to reconnect if statd has moved
authorBenjamin Coddington <bcodding@redhat.com>
Tue, 23 Sep 2014 16:26:20 +0000 (12:26 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Nov 2014 16:59:44 +0000 (08:59 -0800)
commitee8ed383b5d7b7fa39d8925ac82d23aa5581ce09
tree723f173163194d1f060df508d7f5f15d33c35909
parent2733ddc464d9e34952fb7ad869883e998c35adf6
lockd: Try to reconnect if statd has moved

commit 173b3afceebe76fa2205b2c8808682d5b541fe3c upstream.

If rpc.statd is restarted, upcalls to monitor hosts can fail with
ECONNREFUSED.  In that case force a lookup of statd's new port and retry the
upcall.

Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/lockd/mon.c