[PATCH RFC v3 0/7] lib/sbitmap: fix shallow_depth tag allocation

Yu Kuai posted 7 patches 1 year, 1 month ago
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(-)
[PATCH RFC v3 0/7] lib/sbitmap: fix shallow_depth tag allocation
Posted by Yu Kuai 1 year, 1 month ago
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
Re: [PATCH RFC v3 0/7] lib/sbitmap: fix shallow_depth tag allocation
Posted by Yu Kuai 12 months ago
在 2024/12/21 17:37, Yu Kuai 写道:
> 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;
> 

Friendly ping ...

> 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(-)
>