diff options
author | NeilBrown <neilb@suse.com> | 2017-01-04 09:00:38 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2017-01-04 10:07:33 -0500 |
commit | 8e98eed42b64aa388c09716e3276a53028a839bf (patch) | |
tree | e4992d7f779ffb5631fa94044743e750cccbff98 /utils/exportfs/exportfs.c | |
parent | 995806ff0c9f0e11fb9e536f0a17a5e11e9928cf (diff) | |
download | nfs-utils-8e98eed42b64aa388c09716e3276a53028a839bf.tar.gz nfs-utils-8e98eed42b64aa388c09716e3276a53028a839bf.tar.xz nfs-utils-8e98eed42b64aa388c09716e3276a53028a839bf.zip |
mountd: delay reading etab until first request arrives.
Reading etab may require hostname lookup, so it is not reliable
until the network is active.
But we want mountd to start before that so that it is ready
when the very first NFS request arrives.
So delay reading etab until that request arrives, by which time
the network must be online so hopefully hostname look will be reliable.
An alternate would be to delay starting mountd and nfsd until the
network is on-line, but that will often be an unnecessary delay.
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/exportfs/exportfs.c')
0 files changed, 0 insertions, 0 deletions