]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
sm-notify: perform DNS lookup in the background.
authorSteve Dickson <steved@redhat.com>
Fri, 25 Jul 2008 18:15:47 +0000 (14:15 -0400)
committerSteve Dickson <steved@redhat.com>
Fri, 25 Jul 2008 18:15:47 +0000 (14:15 -0400)
If an NFS server has no network connectivity when it reboots,
it will block in sm-notify waiting for DNS lookup for a potentially
large number of hosts.  This is not helpful and just annoys the
sysadmin.

So do the DNS lookup in the backgrounded phase of sm-notify,
before sending off the NOTIFY requests.

Acked-by: NeilBrown <neilb@suse.de>
Signed-off-by: Steve Dickson <steved@redhat.com>

No differences found