Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp422724pxb; Wed, 3 Feb 2021 08:32:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJy+mN0vLNXL8gLcM1sgK5d8PeFV/XiXhepIYdo5Nk++r4d8+oxadadkvrwN2/BQ3u1GUoin X-Received: by 2002:a17:906:3719:: with SMTP id d25mr4038634ejc.256.1612369978556; Wed, 03 Feb 2021 08:32:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612369978; cv=none; d=google.com; s=arc-20160816; b=IswTXlQSWc7VMxE2/YhNyi3oYlOCtMSReeW3tYD9V3jlqfutsbYc0R8x7yOEZURYUd +xmKgaJnmLWqk/VEgxvchVOl2nJj6uFNcygYyPvApqQmOcEl+xmRTgliC0cdF/iBSFBc bq3Y+zevt2nV1oMws3D3kNJVjfYCeliWH1gP+At2YPEvhSGhkHAr5XvLFLd+9hhAaN1U YdPhGkTiBWhxqkvvYKSox/DMaZgfoZG02uaB74tcD2gIEYrC/Kg3MkTX+vsvzree7L2p 3PqjyFoquFUUvZbbfe4CCWq7Y1sfW705r/2/L02PZSny6hJ1rhuPQE258dcjKzJojCOX NJ+Q== 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=RMNnXXl0n2So0JYASSymvp8VBXrVlG/k8DlRyNm9lEY=; b=GP+oCuuwySAYPqAjQ9qoPdDsNR7wbfdcvVw1aWfTXpHNHjojmxPHgAoxMGMtnGflkV ZgWNWHzSuABrq0gvZozeTUm+vTmUPpiezbK9BMXmYVcKNluDxC7d6y+zxFSg+ccT4bFG G57l6mlkOGQqb+Spi7ZM/+LGGFHT/Wqrh+RwTEzGPzrTKFoGwrdSOMmVj4ReSZqLynwo 7bw1PlHnL2m0V60RciR0Zxu+SH0Qu4V1AvM5rd24Rf+JQvX8vnLH/W/EUZVgy3/cOlE6 qDj8gMQVo+Bf+x2F6ZN6yz2CQR1nvYf+w/Ez06fZ3/68V8YIoaeMgmYMHPWat4UsHTfE NIjA== 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 b19si1670686edd.84.2021.02.03.08.32.29; Wed, 03 Feb 2021 08:32:58 -0800 (PST) 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 S232246AbhBCQc1 (ORCPT + 99 others); Wed, 3 Feb 2021 11:32:27 -0500 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:48832 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231571AbhBCQcY (ORCPT ); Wed, 3 Feb 2021 11:32:24 -0500 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 113GVSIH004657 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 3 Feb 2021 11:31:29 -0500 Received: by cwcc.thunk.org (Postfix, from userid 15806) id 76B1C15C39E2; Wed, 3 Feb 2021 11:31:28 -0500 (EST) Date: Wed, 3 Feb 2021 11:31:28 -0500 From: "Theodore Ts'o" To: Andreas Dilger Cc: Daniel Rosenberg , 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, Paul Lawrence Subject: Re: [PATCH 1/2] ext4: Handle casefolding with encryption Message-ID: References: <20210203090745.4103054-2-drosen@google.com> <56BC7E2D-A303-45AE-93B6-D8921189F604@dilger.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56BC7E2D-A303-45AE-93B6-D8921189F604@dilger.ca> Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed, Feb 03, 2021 at 03:55:06AM -0700, Andreas Dilger wrote: > > It looks like this change will break the dirdata feature, which is similarly > storing a data field beyond the end of the dirent. However, that feature also > provides for flags stored in the high bits of the type field to indicate > which of the fields are in use there. > The first byte of each field stores > the length, so it can be skipped even if the content is not understood. Daniel, for context, the dirdata field is an out-of-tree feature which is used by Lustre, and so has fairly large deployed base. So if there is a way that we can accomodate not breaking dirdata, that would be good. Did the ext4 casefold+encryption implementation escape out to any Android handsets? Thanks, - Ted