]> git.baikalelectronics.ru Git - kernel.git/commit
blk: pass from_schedule to non-request unplug functions.
authorNeilBrown <neilb@suse.de>
Tue, 31 Jul 2012 07:08:15 +0000 (09:08 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 31 Jul 2012 07:08:15 +0000 (09:08 +0200)
commit4c2d2613b519c3e7d309aaf2bcc974de3ccb0a54
tree03f01bca3a2d9f7cf31785fbe74e9ab76bb0d4cd
parent034db0664076c036e6ef440138898985db882ff0
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>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
drivers/block/umem.c
drivers/md/md.c
drivers/md/md.h
include/linux/blkdev.h