]> git.karo-electronics.de Git - karo-tx-linux.git/commit
umem: fix up unplugging
authorTao Guo <glorioustao@gmail.com>
Thu, 12 Apr 2012 22:51:37 +0000 (08:51 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 17 Apr 2012 03:47:03 +0000 (13:47 +1000)
commitac0eeb6b2a04b46553f7a9c04cb2aeb1c37717fd
tree636e0dc1e342ddad908bd2b2c624dff57cf94e58
parent412dba235b5fbe0eec6373d75bc7765ff32b85eb
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