From owner-freebsd-current@freebsd.org Fri Aug 5 06:37:37 2016 Return-Path: Delivered-To: freebsd-current@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 E2208BAF554; Fri, 5 Aug 2016 06:37:37 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citapm.icyb.net.ua (citapm.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 0F7541259; Fri, 5 Aug 2016 06:37:36 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citapm.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id JAA23291; Fri, 05 Aug 2016 09:37:28 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1bVYl6-000PPh-LR; Fri, 05 Aug 2016 09:37:28 +0300 Subject: Re: some [big] changes to ZPL (ZFS<->VFS ) To: FreeBSD Filesystems , FreeBSD Current References: <3f79e88d-a519-0c8d-f16a-7c83460a37c1@FreeBSD.org> From: Andriy Gapon Message-ID: <04a12279-ab01-5f5c-d8d3-5571db07c229@FreeBSD.org> Date: Fri, 5 Aug 2016 09:36:35 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <3f79e88d-a519-0c8d-f16a-7c83460a37c1@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2016 06:37:38 -0000 On 03/08/2016 17:25, Andriy Gapon wrote: > Another change that was not strictly required and which is probably too > intrusive is killing the support for case insensitive operations. My > thinking was that FreeBSD VFS does not provide support for those anyway. > But I'll probably restore the code, at least in the bottom half of the > ZPL, before committing the change. It turned out that most of the removed code was dead anyway and it took just a few lines of code to restore support for case-insensitive filesystems. Filesystems with mixed case sensitivity behave exactly the same as case-sensitive filesystem as it has always been the case on FreeBSD. Anyway the big change has just been committed: https://svnweb.freebsd.org/changeset/base/303763 Please test away. Another note is that the filesystem name cache is now disabled for case insensitive filesystems and filesystems with normalization other than none. That may hurt the lookup performance, but should ensure correctness of operations. -- Andriy Gapon