block: elevator quiescing helpers
authorJens Axboe <jens.axboe@oracle.com>
Fri, 27 Mar 2009 09:30:47 +0000 (10:30 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 7 Apr 2009 06:12:37 +0000 (08:12 +0200)
commit6c7e8cee6a9128eeb7f83c3ad1cb243f77f5cb16
treef57ac6ab9e57a4e3317a54d04c39151d3bb942cf
parentd508afb437daee7cf07da085b635c44a4ebf9b38
block: elevator quiescing helpers

Simple helper functions to quiesce the request queue. These are
currently only used for switching IO schedulers on-the-fly, but
we can use them to properly switch IO accounting on and off as well.

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk.h
block/elevator.c