Linux block layer
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Reduce code duplication
@ 2017-04-19 21:01 Bart Van Assche
  2017-04-19 21:01 ` [PATCH v2 1/5] block: Export blk_init_request_from_bio() Bart Van Assche
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Bart Van Assche @ 2017-04-19 21:01 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-block, Bart Van Assche

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(-)

-- 
2.12.2

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-04-20  8:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-19 21:01 [PATCH v2 0/5] Reduce code duplication Bart Van Assche
2017-04-19 21:01 ` [PATCH v2 1/5] block: Export blk_init_request_from_bio() Bart Van Assche
2017-04-20  8:30   ` Johannes Thumshirn
2017-04-19 21:01 ` [PATCH v2 2/5] null_blk: Use blk_init_request_from_bio() instead of open-coding it Bart Van Assche
2017-04-20  8:30   ` Johannes Thumshirn
2017-04-19 21:01 ` [PATCH v2 3/5] lightnvm: " Bart Van Assche
2017-04-20  8:30   ` Johannes Thumshirn
2017-04-19 21:01 ` [PATCH v2 4/5] block: Inline blk_rq_set_prio() Bart Van Assche
2017-04-20  8:31   ` Johannes Thumshirn
2017-04-19 21:01 ` [PATCH v2 5/5] block: Optimize ioprio_best() Bart Van Assche
2017-04-19 23:52 ` [PATCH v2 0/5] Reduce code duplication Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox