From owner-freebsd-fs@FreeBSD.ORG Sat Oct 20 09:50:01 2012 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 80D39D46 for ; Sat, 20 Oct 2012 09:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id 66DCF8FC08 for ; Sat, 20 Oct 2012 09:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9K9o1gN028134 for ; Sat, 20 Oct 2012 09:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9K9o1SA028112; Sat, 20 Oct 2012 09:50:01 GMT (envelope-from gnats) Date: Sat, 20 Oct 2012 09:50:01 GMT Message-Id: <201210200950.q9K9o1SA028112@freefall.freebsd.org> To: freebsd-fs@FreeBSD.org Cc: From: Martin Birgmeier Subject: Re: kern/136865: [nfs] [patch] NFS exports atomic and on-the-fly atomic updates X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Martin Birgmeier List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Oct 2012 09:50:01 -0000 The following reply was made to PR kern/136865; it has been noted by GNATS. From: Martin Birgmeier To: bug-followup@FreeBSD.org, simon@comsys.ntu-kpi.kiev.ua Cc: Subject: Re: kern/136865: [nfs] [patch] NFS exports atomic and on-the-fly atomic updates Date: Sat, 20 Oct 2012 11:43:17 +0200 Andrey, I'd really like to use this. However, I need to use it with FreeBSD 7.4, 8.2, and 9.0 (and 9.1 in the near future); I tried to backport your changes, but this turned out to be too difficult for me. I believe your work could be more easily adopted (even into the core FreeBSD sources) provided that - patches for all supported branches of FreeBSD were available and - there existed a simple knob in rc.conf where one switches between the old mountd and the new nfse I guess that for the latter you'd also need to introduce some compatibility shims into your kernel changes, such that a single kernel could support both methods. What is your opinion? Regards, Martin p.s. I have seen that just a few days a workaround was committed to suspend the nfs daemons while mountd reloads the exports list, but this is just a stopgap (as mentioned in the commit message). I'd much more prefer nfse.