Return-Path: Received: from imap.thunk.org ([74.207.234.97]:56104 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751460AbdBJRAR (ORCPT ); Fri, 10 Feb 2017 12:00:17 -0500 Date: Fri, 10 Feb 2017 10:55:18 -0500 From: Theodore Ts'o To: Richard Weinberger Cc: Anand Jain , Richard Weinberger , linux-fsdevel Subject: Re: fs/crypto: file-name encryption, optional ? Message-ID: <20170210155518.s3qoy4bsqt6celid@thunk.org> References: <86003117-e684-cdc6-567f-a227ddfd7885@oracle.com> <20170209191727.4py6beqfu22xjrsj@thunk.org> <2947c1ee-f3a5-d6f0-aee4-9cbe33df0472@oracle.com> <9dce50b7-600b-4615-34fa-61c64d8cf37e@nod.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9dce50b7-600b-4615-34fa-61c64d8cf37e@nod.at> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Fri, Feb 10, 2017 at 04:32:28PM +0100, Richard Weinberger wrote: > Anand, > > Am 10.02.2017 um 16:21 schrieb Anand Jain: > > > > Hi Ted, > > > > IMO not all data center solutions would need file-name encryption, > > its better to bring back the option to disable the file-name > > encryption. > > do you fear the overhead? > If so, did you measure it? We did measurements on an android phone; I don't recall the exact numbers, but it's wasn't anything we were worried about. Certainly not with any kind of realistic workload where the dcache means that it's rare for the user to see the overhead in real life, but we did do some microbenchmarks[1] as well. [1] https://git.kernel.org/cgit/fs/ext2/xfstests-bld.git/tree/misc/fname_benchmark.c - Ted