From: Jarkko Lavinen Date: Mon, 14 Feb 2011 14:16:09 +0000 (+0200) Subject: mtd_blkdevs: Add background processing support X-Git-Tag: v2.6.39-rc1~40^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7519dbf6f4b4408229d279d799c938ffdd06f21;p=pandora-kernel.git mtd_blkdevs: Add background processing support Add a new background method into mtd_blktrans_ops, add background support into mtd_blktrans_thread(), and add mtd_blktrans_cease_background(). If the mtd blktrans dev has the background support, the thread will call background function when the request queue becomes empty. The background operation may run as long as needs to until mtd_blktrans_cease_background() tells to stop. Signed-off-by: Jarkko Lavinen Tested-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed