Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 2019 02:03:05 +0000
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        Alan Somers <asomers@freebsd.org>
Cc:        Peter Eriksson <pen@lysator.liu.se>, "freebsd-fs@freebsd.org" <freebsd-fs@FreeBSD.org>
Subject:   Re: RFC: should an incremental reload of exports for mountd be optional?
Message-ID:  <YQXPR01MB31282677E81686BBF2290A28DD150@YQXPR01MB3128.CANPRD01.PROD.OUTLOOK.COM>
In-Reply-To: <CAOtMX2i-mZfLVuZx5KZ1LJiwMFB7%2BnduF=wtgFJy5x=JnOM0MQ@mail.gmail.com>
References:  <QB1PR01MB2643E5186098E2AF14934866DD190@QB1PR01MB2643.CANPRD01.PROD.OUTLOOK.COM> <D685FA4E-0F35-44F8-B341-CF59122E10B9@lysator.liu.se> <CAOtMX2hs-aQgEZaCQjNdMHuL8qxJTqnnvNQ%2BysRcpFFTEtDb1A@mail.gmail.com> <YQXPR01MB31289FF0AC8633D372C814A2DD140@YQXPR01MB3128.CANPRD01.PROD.OUTLOOK.COM> <CAOtMX2i23Gup6EZvVB9rL9HcCRarMroD=-O6W_OfDV_0Uz5n_Q@mail.gmail.com> <YQXPR01MB3128E549A195DF4B8DAD191BDD150@YQXPR01MB3128.CANPRD01.PROD.OUTLOOK.COM>, <CAOtMX2i-mZfLVuZx5KZ1LJiwMFB7%2BnduF=wtgFJy5x=JnOM0MQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Alan Somers wrote:
>On Mon, Jun 3, 2019 at 6:30 PM Rick Macklem <rmacklem@uoguelph.ca> wrote:
>>
>> Alan Somers wrote:
>> >Will a restart of the daemon cause clients to get HUPped if they try
>> >to access an exported filesystem while mountd is restarting?
>> >-Alan
>> I'm not sure what you mean by HUPped, but during a restart of mountd, ex=
tant
>> mounts should continue to work.
>
>Perhaps it wasn't SIGHUP, but I recall that a few years ago there was
>a problem where all NFS I/O would fail while mountd was reloading.  I
>think it's the problem that you fixed in r241568.
So long as the "-S" option is being specified, there shouldn't be a problem=
.

With "-S" both the initial load when started/restarted and a reload due to =
SIGHUP
will suspend the nfsd threads while deleting/loading exports in the kernel.
The patch just committed was mainly to make the duration of suspension duri=
ng
a reload much shorter.

rick
[stuff snipped]



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