umem: fix up unplugging
authorTao Guo <glorioustao@gmail.com>
Wed, 13 Jun 2012 19:17:21 +0000 (21:17 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 13 Jun 2012 19:17:21 +0000 (21:17 +0200)
commit32587371ad3db2f9d335de10dbd8cffd4fff5669
tree46d8de7a745a2b15ade6f9d5f187e743dcb5d1e9
parent047fe3605235888f3ebcda0c728cb31937eadfe6
umem: fix up unplugging

Fix a regression introduced by 7eaceaccab5f40 ("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: Tao 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: NeilBrown <neilb@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/umem.c