From owner-freebsd-stable@freebsd.org Fri Mar 10 10:39:47 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 96200D0610C for ; Fri, 10 Mar 2017 10:39:47 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 09C2AD3F; Fri, 10 Mar 2017 10:39:46 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id v2AAdgMR001011 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 10 Mar 2017 12:39:42 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua v2AAdgMR001011 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id v2AAdfPW001010; Fri, 10 Mar 2017 12:39:41 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 10 Mar 2017 12:39:41 +0200 From: Konstantin Belousov To: Rick Macklem Cc: Harry Schmalzbauer , Mark Johnston , FreeBSD Stable Subject: Re: unionfs bugs, a partial patch and some comments [Was: Re: 1-BETA3 Panic: __lockmgr_args: downgrade a recursed lockmgr nfs @ /usr/local/share/deploy-tools/RELENG_11/src/sys/fs/unionfs/union_vnops.c:1905] Message-ID: <20170310103941.GG16105@kib.kiev.ua> References: <57B8793E.4070004@omnilan.de> <58BEAAAC.4090303@omnilan.de> <58BEFF83.9010906@omnilan.de> <58BF0DE4.1020300@omnilan.de> <20170307235550.GP30979@kib.kiev.ua> <58BFC5EB.8020905@omnilan.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.0 (2017-02-23) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tom.home X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Mar 2017 10:39:47 -0000 On Thu, Mar 09, 2017 at 10:49:01PM +0000, Rick Macklem wrote: > Konstantin Belousov wrote: > > I did not touched unionfs, and have no plans to. It is equally broken in > > all relevant versions of FreeBSD. > Heh, heh. I chuckled when I read this. I think he's trying to say > "it probably won't ever be fixed". My understanding is that it would > require a major redesign of the FreeBSD VFS to make it fully stackable > to fix unionfs and that isn't happening anytime soon... > I mean that there is nobody who is both interested in unionfs and capable of fixing it, and it was so at least from the 8.x times. Also, I do not think that VFS needs a redesign to support unionfs-like operations. The problems that current unionfs has are its local problems.