]> git.baikalelectronics.ru Git - kernel.git/commit
block: only force kblockd unplugging from the schedule() path
authorJens Axboe <jaxboe@fusionio.com>
Fri, 15 Apr 2011 13:49:07 +0000 (15:49 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Fri, 15 Apr 2011 13:49:07 +0000 (15:49 +0200)
commit5deea62029c3bc10e8d79d55f39de3aa5d1cfdfd
tree450065f77e95b6cd0eee13c9d8f721016be79839
parent64666e2ba5804bb648a72c5b32730e36dacb018c
block: only force kblockd unplugging from the schedule() path

For the explicit unplugging, we'd prefer to kick things off
immediately and not pay the penalty of the latency to switch
to kblockd. So let blk_finish_plug() do the run inline, while
the implicit-on-schedule-out unplug will punt to kblockd.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/blk-core.c
include/linux/blkdev.h