]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit61e9a0421991f2108121a1fde470a3459dc0122e
tree2665f31350ba4f0875c7611c980b0831c22d8c98
parente2ab9cb6df70789ad3750188a5df21beef36b985
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