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 600CC3CB2D2 for ; Wed, 19 Aug 2026 05:55:48 +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=1787118952; cv=none; b=RDU0qjFfS0okebOHL1DqB9Vd3JAb2d6stUCQroXvqid2zh1ov6kqDreUQQE252oUGS65ZywZNy/UVdxROwbkjPrFLRa6hTEmOq518QqMwt/8kWMpNjkpVdMFS2j9iHVh2ZkJjXxfoixVL/N/K8w4TbuNrBMbzIM4/6FFQMdXnH8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787118952; c=relaxed/simple; bh=/GpGVLVxv0hMvqTBHOsok+rp2MqgSLWSOQ0gatxDM34=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=DI81Lpuv2tmrm8lRir1zkuv0TNil1pv+LMZKE9tRg7S+ukJRCMf/OCuZKheJngTQz+b+H1H2CxierPmzO6+pERwcs9wlu8BWYg0qHmwYGaYamzpkWGo1/PzyKX/ZPlk8AUmsnyynAE7D3mMBZqFJibeO7gYAe3L2F5LyGz7vJsw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (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=g3iyVUQA; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (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="g3iyVUQA" 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=K8bMPBkYtARjcSd9hBM7FNI9dAbkKzf/OcgllMQXUiM=; b=g3iyVUQAh5P0JjYZQyt4nlYQSz XmJyVUPiDyuFOLTFqe9LRT9CGDHVSUlihiTrp3Kp+cUDl6BMi11M84CtLbSe/VP2CxT2U9aRb+zz0 2b/Sejwiqs3R+H1tAHv3VYmWsHfEjRgrf54uDcBF9k72BSmTQ+Tuk/NYCmVcfD+u+3tZIy9Z/8+AA DYjKjf62n3fnE6rWVQIekomE35AwqyB6mHOUuPtsf2HwlwrY7fp4E1JR8MxtVDEmF6TU+vRdBiX5g NpqNj8lUwS6Xr3f3kegWtHTPcqC7mAcPqoPKYmIKY9FoUPrYR9dpujVk2comx29TNdFJn8Ab7vHZ4 0SNAIDnQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.99.1 #2 (Red Hat Linux)) id 1wwZH9-000000093BD-1A0r; Wed, 19 Aug 2026 05:55:47 +0000 Date: Tue, 18 Aug 2026 22:55:47 -0700 From: Christoph Hellwig To: Gao Xiang Cc: linux-erofs@lists.ozlabs.org, LKML , Christoph Hellwig , Chao Yu Subject: Re: [PATCH v2] erofs: use dedicated meta inodes for file-backed mounts Message-ID: References: <20260811080852.29418-1-xiang@kernel.org> <20260811090717.29787-1-xiang@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@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: <20260811090717.29787-1-xiang@kernel.org> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html On Tue, Aug 11, 2026 at 05:07:17PM +0800, Gao Xiang wrote: > access on file-backed mounts (although I still don't think it is > necessary due to the EROFS immutable model). As the result, metadata > cache won't use the page cache of backing inodes anymore. > > The "managed cache" was originally used to cache physical compressed > data according to the current cache strategy and I/O patterns; since > file-backed mounts also need to access physical data for metadata > access, it's natural to reuse the managed cache for this too, providing > a unique inode for all physical data access. This look sane. Any reason to not use the meta inode unconditionally to simplify the code?