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:47:53 +0000 (08:47 -0800)
commit2d8912138519b31539cf5b6a4471d02dbcf2bd1a
treec3e9af3f72e29d2cd9f225c52579682566674b4c
parentf6ca437d7c4e250e454ed29e0e66d47fdc430d1d
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