[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241221093710.926309-1-yukuai1@huaweicloud.com>
Date: Sat, 21 Dec 2024 17:37:03 +0800
From: Yu Kuai <yukuai1@...weicloud.com>
To: axboe@...nel.dk,
akpm@...ux-foundation.org,
ming.lei@...hat.com,
yang.yang@...o.com,
yukuai3@...wei.com,
bvanassche@....org
Cc: linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org,
yukuai1@...weicloud.com,
yi.zhang@...wei.com,
yangerkun@...wei.com
Subject: [PATCH RFC v3 0/7] lib/sbitmap: fix shallow_depth tag allocation
From: Yu Kuai <yukuai3@...wei.com>
Changes in RFC v3:
- only patch 1,2 is from v1/v2, others are new patches, in order to change
async_depth to request queue attribute.
Changes in RFC v2:
- update commit message for patch 1;
- also handle min_shallow_depth in patch 2;
- add patch 3 to choose none elevator by default;
- add patch 4 to fix default wake_batch;
Yu Kuai (7):
lib/sbitmap: convert shallow_depth from one word to the whole sbitmap
lib/sbitmap: make sbitmap_get_shallow() internal
block/elevator: add new ops async_depth_updated()
block: change the filed nr_requests to unsgined int in request_queue
block: add new queue sysfs api async_depth
block/mq-deadline: switch to use queue async_depth
block/kyber-iosched: switch to use queue async_depth
block/blk-sysfs.c | 35 ++++++++++++++++++++
block/elevator.h | 1 +
block/kyber-iosched.c | 31 +++--------------
block/mq-deadline.c | 57 ++++++--------------------------
include/linux/blkdev.h | 8 ++++-
include/linux/sbitmap.h | 19 +----------
lib/sbitmap.c | 73 +++++++++++++++++++++++++----------------
7 files changed, 103 insertions(+), 121 deletions(-)
--
2.39.2
Powered by blists - more mailing lists