From owner-freebsd-fs@FreeBSD.ORG Mon Jan 3 21:34:23 2011 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 6BA9B106564A for ; Mon, 3 Jan 2011 21:34:23 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by mx1.freebsd.org (Postfix) with ESMTP id 2A6BC8FC13 for ; Mon, 3 Jan 2011 21:34:22 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhQFAA/QIU2DaFvO/2dsb2JhbACDd5IhjxCtPY5SgSCDNnQEhGWGH4Um X-IronPort-AV: E=Sophos;i="4.60,268,1291611600"; d="scan'208";a="104168974" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 03 Jan 2011 16:34:22 -0500 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 5C24FB3F09 for ; Mon, 3 Jan 2011 16:34:22 -0500 (EST) Date: Mon, 3 Jan 2011 16:34:22 -0500 (EST) From: Rick Macklem To: freebsd-fs@freebsd.org Message-ID: <991403850.53411.1294090462292.JavaMail.root@erie.cs.uoguelph.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.91.202] X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - IE8 (Win)/6.0.10_GA_2692) Subject: exporting non-mpsafe file systems - VFS_NEEDSGIANT() 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, 03 Jan 2011 21:34:23 -0000 Hi, The code currently in the experimental NFS server w.r.t. handling VFS_LOCK_GIANT()/VFS_UNLOCK_GIANT() is currently BADLY broken. Fortunately, since the major file systems being exported are mpsafe and don't need Giant, nobody seems to be noticing. Since the code is ugly and not easy to fix, I'd like to just delete it and only allow mpsafe file systems to be exported. (I looked at ufs/zfs/nullfs/msdosfs/cs9660 and they all appear to be mpsafe.) So does anyone know of a non-mpsafe file system that needs to be exported or see other serious problems w.r.t. not allowing exporting of non-mpsafe file systems? Thanks for your input, rick