• C
    blk-mq: make ->flush_rq fully transparent to drivers · 8727af4b
    Christoph Hellwig 提交于
    Drivers shouldn't have to care about the block layer setting aside a
    request to implement the flush state machine.  We already override the
    mq context and tag to make it more transparent, but so far haven't deal
    with the driver private data in the request.  Make sure to override this
    as well, and while we're at it add a proper helper sitting in blk-mq.c
    that implements the full impersonation.
    Signed-off-by: NChristoph Hellwig <hch@lst.de>
    Signed-off-by: NJens Axboe <axboe@fb.com>
    8727af4b
blk-mq.c 34.7 KB