]> git.karo-electronics.de Git - karo-tx-linux.git/commit
umem: fix up unplugging
authorTao Guo <glorioustao@gmail.com>
Wed, 25 Apr 2012 01:03:09 +0000 (11:03 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 30 Apr 2012 05:17:07 +0000 (15:17 +1000)
commit8ff6c077dbc705b94d703bf58626f700d2dc96f1
tree3b6c6ec357bad52daf4f5569545486bccb287598
parent60d26b96c53f289e82d7de6f53418e4d72787f5b
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: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/block/umem.c