From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7D0F5C433F5 for ; Wed, 23 Mar 2022 06:04:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241933AbiCWGFs (ORCPT ); Wed, 23 Mar 2022 02:05:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241932AbiCWGFr (ORCPT ); Wed, 23 Mar 2022 02:05:47 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF26E6E8E8; Tue, 22 Mar 2022 23:04:17 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 2DC4068AFE; Wed, 23 Mar 2022 07:04:15 +0100 (CET) Date: Wed, 23 Mar 2022 07:04:15 +0100 From: Christoph Hellwig To: Qu Wenruo Cc: Christoph Hellwig , Josef Bacik , David Sterba , Qu Wenruo , Naohiro Aota , linux-btrfs@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 03/40] btrfs: fix direct I/O writes for split bios on zoned devices Message-ID: <20220323060415.GB24302@lst.de> References: <20220322155606.1267165-1-hch@lst.de> <20220322155606.1267165-4-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Wed, Mar 23, 2022 at 08:00:48AM +0800, Qu Wenruo wrote: >> When a bio is split in btrfs_submit_direct, dip->file_offset contains >> the file offset for the first bio. But this means the start value used >> in btrfs_end_dio_bio to record the write location for zone devices is >> icorrect for subsequent bios. >> >> Signed-off-by: Christoph Hellwig > > Maybe better to be folded with previous patch? Well, it fixes a separate issue.