2022-10-11 15:41:02

by Dawei Li

[permalink] [raw]
Subject: [PATCH 0/2] block: queue flag helpers and atomic refcnt impl

This patchset includes enhancement on block layer:
1. Complete missing blk_queue_xxx() helpers which is responsible
for denoting whether an attribute of request queue is set.

2. Make the referene count of bfq_group/bfq_queue atomic.

Dawei Li (2):
block: Add helper for queue_flags bit test
block: Make refcnt of bfq_group/bfq_queue atomic

block/bfq-cgroup.c | 8 +++----
block/bfq-iosched.c | 54 ++++++++++++++++++++++--------------------
block/bfq-iosched.h | 6 ++---
block/bfq-wf2q.c | 6 ++---
block/blk-core.c | 7 +++---
block/blk-mq-tag.c | 8 +++----
block/blk-mq.c | 8 +++----
block/blk-mq.h | 2 +-
block/blk-settings.c | 2 +-
block/blk-sysfs.c | 12 +++++-----
block/blk-timeout.c | 2 +-
block/blk-wbt.c | 2 +-
include/linux/blkdev.h | 19 +++++++++++----
13 files changed, 71 insertions(+), 65 deletions(-)

--
2.25.1