[PATCH 0/4] some random cleanups for blk-mq.c

From: Jinlong Chen
Date: Tue Nov 01 2022 - 11:15:29 EST


Patch 1 updates the outdated comment of blk_mq_quiesce_queue_nowait().
Patch 2 improves the error handling blk_mq_alloc_rq_map(). Patch 3 and 4
improve readability of request alloc routines.

Jinlong Chen (4):
blk-mq: update comment for blk_mq_quiesce_queue_nowait()
blk-mq: improve error handling in blk_mq_alloc_rq_map()
blk-mq: use if-else instead of goto in blk_mq_alloc_cached_request()
blk-mq: improve readability of blk_mq_alloc_request()

block/blk-mq.c | 105 ++++++++++++++++++++++++++++---------------------
1 file changed, 61 insertions(+), 44 deletions(-)

--
2.31.1