block: reorganize request fetching functions
authorTejun Heo <tj@kernel.org>
Thu, 23 Apr 2009 02:05:18 +0000 (11:05 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 28 Apr 2009 05:37:34 +0000 (07:37 +0200)
commit158dbda0068e63c7cce7bd47c123bd1dfa5a902c
tree2665f31350ba4f0875c7611c980b0831c22d8c98
parent5efccd17ceb0fc43837a331297c2c407969d7201
block: reorganize request fetching functions

Impact: code reorganization

elv_next_request() and elv_dequeue_request() are public block layer
interface than actual elevator implementation.  They mostly deal with
how requests interact with block layer and low level drivers at the
beginning of rqeuest processing whereas __elv_next_request() is the
actual eleveator request fetching interface.

Move the two functions to blk-core.c.  This prepares for further
interface cleanup.

Signed-off-by: Tejun Heo <tj@kernel.org>
block/blk-core.c
block/blk.h
block/elevator.c