* [PATCH] rpc-statd-notify: Don't wait for the network to come up
@ 2015-02-09 14:07 Steve Dickson
2015-02-09 17:16 ` Steve Dickson
0 siblings, 1 reply; 2+ messages in thread
From: Steve Dickson @ 2015-02-09 14:07 UTC (permalink / raw)
To: Linux NFS Mailing list
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 <steved@redhat.com>
Reported-By: Eric Work <work.eric@gmail.com>
---
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.
--
2.1.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] rpc-statd-notify: Don't wait for the network to come up
2015-02-09 14:07 [PATCH] rpc-statd-notify: Don't wait for the network to come up Steve Dickson
@ 2015-02-09 17:16 ` Steve Dickson
0 siblings, 0 replies; 2+ messages in thread
From: Steve Dickson @ 2015-02-09 17:16 UTC (permalink / raw)
To: Linux NFS Mailing list
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 <steved@redhat.com>
> Reported-By: Eric Work <work.eric@gmail.com>
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.
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-09 17:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-09 14:07 [PATCH] rpc-statd-notify: Don't wait for the network to come up Steve Dickson
2015-02-09 17:16 ` Steve Dickson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).