mbox series

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

Message ID cover.1667314759.git.nickyc975@zju.edu.cn (mailing list archive)
Headers show
Series some random cleanups for blk-mq.c | expand

Message

Jinlong Chen Nov. 1, 2022, 3:11 p.m. UTC
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(-)