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>
Sat, 17 Jun 2017 19:54:15 +0000 (13:54 -0600)
commita0311a8e50b6247753801a24a82c08129b073ad8
treecd92c2b1f3d2484a8d390f81ae8236a1936febad
parent8cf10acc243994d6a734f5e22666d1629294292b
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