Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1117260lqo; Fri, 17 May 2024 11:08:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWRo/qjX+nkgOxbEfXTKaCOGgyQklVPVylSWjFB2DlnfuD49b0OoWbSzjBMzekg1cW2toRgJA3OwsW/6rKtJFg/BBS2KF25KhaYlEQ7vw== X-Google-Smtp-Source: AGHT+IF875Mw6w8xY7HJ8zZV0ZT0dVW7R4nC46YpV9CW9ry/YvN3GE0Ru3URczLS5IzbKNO5KGq8 X-Received: by 2002:a17:907:9455:b0:a59:b88c:2b2a with SMTP id a640c23a62f3a-a5a2d66a7cdmr1814020166b.50.1715969310487; Fri, 17 May 2024 11:08:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715969310; cv=pass; d=google.com; s=arc-20160816; b=s/0wDg3ux7Gb2pd6MjQ/P9hCgJo6RkZpdbXRhOWVOhi1CQxfn93nJBMKzKAj74DSpi 7eDzafBmTrbYAu+X9NnOpCBpBiImhK5SyaId2DP7L8jMGpRXTe1AGcCerLSGA/mIaioe iF6lhnGWzmNeon9jEsCBbuZXF/v7dSgMf9vYPndUJGnrLhPwCZidB+MW2VGc9+DdjPPX P/sqpWwE+CmnRrUe3DIQ4Y0yVvHFdDchlsf4cZ5eA73qNXIAN4muR8kSrlMsQwmBALrq tjQeTykMltepGDMYpI5I6iRcCJSiRh4YgR7bh6DLxlM7dFoTPG5Flu7J2ao6QPrWdj/M Eh+Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=jQXTQPeZqoXtx1IhRfOgOt67vYHFNjCd5WEjfEKAqBg=; fh=o+AtU/xed29T4V1jPfO4OaT5E5e2XoivmiQlfcN44yc=; b=ijBpjX06WNBuUUG6qudz1erW1ygurDsHEiYia3hlbukZJGsy23MugWNeftPTugve/0 BD1wYBkL9S/nApgx4Jbr/9wsnEcg7MnR9UueS2qnrMZUGcgRi7zjprC2S7bCIYMr7miX 8M6fYroFnVCfg2uDygx6pkqhAiVIwwZ6+V2RWozkAwjIW+t1Gvea3it7+h+Kz1ME1Erz NERRjkWoxCaDX8kGbBrQ1SsOas7QmI5s5OHMY2kd25Gt6aSgSKRyDF9RDEYjC80IKTXG acj0421zwvP1CGj5zAqfcgj+vcU+XG25/vqj0ivGW96/EPShpTJRIUz4sQpaQmDt2nDs Y0lg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@acm.org header.s=mr01 header.b=zOQCDy+J; arc=pass (i=1 spf=pass spfdomain=acm.org dkim=pass dkdomain=acm.org dmarc=pass fromdomain=acm.org); spf=pass (google.com: domain of linux-kernel+bounces-182493-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182493-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=acm.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17c2c9dfsi1008281166b.1012.2024.05.17.11.08.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 11:08:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182493-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@acm.org header.s=mr01 header.b=zOQCDy+J; arc=pass (i=1 spf=pass spfdomain=acm.org dkim=pass dkdomain=acm.org dmarc=pass fromdomain=acm.org); spf=pass (google.com: domain of linux-kernel+bounces-182493-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182493-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=acm.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 3411E1F28F5E for ; Fri, 17 May 2024 17:57:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1559C13FD96; Fri, 17 May 2024 17:53:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b="zOQCDy+J" Received: from 009.lax.mailroute.net (009.lax.mailroute.net [199.89.1.12]) (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 ACDE913DDCF; Fri, 17 May 2024 17:53:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=199.89.1.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715968430; cv=none; b=ZTYQHropLJQEWqtdt+N+bUTLHHLvspycXgOtUHzox286CSlde+Cjkmp0/qgieHUCyF1d9abgfsxg5ublj7Vg7DYBs9V1o8DxVqXQ11xQOiboQjzY6/SFn7BhM3hnWj1QpQYAXgpC2yXg0CvQZIQgDMRLIFgu9eGMLT7+I1645C8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715968430; c=relaxed/simple; bh=jQXTQPeZqoXtx1IhRfOgOt67vYHFNjCd5WEjfEKAqBg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=k3H8/E1qw/l1SSdsm0oomy+RkEaP5C1m82Y7dMrAAt4Buh7wfJr5C/0vhHl0907xZaT6UkYcVOE1j2e+wVXzYNnUdPXw+Ue84oaHfyOGVPuuFDmiyXc/wDe2Je/wE4ktReq3Fh5qLgaNonO39M4q+xvoCWB/IJfYX1PxONnqQtU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=acm.org; spf=pass smtp.mailfrom=acm.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b=zOQCDy+J; arc=none smtp.client-ip=199.89.1.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=acm.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=acm.org Received: from localhost (localhost [127.0.0.1]) by 009.lax.mailroute.net (Postfix) with ESMTP id 4Vgvhk527TzlgMVL; Fri, 17 May 2024 17:53:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=acm.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :from:from:content-language:references:subject:subject :user-agent:mime-version:date:date:message-id:received:received; s=mr01; t=1715968420; x=1718560421; bh=jQXTQPeZqoXtx1IhRfOgOt67 vYHFNjCd5WEjfEKAqBg=; b=zOQCDy+JXun87BS5Zf1SeRYgIF8oquMBhmi2cI2s T/GNXav015FLvig8Zf3b4+9nRFMOGWb1AFqXz4WazCD6cQEnWgbdT7twa69+XjK8 6fSMg8c+fVFdT51/1k+Ik+sTZJrGk0fVCGMgQR19jz5Wl8jjbj/UMn7hIwaov7wX 0PRZbf7N8K2P770egm5CcbcUYakflh5PpGCkHW60kBJqDntyKU5h9ZmLhjp/RnCe HO6z8GYSQUB9hgOPKUACsgDGehN/kYqekm8PvO2CR13JWeNhn7RDtDY/Q0k4wZK/ JyWW8efzUmYLGZgSobKFedWmEc9fVyUto6l9bU51+glh+Q== X-Virus-Scanned: by MailRoute Received: from 009.lax.mailroute.net ([127.0.0.1]) by localhost (009.lax [127.0.0.1]) (mroute_mailscanner, port 10029) with LMTP id DHFzKuMgcXiC; Fri, 17 May 2024 17:53:40 +0000 (UTC) Received: from [100.96.154.26] (unknown [104.132.0.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bvanassche@acm.org) by 009.lax.mailroute.net (Postfix) with ESMTPSA id 4Vgvhg0kSczlgT1K; Fri, 17 May 2024 17:53:38 +0000 (UTC) Message-ID: Date: Fri, 17 May 2024 10:53:35 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH stable] block/mq-deadline: fix different priority request on the same zone To: Wu Bo Cc: axboe@kernel.dk, dlemoal@kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, wubo.oduw@gmail.com References: <20240517014456.1919588-1-bo.wu@vivo.com> Content-Language: en-US From: Bart Van Assche In-Reply-To: <20240517014456.1919588-1-bo.wu@vivo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 5/16/24 18:44, Wu Bo wrote: > So I figured this solution to fix this priority issue on zoned device. It sure > raises the overhead but can do fix it. Something I should have realized earlier is that this patch is not necessary with the latest upstream kernel (v6.10-rc1). Damien's zoned write plugging patch series has been merged. Hence, I/O schedulers, including the mq-deadline I/O schedulers, will only see a single zoned write at a time per zone. So it is no longer possible that zoned writes are reordered by the I/O scheduler because of their I/O priorities. Thanks, Bart.