From owner-freebsd-fs@FreeBSD.ORG Mon Sep 17 12:23:34 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 267F21065670 for ; Mon, 17 Sep 2012 12:23:34 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 935128FC08 for ; Mon, 17 Sep 2012 12:23:32 +0000 (UTC) Received: from skuns.kiev.zoral.com.ua (localhost [127.0.0.1]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id q8HCNcqi057349; Mon, 17 Sep 2012 15:23:38 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5) with ESMTP id q8HCNP15037012; Mon, 17 Sep 2012 15:23:25 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5/Submit) id q8HCNPGK037011; Mon, 17 Sep 2012 15:23:25 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 17 Sep 2012 15:23:25 +0300 From: Konstantin Belousov To: Rick Macklem Message-ID: <20120917122325.GR37286@deviant.kiev.zoral.com.ua> References: <1531430179.669311.1347831685957.JavaMail.root@erie.cs.uoguelph.ca> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vk2EvGhio7iZz8DU" Content-Disposition: inline In-Reply-To: <1531430179.669311.1347831685957.JavaMail.root@erie.cs.uoguelph.ca> User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: FS List Subject: Re: testing/review of atomic export update patch X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Sep 2012 12:23:34 -0000 --vk2EvGhio7iZz8DU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 16, 2012 at 05:41:25PM -0400, Rick Macklem wrote: > Hi, >=20 > 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 ? --vk2EvGhio7iZz8DU Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAlBXFjwACgkQC3+MBN1Mb4h/OACeIEjMZo6AWDlO0dSHDCrkncG6 oZYAnjVapZW44ulwTmWudOhlwpCCFUEF =U8MR -----END PGP SIGNATURE----- --vk2EvGhio7iZz8DU--