]> git.baikalelectronics.ru Git - kernel.git/commit
block: implement blk_queue_bypass_start/end()
authorTejun Heo <tj@kernel.org>
Mon, 5 Mar 2012 21:14:58 +0000 (13:14 -0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 6 Mar 2012 20:27:21 +0000 (21:27 +0100)
commitc27c62df5dc5a16f9255b5935943a2748bbdb3e8
treeea4e8e21df1b639603693e6f5fdfc5a620cd8737
parentb109e256ab965c9a7e7fbccecf9c9589524c6e5d
block: implement blk_queue_bypass_start/end()

Rename and extend elv_queisce_start/end() to
blk_queue_bypass_start/end() which are exported and supports nesting
via @q->bypass_depth.  Also add blk_queue_bypass() to test bypass
state.

This will be further extended and used for blkio_group management.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/blk.h
block/elevator.c
include/linux/blkdev.h