Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 2019 21:50:10 +0000
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        "freebsd-fs@freebsd.org" <freebsd-fs@FreeBSD.org>
Subject:   RFC: should an incremental reload of exports for mountd be optional?
Message-ID:  <QB1PR01MB2643E5186098E2AF14934866DD190@QB1PR01MB2643.CANPRD01.PROD.OUTLOOK.COM>

next in thread | raw e-mail | index | archive | help
Hi,

I have created a patch for PR#237860 that improves the time it takes to rel=
oad
the exports file(s) for an NFS file server from seconds->milliseconds by on=
ly doing
system calls for the changes to the exports file(s). (Assumes each reload i=
ncludes
changes to only a small fraction of the entries.)

I made it a non-default option of "-I", but asomers@ asked why it needed to=
 be
optional.

Basically, I made it optional because I felt the patch might still be buggy=
 and not
handle some case of an exports file change that I missed.

However, I can see the argument of making it non-optional (or optional but =
enabled
by default) so that sysadmins don't need to add "-I" to avoid long periods =
where the
nfsd threads are suspended.
If it is broken, the deamon would need to be restarted to do a full reload,=
 but that
would also be the case if a sysadmin specified the "-I" option.

So, the question is... "do you think this should be an option or just alway=
s enabled?".

Thanks , rick



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?QB1PR01MB2643E5186098E2AF14934866DD190>