Skip to content

some random cleanups for blk-mq.c

Jinlong Chen linux-block lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 4 repliesIn review
  2. v22 patches 2 repliesApplied
  3. v14 patches 10 repliesSuperseded

Changes in v3 from the cover letter

- add Reviewed-by: tag from Christoph

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2blk-mq: improve error handling in blk_mq_alloc_rq_map()block/blk-mq.c+10 -92 replies
2/2blk-mq: use if-else instead of goto in blk_mq_alloc_cached_request()block/blk-mq.c+14 -132 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchChristoph HellwigChaitanya Kulkarni
1/2R-b R-b
2/2R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] some random cleanups for blk-mq.c

Patch 1 improves the error handling blk_mq_alloc_rq_map(). Patch 2 improves readability of blk_mq_alloc_cached_request().

Changes in v3:
- add Reviewed-by: tag from Christoph

Changes in v2:
- drop wrong and worthless patches, suggested by Christoph, Jens and Chaitanya
- remove silly goto-return-NULL in patch 1 (patch 2 originally), suggested by Christoph and Jens

Jinlong Chen (2):
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()

 block/blk-mq.c | 46 ++++++++++++++++++++++++----------------------
 1 file changed, 24 insertions(+), 22 deletions(-)
Signature · 1 line
2.31.1