From owner-freebsd-fs@FreeBSD.ORG Mon Oct 12 16:20:02 2009 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB1D4106568B for ; Mon, 12 Oct 2009 16:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B09318FC15 for ; Mon, 12 Oct 2009 16:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9CGK2cO020293 for ; Mon, 12 Oct 2009 16:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9CGK2Q8020292; Mon, 12 Oct 2009 16:20:02 GMT (envelope-from gnats) Date: Mon, 12 Oct 2009 16:20:02 GMT Message-Id: <200910121620.n9CGK2Q8020292@freefall.freebsd.org> To: freebsd-fs@FreeBSD.org From: Andrey Simonenko Cc: Subject: Re: kern/136865: NFS exports atomic and on-the-fly atomic updates X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andrey Simonenko List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Oct 2009 16:20:02 -0000 The following reply was made to PR kern/136865; it has been noted by GNATS. From: Andrey Simonenko To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/136865: NFS exports atomic and on-the-fly atomic updates Date: Mon, 12 Oct 2009 19:19:15 +0300 Updated version nfse-20091012 can be used on 9.0-CURRENT and 8.0-RC1. with experimental and regular NFS server. Can be downloaded here http://comsys.ntu-kpi.kiev.ua/~simon/nfse/ MD5 (nfse-20091012.tar.bz2) = 3562d449406ac0a728928de5d0583884 List of changes: * Command "flush" can be combined with "add" commands. * Added new command "clear" -- clear configuration for the given pathname. * Added new command "show" -- show current configuration. * Now nfse recognizes shadowed mount points. Manual page nfs.exports(5) was updated and contains information how nfse(8) works with mount points. * Now all settings (export specifications for file systems, export specifications for NFSv4 root directory and WebNFS settings) are updated atomically. There is one exception for WebNFS settings for new exported file system, but this exception can be suppressed by the administrator. * Added support for NFSv4 root directory configuration (atomic and on-the-fly atomic updates are supported). * Added support for experimental NFS server. * Several mistakes were corrected, some parts were optimized and/or simplified. * Support for obsolete options was removed. * mountd(8) was renamed to nfse(8) (actually nfse uses only modified RPC and XDR related code from mountd), exports(5) was renamed to nfs.exports(5). * This distribution contains changes for FreeBSD 9.0-CURRENT and 8.0-RC1. List of open-questions: 1. WebNFS settings cannot be updated by "-c command", it is necessary to discuss semantics for experimental NFS server. 2. WebNFS settings are not protected by any lock in NFS server. 3. NFSv4 root directory settings are not protected by any lock in NFS server. 4. It is possible to make better integration of nfs_export.c with NFS server (see nfs_export.c:nfse_fs_check() and nfs_export.c:nfse_rd_check()), it is necessary to discuss this.