Reduce code duplication
Status from this message: Applied, thanks Bart.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 5 repliesApplied
- v15 patches 7 repliesSuperseded
Changes in v2 from the cover letter
- Converted ternary operators into an if/then/else-sequence.
- Used EXPORT_SYMBOL_GPL() to export block layer internals.
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | block: Export blk_init_request_from_bio()block/ block/ block/ +1 more | +5 | 1 reply | |
| 2/5 | null_blk: Use blk_init_request_from_bio() instead of open-coding itdrivers/ | +1 | 1 reply | |
| 3/5 | lightnvm: Use blk_init_request_from_bio() instead of open-coding itdrivers/ | +1 | 1 reply | |
| 4/5 | block: Inline blk_rq_set_prio()block/ include/ | +6 | 1 reply | |
| 5/5 | block: Optimize ioprio_best()block/ | +1 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Christoph Hellwig | Adam Manzanares | Johannes Thumshirn |
|---|---|---|---|
| 1/5 | R-b | R-b | |
| 2/5 | R-b | R-b | |
| 3/5 | R-b | R-b | |
| 4/5 | R-b | R-b T-b | R-b |
| 5/5 | R-b | R-b T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v2 0/5] Reduce code duplication
Hello Jens,
This series contains three patches intended to reduce code duplication and two patches that simplify / optimize I/O priority handling. Please consider these patches for kernel v4.12.
Thanks,
Bart.
Changes compared to v1:
- Converted ternary operators into an if/then/else-sequence.
- Used EXPORT_SYMBOL_GPL() to export block layer internals.
Bart Van Assche (5):
block: Export blk_init_request_from_bio()
null_blk: Use blk_init_request_from_bio() instead of open-coding it
lightnvm: Use blk_init_request_from_bio() instead of open-coding it
block: Inline blk_rq_set_prio()
block: Optimize ioprio_best()
block/blk-core.c | 12 +++++++++--- block/blk-mq.c | 2 +- block/blk.h | 1 - block/ioprio.c | 12 +----------- drivers/block/null_blk.c | 9 +-------- drivers/nvme/host/lightnvm.c | 6 +----- include/linux/blkdev.h | 15 +-------------- 7 files changed, 14 insertions(+), 43 deletions(-)
Signature · 1 line
2.12.2