From: Bart Van Assche <bart.vanassche@sandisk.com>
To: Jens Axboe <axboe@kernel.dk>
Cc: <linux-block@vger.kernel.org>,
Bart Van Assche <bart.vanassche@sandisk.com>
Subject: [PATCH v2 0/5] Reduce code duplication
Date: Wed, 19 Apr 2017 14:01:23 -0700 [thread overview]
Message-ID: <20170419210128.28374-1-bart.vanassche@sandisk.com> (raw)
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
next reply other threads:[~2017-04-19 21:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-19 21:01 Bart Van Assche [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170419210128.28374-1-bart.vanassche@sandisk.com \
--to=bart.vanassche@sandisk.com \
--cc=axboe@kernel.dk \
--cc=linux-block@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox