From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (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 3D11B371867; Fri, 26 Jun 2026 04:30:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782448209; cv=none; b=aiMkyv5xxDAVr7yYocynSv8nWV/dbX5DpM7GeYGtiZtBmSpclXLF2z0gymRcTVg5mcv2UyHsf/M34BYVoybh3aYAIwCIfr3llTxaKlXSmoAEUOCfc0lth66ieXhjw3gi3K5NAMGej8ZBcl1FZ0sX27W4U8hEBCwaFNVThbCHkhE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782448209; c=relaxed/simple; bh=MkXrGcX+SOyWe6m5CCgOkADucvhqSWszBwkrXxS81CU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UN+kL8e6Wg9Fc0rxZLEDbRPo7c1bH9azePvxmLBkgJ1il+SCz5IhDSNsP+kLrvFGpaG6O96Sqbenb14O0+gQ4ue5XEemQyxm8KQSwmu31IlK1AA0pIl2Co6RQTqlND9f/fqZnEe0/QOkTklJC66g78K0l/5p66gwU9H/wXwFcYs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id 0259B68BEB; Fri, 26 Jun 2026 06:30:03 +0200 (CEST) Date: Fri, 26 Jun 2026 06:30:03 +0200 From: Christoph Hellwig To: "Darrick J. Wong" Cc: Christoph Hellwig , Christian Brauner , Kelu Ye , Yifan Zhao , Ritesh Harjani , Joanne Koong , Namjae Jeon , Sungjong Seo , Hyunchul Lee , Konstantin Komarov , Miklos Szeredi , fuse-devel@lists.linux.dev, ntfs3@lists.linux.dev, linux-erofs@lists.ozlabs.org, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 1/2] iomap: consolidate bio submission Message-ID: <20260626043003.GA8078@lst.de> References: <20260625120803.2462291-1-hch@lst.de> <20260625120803.2462291-2-hch@lst.de> <20260625172740.GD6078@frogsfrogsfrogs> Precedence: bulk X-Mailing-List: ntfs3@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260625172740.GD6078@frogsfrogsfrogs> User-Agent: Mutt/1.5.17 (2007-11-01) On Thu, Jun 25, 2026 at 10:27:40AM -0700, Darrick J. Wong wrote: > > > > + bio->bi_end_io = end_io; > > if (iter->iomap.flags & IOMAP_F_INTEGRITY) > > fs_bio_integrity_alloc(bio); > > Ah, so the bug here is that all the pagecache readers should have been > allocating integrity information for the bio before submitting it? Well, all the ones that set IOMAP_F_INTEGRITY, which really is just XFS at the momen. And because if the iomap refactoring for fuse XFS is now using it's own submit callback and does not get it.. > And > because it doesn't, iomap_finish_ioend won't do the read verification? Yeah. > So the block layer does it for us, and that's why we don't use the ioend > chaining? And (I guess) the future userspace interface won't have any > means to get at the integrity data? Yeah.