]> git.karo-electronics.de Git - karo-tx-linux.git/commit
umem: fix up unplugging
authorTao Guo <glorioustao@gmail.com>
Thu, 3 May 2012 05:43:11 +0000 (15:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:12 +0000 (15:46 +1000)
commitd623b650637f54780f4afa794d4e0dd88168b405
tree6579d52603db9260832c66aec4427b491f291d24
parenta4903f85d40917c0308e3f6dba604cdf2e235aa7
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