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 6FBFAC761A6 for ; Sat, 18 Mar 2023 06:29:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229850AbjCRG3Q (ORCPT ); Sat, 18 Mar 2023 02:29:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229575AbjCRG3P (ORCPT ); Sat, 18 Mar 2023 02:29:15 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2BA1399C6 for ; Fri, 17 Mar 2023 23:29:12 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 80B8468C4E; Sat, 18 Mar 2023 07:29:09 +0100 (CET) Date: Sat, 18 Mar 2023 07:29:09 +0100 From: Christoph Hellwig To: Bart Van Assche Cc: Jens Axboe , linux-block@vger.kernel.org, Jaegeuk Kim , Christoph Hellwig , Jan Kara Subject: Re: [PATCH 0/2] Submit split bios in LBA order Message-ID: <20230318062909.GB24880@lst.de> References: <20230317195938.1745318-1-bvanassche@acm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230317195938.1745318-1-bvanassche@acm.org> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Fri, Mar 17, 2023 at 12:59:36PM -0700, Bart Van Assche wrote: > Hi Jens, > > For zoned storage it is essential that split bios are submitted in LBA order. > This patch series realizes this by modifying __bio_split_to_limits() such that > it submits the first bio fragment and returns the remainder instead of > submitting the remainder and returning the first bio fragment. Please consider > this patch series for the next merge window. Why are you sending large writes using REQ_OP_WRITE and not using REQ_OP_ZONE_APPEND which side steps all these issues?