aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/stack.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-10-19 14:32:38 +0200
committerJens Axboe <axboe@kernel.dk>2011-10-19 14:32:38 +0200
commite3c78ca524d230bc145e902625e88c392a58ddf3 (patch)
tree833eb544dd4180fd626f60da17788aae7830f4dc /fs/stack.c
parentblock: drop unnecessary blk_get/put_queue() in scsi_cmd_ioctl() and blk_get_tg() (diff)
downloadwireguard-linux-e3c78ca524d230bc145e902625e88c392a58ddf3.tar.xz
wireguard-linux-e3c78ca524d230bc145e902625e88c392a58ddf3.zip
block: reorganize queue draining
Reorganize queue draining related code in preparation of queue exit changes. * Factor out actual draining from elv_quiesce_start() to blk_drain_queue(). * Make elv_quiesce_start/end() responsible for their own locking. * Replace open-coded ELVSWITCH clearing in elevator_switch() with elv_quiesce_end(). This patch doesn't cause any visible functional difference. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/stack.c')
0 files changed, 0 insertions, 0 deletions