block: add support for write hints in a bio
authorJens Axboe <axboe@kernel.dk>
Mon, 19 Jun 2017 16:52:19 +0000 (10:52 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 19 Jun 2017 16:52:19 +0000 (10:52 -0600)
commitd9e75c069eb8dfdfa947babf4d14c899f252aa9c
tree34b4c651b9fbd4e3ab7e971d030c86f643309f2e
parent9c17a17bd812e72b63bd81cd8e78e546a22fe077
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