Skip to content
  • Tao Guo's avatar
    umem: fix up unplugging · 32587371
    Tao Guo authored
    Fix a regression introduced by 7eaceacc
    
     ("block: remove per-queue
    plugging").  In that patch, Jens removed the whole mm_unplug_device()
    function, which used to be the trigger to make umem start to work.
    
    We need to implement unplugging to make umem start to work, or I/O will
    never be triggered.
    
    Signed-off-by: default avatarTao Guo <Tao.Guo@emc.com>
    Cc: Neil Brown <neilb@suse.de>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Shaohua Li <shli@kernel.org>
    Cc: <stable@vger.kernel.org>
    Acked-by: default avatarNeilBrown <neilb@suse.de>
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    32587371