Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4004597pxf; Tue, 6 Apr 2021 05:56:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxy+8hKOG/ueKa9jFxFm2/guSONaO+pf2k7QH+Mu1i7Py2QBdJ/AfB+kY325eL8HdWRL8LF X-Received: by 2002:a05:6402:1853:: with SMTP id v19mr37298218edy.179.1617713765864; Tue, 06 Apr 2021 05:56:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617713765; cv=none; d=google.com; s=arc-20160816; b=d+XagQUjfsB+UhOBmLedoSiHc93kNDqil3Jaq6yLVKwmRN6PFcoj8QG/8QQT0jyhTT PBktjvPR+dJWbqnGsMiux18VjG3KUv4/Jb//oL1mGmZZGVVLmHfertsiz5IiZPGxYjFz j1Mdl66KM6E4PZSYVJcvaQetkrEWHPcun+x6DXefy77LEHcmYf9rtcxTdoagmmkR/ZBV KEULO/dpbBadSy4UGk8YTvZySc//MiMdGG1uKP/EqHl4xBsWkQS/Fkk8qX4WSgcgrLbo Fe7J/UBTjPAP/5h2JSrr+BLOm6pj4mQ+t6PMHOsuAyMqi215ptIaCljhpXmvpCH3QKJs T9Jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=sWViPZjKQrnQHXRvkJVqXZG3WtcBlSHxsAFmydziEpA=; b=vQtARoV9H1kYyTLc+Bh3pNPphmeF6Lz/7HaEvaysFgXN70h6OHOyZuoeS1QPDTqO01 //APWR7G7s5LQEQc6haKgm1F1PEgb0fcKiKu1meZoMGcyWg9juTPGFyGp8qM8FjvonMr G7hyVbiGoyuLTTDQmbnYe7Mjvry4hHLQl7sMsmMYk7IXt3ijgGAgCIQJwDfGJdVnJYeW tgE4eoSyr4Bfll+TyNEfPtCY0cNeyiREfsL7xjEbmnkDJQbBtfCcLRzhUwBN7dbTP2by Zc3mSj0gryGoR3cTE77RKANZisefyPrZHmQIaP5l2Rz3r/txwnU/+YQEvbDL4GFkwkUY KBeg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ld16si15347398ejb.528.2021.04.06.05.55.35; Tue, 06 Apr 2021 05:56:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243408AbhDFCiu (ORCPT + 99 others); Mon, 5 Apr 2021 22:38:50 -0400 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:37835 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S243434AbhDFCit (ORCPT ); Mon, 5 Apr 2021 22:38:49 -0400 Received: from cwcc.thunk.org (pool-72-74-133-215.bstnma.fios.verizon.net [72.74.133.215]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 1362cYOM030877 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 5 Apr 2021 22:38:35 -0400 Received: by cwcc.thunk.org (Postfix, from userid 15806) id 7326415C3399; Mon, 5 Apr 2021 22:38:34 -0400 (EDT) Date: Mon, 5 Apr 2021 22:38:34 -0400 From: "Theodore Ts'o" To: Daniel Rosenberg Cc: Eric Biggers , Andreas Dilger , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Gabriel Krisman Bertazi , kernel-team@android.com Subject: Re: [PATCH v2 2/2] ext4: Optimize match for casefolded encrypted dirs Message-ID: References: <20210319073414.1381041-1-drosen@google.com> <20210319073414.1381041-3-drosen@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210319073414.1381041-3-drosen@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Fri, Mar 19, 2021 at 07:34:14AM +0000, Daniel Rosenberg wrote: > Matching names with casefolded encrypting directories requires > decrypting entries to confirm case since we are case preserving. We can > avoid needing to decrypt if our hash values don't match. > > Signed-off-by: Daniel Rosenberg Thanks, applied. - Ted