]> git.karo-electronics.de Git - karo-tx-linux.git/commit
blk: pass from_schedule to non-request unplug functions.
authorNeilBrown <neilb@suse.de>
Thu, 19 Jul 2012 10:49:56 +0000 (20:49 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 19 Jul 2012 10:49:56 +0000 (20:49 +1000)
commitd86bc35204fb982972cf0cc197db2c2f47c2485b
treeec08034f2baa84babb6c0d370af0518a9b94fbef
parent747d8879acc8ff4ac1b8a3937144d18b3d91af0c
blk: pass from_schedule to non-request unplug functions.

This will allow md/raid to know why the unplug was called,
and will be able to act according - if !from_schedule it
is safe to perform tasks which could themselves schedule.

Signed-off-by: NeilBrown <neilb@suse.de>
block/blk-core.c
drivers/block/umem.c
drivers/md/md.c
drivers/md/md.h
include/linux/blkdev.h