Atomic updates of NFS export lists

Kris Kennaway kris at obsecurity.org
Fri Apr 21 21:02:39 UTC 2006


On Fri, Apr 21, 2006 at 12:56:11PM +0300, Andrey Simonenko wrote:
> Greetings,
> 
> In my environment non-atomic updates of NFS export lists are not
> acceptable.  So, I decided to correct this problem.  As the result
> mountd, kern/vfs_export.c were completely rewritten, mount.h,
> vfs_mount.c and nfs_srvsubs.c also got changes.

> 5. Now it is safe to update export lists without receiving EPERM
>    on a client side.

I think it's fantastic that you're working on this - I had to disable
the SIGHUP that is sent by mount(8) to avoid destroying my client I/O
each time I remount on the server (in fact I was going to propose
removing this code as a workaround).

I'll test your patch soon.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20060421/fcfcf6c4/attachment.pgp


More information about the freebsd-hackers mailing list