From: Yu Kuai <yukuai3@huawei.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