Received: by 2002:a05:7412:8d1c:b0:fa:4c10:6cad with SMTP id bj28csp457478rdb; Wed, 17 Jan 2024 07:12:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IHyRGgXAeCuujqAph3C07uxjTzhA9oguNUm5WWhIDILrDvtadsJ7ZcCmBcV0kL4492wNzx+ X-Received: by 2002:a17:907:9007:b0:a28:d122:ef4a with SMTP id ay7-20020a170907900700b00a28d122ef4amr2553498ejc.125.1705504334949; Wed, 17 Jan 2024 07:12:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705504334; cv=pass; d=google.com; s=arc-20160816; b=0k+9rtM8KadQF48LMqfNt/q4jlvnTBnR0pxmGxKwQyzOX5o0cv5+jEtvg8RgTvJxDh VgdnWl0jI9RYDF5NZgtPmziDT0WNb4pPb9RXaI6caUuojW3RJQZPYuvg/aJKL47Cs/d5 2tuD/EuPdxGswvMclhHTV8KKOXyCAPunPTxzYHcHdL8yJ3dbVKEp0AoKO79f7m/bJHlH Y1/V4mvDhX2aJJVAUU47IE5iEiTLJ4DUDNH3wwNm4HICcHbLV/zzuTvWqDErpVMYBEr0 W/PX4lOuaf81kvc0TxbQGqa5JIcpOkQtgaAfIhXlazx5kq4r9mZN50FH2hPkwMSTtIJY 1J+w== 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:references:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=rR1OOHftyBGyWWY9K816Dw48k3bEGfabs7ur5xEB/dU=; fh=mgz7T0e3Gmbi/l5hhGZI/K8dGGeugDg+x4sbWiiSFWo=; b=ALyTSDk9pRV3dUMQ+KdkcDPx0VaukIIiCQOko9tfK1C+WgdyaJtI1r87vX60MZDVSL ntoug4v/QQqMaALG9Awsx+4zBGLpBMpxTmBe1h6bz0UdL9xGF7Zu9MhLCaQUR5Cxa5ya +tL9FwjzZJkkzMHybOc1WpRSNwNBozyK1RgWbrtOFRUz/LvegXHVGcFASQ1foqk010sW u+giXG2GpsWRcbsVXc6toGGu6CKaLOC7syAjf5heHB2EG9fKL/KEO/wD1b7zPzEmR8ZO Hls8OItQm9E9X+LJfMfKrfOkdBXYQ+JpneANzBdCgqvBs+sYAUxc1VvvWNqHlkcSQ7oQ MjXg== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-29129-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29129-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id k25-20020a170906a39900b00a256eddd7dasi5919713ejz.89.2024.01.17.07.12.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 07:12:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-29129-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; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-29129-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29129-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com 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 AE2771F21DB8 for ; Wed, 17 Jan 2024 15:12:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D8E321379; Wed, 17 Jan 2024 15:12:04 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0828F21347; Wed, 17 Jan 2024 15:12:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705504324; cv=none; b=t3uFqycTzxRkPE+/jbRkOqBKbXCQMPmYllpMPBRAE8hu4IccxtV4EpBqyZbW7SzYhVqOgyu3W1Wjfi2991gyr44xMp9HD0uE5UIklnkpgpxMqMOTHtTQYRNAZUgqabwDXwuzApI1j6OTeiAyi89J52VVCR+2xgoRQgpbEE9oIR8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705504324; c=relaxed/simple; bh=acCBulbuXyCgYg9lJzUatUvbDs5kj9YLkW2CYVibaBY=; h=Received:Received:Message-ID:Date:MIME-Version:User-Agent:Subject: Content-Language:To:References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; b=Ydxt7LAjVJV9pm2srOosvpJFbypikQ5/aBPGSdPoP/WkgldH6p1CFEwfrW1hTMyhayhN/vRufqb0c/iSfQIP5xT+j8dwGA2zwaobcpfb94GYSE2AqS7uDQdONx8QCroT1i9987GsoWm2hZVrEbN3ZLatX4NDG103mBCxmepgcP0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 749B311FB; Wed, 17 Jan 2024 07:12:47 -0800 (PST) Received: from [10.1.26.46] (e133047.arm.com [10.1.26.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CF9593F5A1; Wed, 17 Jan 2024 07:11:59 -0800 (PST) Message-ID: Date: Wed, 17 Jan 2024 15:11:52 +0000 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] Documentation: block: ioprio: Update schedulers Content-Language: en-US To: Johannes Thumshirn , "linux-kernel@vger.kernel.org" , "axboe@kernel.dk" , "bvanassche@acm.org" , "linux-block@vger.kernel.org" , "corbet@lwn.net" References: <8085ea13-29d2-46bd-8ca9-407d22266d0c@wdc.com> From: Christian Loehle In-Reply-To: <8085ea13-29d2-46bd-8ca9-407d22266d0c@wdc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 17/01/2024 12:49, Johannes Thumshirn wrote: > On 17.01.24 13:20, Christian Loehle wrote: >> This doc hasn't been touched in a while, in the meantime some >> new io schedulers were added (e.g. all of mq), some with ioprio >> support. >> >> Signed-off-by: Christian Loehle >> --- >> Documentation/block/ioprio.rst | 8 ++++---- >> 1 file changed, 4 insertions(+), 4 deletions(-) >> >> diff --git a/Documentation/block/ioprio.rst b/Documentation/block/ioprio.rst >> index a25c6d5df87b..5410308888d2 100644 >> --- a/Documentation/block/ioprio.rst >> +++ b/Documentation/block/ioprio.rst >> @@ -9,14 +9,14 @@ Intro >> With the introduction of cfq v3 (aka cfq-ts or time sliced cfq), basic io >> priorities are supported for reads on files. This enables users to io nice >> processes or process groups, similar to what has been possible with cpu >> -scheduling for ages. This document mainly details the current possibilities >> -with cfq; other io schedulers do not support io priorities thus far. >> +scheduling for ages. Support for io priorities is io scheduler dependent and >> +currently supported by bfq, mq-deadline and cfq. > > CFQ went away with blk-mq and got replaced by BFQ IIRC. Right, I'll remove the mentioning of CFQ here and in the introductory sentence. The introductory sentence also mentions "basic io priorities are supported for reads on files", a limitation which hasn't been there in a long time. Thanks, will send out v2 tomorrow. > > >> >> Scheduling classes >> ------------------ >> >> -CFQ implements three generic scheduling classes that determine how io is >> -served for a process. >> +Three generic scheduling classes are implemented for io priorities that >> +determine how io is served for a process. >> >> IOPRIO_CLASS_RT: This is the realtime io class. This scheduling class is given >> higher priority than any other in the system, processes from this class are >