• Tejun Heo's avatar
    blk-mq: remove REQ_ATOM_STARTED · 5a61c363
    Tejun Heo authored
    After the recent updates to use generation number and state based
    synchronization, we can easily replace REQ_ATOM_STARTED usages by
    adding an extra state to distinguish completed but not yet freed
    state.
    
    Add MQ_RQ_COMPLETE and replace REQ_ATOM_STARTED usages with
    blk_mq_rq_state() tests.  REQ_ATOM_STARTED no longer has any users
    left and is removed.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    5a61c363
blk.h 9.62 KB