testing/review of atomic export update patch

Konstantin Belousov kostikbel at gmail.com
Mon Sep 17 12:23:34 UTC 2012


On Sun, Sep 16, 2012 at 05:41:25PM -0400, Rick Macklem wrote:
> Hi,
> 
> There is a simple patch at:
>   http://people.freebsd.org/~rmacklem/atomic-export.patch
> that can be applied to a kernel + mountd, so that the new
> nfsd can be suspended by mountd while the exports are being
> reloaded. It adds a new "-S" flag to mountd to enable this.
> (This avoids the long standing bug where clients receive ESTALE
>  replies to RPCs while mountd is reloading exports.)

This looks simple, but also somewhat worrisome. What would happen
if the mountd crashes after nfsd suspension is requested, but before
resume was performed ?

Might be, mountd should check for suspended nfsd on start and unsuspend
it, if some flag is specified ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20120917/1e85c465/attachment.pgp


More information about the freebsd-fs mailing list