patch: ll_rw_blk fixes

From: Jens Axboe (axboe@suse.de)
Date: Wed Jan 26 2000 - 10:36:43 EST


Hi,

The attached patch continues the work that Eric Youngdale has
done with the queueing code.

The request merging code has been changed to include default
functions for request merges. Drivers that wish to apply different
rules to request merging, can now do so by filling in merge_fn
and merge_requests_fn after calling blk_init_queue(). The
ll_rw_blk default functions provide the same functionality
as before.

The new queueing code has a member indicating whether the
current_request is active or not. Low do not have an active
request head, should call blk_init_headactive(q, 0) and
they already do. This means that we can get rid of the
massive switch statement in __make_request.

-- 
*  Jens Axboe <axboe@suse.de>
*  Linux CD-ROM Maintainer
*  http://www.kernel.dk


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:16 EST