Forked from
Linaro / linux / kernel / torvalds / linux
387738 commits behind the upstream repository.
-
Jens Axboe authored
Instead of letting the caller check this and handle the details of inserting a flush request, put the logic in the scheduler insertion function. This fixes direct flush insertion outside of the usual make_request_fn calls, like from dm via blk_insert_cloned_request(). Signed-off-by:
Jens Axboe <axboe@fb.com>
bd6737f1