[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230328145701.33699-4-zhouchengming@bytedance.com>
Date: Tue, 28 Mar 2023 22:57:01 +0800
From: Chengming Zhou <zhouchengming@...edance.com>
To: paolo.valente@...aro.org, axboe@...nel.dk, tj@...nel.org,
josef@...icpanda.com
Cc: linux-block@...r.kernel.org, cgroups@...r.kernel.org,
linux-kernel@...r.kernel.org,
Chengming Zhou <zhouchengming@...edance.com>
Subject: [PATCH 4/4] blk-cgroup: change BLKCG_MAX_POLS back to 5
BLKCG_MAX_POLS is changed from 5 to 6 when mq-deadline-cgroup introduced,
then commit 0f7839955114 ("Revert "block/mq-deadline: Add cgroup support"")
reverted it. So change BLKCG_MAX_POLS back to 5.
Signed-off-by: Chengming Zhou <zhouchengming@...edance.com>
---
include/linux/blkdev.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 941304f17492..398f288bcf30 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -54,7 +54,7 @@ extern struct class block_class;
* Maximum number of blkcg policies allowed to be registered concurrently.
* Defined here to simplify include dependency.
*/
-#define BLKCG_MAX_POLS 6
+#define BLKCG_MAX_POLS 5
#define DISK_MAX_PARTS 256
#define DISK_NAME_LEN 32
--
2.39.2
Powered by blists - more mailing lists