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 1ED59C6FD18 for ; Wed, 19 Apr 2023 04:30:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230211AbjDSEau (ORCPT ); Wed, 19 Apr 2023 00:30:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229633AbjDSEat (ORCPT ); Wed, 19 Apr 2023 00:30:49 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2F2D61A9 for ; Tue, 18 Apr 2023 21:30:48 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 9D05F6732D; Wed, 19 Apr 2023 06:30:44 +0200 (CEST) Date: Wed, 19 Apr 2023 06:30:44 +0200 From: Christoph Hellwig To: Bart Van Assche Cc: Jens Axboe , linux-block@vger.kernel.org, Jaegeuk Kim , Christoph Hellwig , Damien Le Moal , Ming Lei Subject: Re: [PATCH v2 06/11] block: mq-deadline: Disable head insertion for zoned writes Message-ID: <20230419043044.GC25329@lst.de> References: <20230418224002.1195163-1-bvanassche@acm.org> <20230418224002.1195163-7-bvanassche@acm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230418224002.1195163-7-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 Tue, Apr 18, 2023 at 03:39:57PM -0700, Bart Van Assche wrote: > Make sure that zoned writes (REQ_OP_WRITE and REQ_OP_WRITE_ZEROES) are > submitted in LBA order. This patch does not affect REQ_OP_WRITE_APPEND > requests. As said before this is not correct. What we need to instead is to support proper patch insertation when the at_head flag is set so that the requests get inserted before the existing requests, but in ordered they are passed to the I/O scheduler. This also needs to be done for the other two I/O schedulers.