block: add support for write hints in a bio
authorJens Axboe <axboe@kernel.dk>
Tue, 20 Jun 2017 13:29:23 +0000 (07:29 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 21 Jun 2017 00:08:02 +0000 (18:08 -0600)
commit7a5f3af8966903ab2edc0a636b50a08f7c40f7f9
tree7c03450018d7752b7d878bec975bb134f9d66888
parentb2a03ebe185cbd9a1e703e32a5d6878db30d8631
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_LIFE_*
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