From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: linux-nfs-owner@vger.kernel.org Received: from mx1.redhat.com ([209.132.183.28]:48468 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932308AbbBIRQ3 (ORCPT ); Mon, 9 Feb 2015 12:16:29 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t19HGRXc005750 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Mon, 9 Feb 2015 12:16:28 -0500 Received: from smallhat.boston.devel.redhat.com (vpn-58-241.rdu2.redhat.com [10.10.58.241]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t19HGRv6021067 for ; Mon, 9 Feb 2015 12:16:27 -0500 Message-ID: <54D8EB6A.4020405@RedHat.com> Date: Mon, 09 Feb 2015 12:16:26 -0500 From: Steve Dickson MIME-Version: 1.0 To: Linux NFS Mailing list Subject: Re: [PATCH] rpc-statd-notify: Don't wait for the network to come up References: <1423490841-20097-1-git-send-email-steved@redhat.com> In-Reply-To: <1423490841-20097-1-git-send-email-steved@redhat.com> Content-Type: text/plain; charset=windows-1252 Sender: linux-nfs-owner@vger.kernel.org List-ID: On 02/09/2015 09:07 AM, Steve Dickson wrote: > rpc-statd-notify only needs to wait for the network > interface to be configured not to be connected since > it forks into background and will wait 15mins for > the network to come up. > > This decrease boot times when networks are not > and will not be connected. > > Signed-off-by: Steve Dickson > Reported-By: Eric Work Committed... steved. > --- > systemd/rpc-statd-notify.service | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/systemd/rpc-statd-notify.service b/systemd/rpc-statd-notify.service > index 941afe5..a655445 100644 > --- a/systemd/rpc-statd-notify.service > +++ b/systemd/rpc-statd-notify.service > @@ -1,7 +1,7 @@ > [Unit] > Description=Notify NFS peers of a restart > Requires=network-online.target > -After=network-online.target nss-lookup.target > +After=network.target nss-lookup.target > > # if we run an nfs server, it needs to be running before we > # tell clients that it has restarted. >