From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 64AA614D708; Thu, 3 Oct 2024 12:11:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727957475; cv=none; b=fxA9DD+pfj6DPvPxkqQh7lEiibF48F+IxxfXeItoU5TV/mm3oSxpJxC4g4cFo39jyqrc4VVsnni9PgPmsJ5yRgG2cOnY/Oq1/3YreszeHMGN4Q2Ozb7sTM+YOVWCiQAFITk7EX2WUooRwX0p2P1YfGwt7Qa9zTgZFbz3zHsKZOE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727957475; c=relaxed/simple; bh=Pj8ze2hn78F38jRAAhc3T+G/8A/paWVEx4b69ovgYLU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=S/y12qxjaxnwqdk6ZKRqsNQCh9IIWRo8RNAyKHC1uYCKQXU4gr/07eZlseZkqkpTJkn1nar5uSmJyxrxO7CBLlOupXiWHglmz8L+vqMDOFKffXrcetOYblkusi1Jnl8nK7kKVxazX/WyWv/sZjZcdb+piZyyw02Bsdesc7akRv8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=V1E58div; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="V1E58div" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Pj8ze2hn78F38jRAAhc3T+G/8A/paWVEx4b69ovgYLU=; b=V1E58divffuS8U4FI/HplNQy8b qoduPx+/cQxIPhkEGoihH/cu1AL+ojOjK0ceJNl/8T4TnINeJXiupAE5yVV4KBYEspJd1zmTPdxQZ aK7HEm0LXgZx+hx8vDYBcWXr4VNPB2Ebj41Pqkdysp8RPRDrp1Sy4Kexhg3sVCwWtTAwj/HUXXJBZ QPPkolMqbXYZA0Ez3HjnTQ7RZUTVjbG5urw/J7DK19iFXT07Vl6HsjlbDPTBGQxa3m5k2SwNlG82G jG3MJ06vXw7CgpMdZs1oLwcZIf1YFN+s6E5w+YPghLyNMPKRx1yRSJEbqjKa1gZmsABCtWLj+yssL ugZc3uBQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.98 #2 (Red Hat Linux)) id 1swKfn-00000008z5C-1ihP; Thu, 03 Oct 2024 12:11:11 +0000 Date: Thu, 3 Oct 2024 05:11:11 -0700 From: Christoph Hellwig To: Jan Kara Cc: Christoph Hellwig , Dave Chinner , linux-fsdevel@vger.kernel.org, linux-xfs@vger.kernel.org, linux-bcachefs@vger.kernel.org, kent.overstreet@linux.dev, torvalds@linux-foundation.org, =?iso-8859-1?Q?Micka=EBl_Sala=FCn?= , Jann Horn , Serge Hallyn , Kees Cook , linux-security-module@vger.kernel.org, Amir Goldstein Subject: Re: lsm sb_delete hook, was Re: [PATCH 4/7] vfs: Convert sb->s_inodes iteration to super_iter_inodes() Message-ID: References: <20241002014017.3801899-1-david@fromorbit.com> <20241002014017.3801899-5-david@fromorbit.com> <20241003115721.kg2caqgj2xxinnth@quack3> Precedence: bulk X-Mailing-List: linux-fsdevel@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: <20241003115721.kg2caqgj2xxinnth@quack3> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html On Thu, Oct 03, 2024 at 01:57:21PM +0200, Jan Kara wrote: > Fair enough. If we go with the iterator variant I've suggested to Dave in > [1], we could combine the evict_inodes(), fsnotify_unmount_inodes() and > Landlocks hook_sb_delete() into a single iteration relatively easily. But > I'd wait with that convertion until this series lands. I don't see how that has anything to do with iterators or not.