block: add support for write hints in a bio
authorJens Axboe <axboe@kernel.dk>
Fri, 16 Jun 2017 17:15:32 +0000 (11:15 -0600)
committerJens Axboe <axboe@fb.com>
Fri, 16 Jun 2017 17:19:38 +0000 (11:19 -0600)
commita9626426a26c00be0ca7b917ceba4e932723ba82
treee528df942e647ebb7314e61144260c4d4ac55542
parent05f3e8cedcbfb91998e1a5316ed5ec3f14c60981
block: add support for write hints in a bio

No functional changes in this patch, we just set aside 3 bits
in the bio/request flags, which can be used to hold a WRITE_HINT_*
life time hint.

Ensure that we don't merge requests that have different life time
hints assigned to them.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-merge.c
include/linux/blk_types.h