From owner-freebsd-hackers@FreeBSD.ORG Fri Apr 21 21:02:39 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C42216A406 for ; Fri, 21 Apr 2006 21:02:39 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A3A943D48 for ; Fri, 21 Apr 2006 21:02:39 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 104681A3C19; Fri, 21 Apr 2006 14:02:39 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 34F5F5526F; Fri, 21 Apr 2006 17:01:43 -0400 (EDT) Date: Fri, 21 Apr 2006 17:01:43 -0400 From: Kris Kennaway To: Andrey Simonenko Message-ID: <20060421210143.GA70701@xor.obsecurity.org> References: <20060421095610.GA1137@pm513-1.comsys.ntu-kpi.kiev.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="82I3+IH0IqGh5yIs" Content-Disposition: inline In-Reply-To: <20060421095610.GA1137@pm513-1.comsys.ntu-kpi.kiev.ua> User-Agent: Mutt/1.4.2.1i Cc: freebsd-hackers@freebsd.org Subject: Re: Atomic updates of NFS export lists X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Apr 2006 21:02:39 -0000 --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 21, 2006 at 12:56:11PM +0300, Andrey Simonenko wrote: > Greetings, >=20 > 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 --82I3+IH0IqGh5yIs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFESUg3Wry0BWjoQKURAje1AJ9RXqUrGFHwuc3wbuXMrfSQ93jCZwCeMEl+ KE2Wtrax+bozd0vQN7k++Aw= =nSMQ -----END PGP SIGNATURE----- --82I3+IH0IqGh5yIs--