Skip to content
  • Tejun Heo's avatar
    block: extend queue bypassing to cover blkcg policies · 6ecf23af
    Tejun Heo authored
    
    
    Extend queue bypassing such that dying queue is always bypassing and
    blk-throttle is drained on bypass.  With blkcg policies updated to
    test blk_queue_bypass() instead of blk_queue_dead(), this ensures that
    no bio or request is held by or going through blkcg policies on a
    bypassing queue.
    
    This will be used to implement blkg cleanup on elevator switches and
    policy changes.
    
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Cc: Vivek Goyal <vgoyal@redhat.com>
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    6ecf23af