Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D948936493C for ; Mon, 1 Jun 2026 18:57:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780340260; cv=none; b=l7WgSh4qUvEj2VU5nSrCiGhhQ6A7hT/4/9mhC9ZJRoH/gCWDzJP6fbFsLwWbZoqpTrzClSJ7hNNZgOBiGGuk56VU6lRY8A6/CBtRC089dxwVP01w4WgoPo54+57XQmymAimsJjh8GXAHkX9p7TwRW+eNFR0vozFXGYi9ipRS/zk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780340260; c=relaxed/simple; bh=89tOA/vg8ODxo9Bd1kZAVRxj1Qun7rG5iGCntXOsfwM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rN4py8/cQDadTovukdkZGO3F8UXS+Z3YGSsriHjGAus39WcDHfWqfGx/x0xa2zSQLq+apC6vj+t79GOg7D8/4CeLZjAGIFD5jSariUFgO03bvZoYVbsmWUH++85ZY3VMV2K/xuPIHLvdCK84s5ZDvV7NNcrVlEK2fm+K5s5gDMQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz; spf=pass smtp.mailfrom=suse.cz; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b=lRv9FZWv; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b=Orov3lwY; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b=lRv9FZWv; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b=Orov3lwY; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.cz Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="lRv9FZWv"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="Orov3lwY"; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="lRv9FZWv"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="Orov3lwY" Received: from imap1.dmz-prg2.suse.org (unknown [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 23A346B645; Mon, 1 Jun 2026 18:57:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1780340256; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2BQBHJyYMWnTxoTg7lZFROZPbjpK0REybaOLyY1zGMo=; b=lRv9FZWvI94VUYOpxJMCy2kLL6Bu6+3EsNZUzAnvNuCKo1QUuQkOI3zKss9ofXNX+YfLe3 q9w0lHsP9TeeJn46LjTjLKEt38KlHUn7A7uVTNCLmx3d55vxFi3wMomNejbBeSOEYjhxGT YMVAcWgJVLsKq3fmuW/i901rtAqBWc0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1780340256; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2BQBHJyYMWnTxoTg7lZFROZPbjpK0REybaOLyY1zGMo=; b=Orov3lwYX6ld8pYiDK+atsNbPbR+/S5KpgtJ9aR09hUcycQjEor5HwTw3n2Xj68UjjUL2p 7ZW8RpYU3TeQjwCw== Authentication-Results: smtp-out1.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1780340256; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2BQBHJyYMWnTxoTg7lZFROZPbjpK0REybaOLyY1zGMo=; b=lRv9FZWvI94VUYOpxJMCy2kLL6Bu6+3EsNZUzAnvNuCKo1QUuQkOI3zKss9ofXNX+YfLe3 q9w0lHsP9TeeJn46LjTjLKEt38KlHUn7A7uVTNCLmx3d55vxFi3wMomNejbBeSOEYjhxGT YMVAcWgJVLsKq3fmuW/i901rtAqBWc0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1780340256; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2BQBHJyYMWnTxoTg7lZFROZPbjpK0REybaOLyY1zGMo=; b=Orov3lwYX6ld8pYiDK+atsNbPbR+/S5KpgtJ9aR09hUcycQjEor5HwTw3n2Xj68UjjUL2p 7ZW8RpYU3TeQjwCw== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 0E462779A7; Mon, 1 Jun 2026 18:57:36 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id 1jo9AyDWHWrlDgAAD6G6ig (envelope-from ); Mon, 01 Jun 2026 18:57:36 +0000 Date: Mon, 1 Jun 2026 20:57:30 +0200 From: David Sterba To: Eric Biggers Cc: Daniel Vacek , David Sterba , linux-block@vger.kernel.org, linux-fscrypt@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Mason , Josef Bacik , "Theodore Y. Ts'o" , Jaegeuk Kim , Jens Axboe Subject: Re: [PATCH v7 00/43] btrfs: add fscrypt support Message-ID: <20260601185730.GE880787@twin.jikos.cz> Reply-To: dsterba@suse.cz References: <20260513085340.3673127-1-neelx@suse.com> <20260531002812.GA2302@sol> Precedence: bulk X-Mailing-List: linux-block@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260531002812.GA2302@sol> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) X-Spam-Flag: NO X-Spamd-Result: default: False [-4.00 / 50.00]; BAYES_HAM(-3.00)[100.00%]; NEURAL_HAM_LONG(-1.00)[-1.000]; HAS_REPLYTO(0.30)[dsterba@suse.cz]; NEURAL_HAM_SHORT(-0.20)[-0.998]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_TWELVE(0.00)[12]; MIME_TRACE(0.00)[0:+]; TO_DN_SOME(0.00)[]; FUZZY_RATELIMITED(0.00)[rspamd.com]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo,sashiko.dev:url]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; REPLYTO_ADDR_EQ_FROM(0.00)[]; REPLYTO_DOM_NEQ_TO_DOM(0.00)[] X-Spam-Level: X-Spam-Score: -4.00 On Sat, May 30, 2026 at 05:28:12PM -0700, Eric Biggers wrote: > On Fri, May 22, 2026 at 09:00:46AM +0200, Daniel Vacek wrote: > It's been really hard to find time to review this huge patchset. I've > started going through it and will try to leave comments next week. Thank you. The patchset is huge but we'd like your feedback namely on the crypto layer changes, i.e. the first 8 patches. As this is outside of btrfs code we can't fix it incrementally later on. The current size of btrfs-only can be slightly reduced but a lot of must stay so it's clear how the fscrypt API is used. I'm not sure if it was mentioned before wrt how to get this merged. My preferred way is to get your Ack for the crypto changes and then we can add it to linux-next via our btrfs git. It's too late for 7.2 also because you've asked for some changes. So the target is 7.3, hopefully giving all of us enough time to have the mergeable version in ~7.2-rc3 timeframe. If you have other ideas how to proceed with the merge process, please let me know. > In the mean time it would be really helpful if you went through the > Sashiko reviews > (https://sashiko.dev/#/patchset/20260513085340.3673127-1-neelx%40suse.com) > and address the ones that make sense to. It found 93 issues including > 16 critical ones, which is kind of a lot. Some of them are the same > things I'm noticing already. Same for the issue that Christoph noticed > where new devices can be added; Sashiko had already found that too. > > If I'm going to have to use my limited human review time to point out > issues that were already found, that's not a great use of time. > > I also don't see any information about how this was tested (and will > continue to be tested in the future). The testing is not straightforward as it needs 3 projects to synchronize, kernel, fstests and btrfs-progs. Testing may need to use custom git branches for all of them. For btrfs-progs the changes will ge it in soon. For fstests it can be a chicken-egg problem, as they don't accept tests for unmerged code. We've been using our fstests [1] with additional fixups (not upstreamable, related to CI workarounds). Though I'm not sure if Daniel has updated the branch with his most recent version. [1] https://github.com/btrfs/fstests branch staging