aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorKiyoshi Ueda <k-ueda@ct.jp.nec.com>2007-12-11 17:41:54 -0500
committerJens Axboe <jens.axboe@oracle.com>2008-01-28 04:35:57 -0500
commit9e6e39f2c478fff2e9d3430cdfe6730877942ed6 (patch)
treeb01b289b331ff899393afcd4651fa75aaec19e1c /samples
parent3b11313a6c2a42425bf06e92528bda6affd58dec (diff)
blk_end_request: changing block layer core (take 4)
This patch converts core parts of block layer to use blk_end_request interfaces. Related 'uptodate' arguments are converted to 'error'. 'dequeue' argument was originally introduced for end_dequeued_request(), where no attempt should be made to dequeue the request as it's already dequeued. However, it's not necessary as it can be checked with list_empty(&rq->queuelist). (Dequeued request has empty list and queued request doesn't.) And it has been done in blk_end_request interfaces. As a result of this patch, end_queued_request() and end_dequeued_request() become identical. A future patch will merge and rename them and change users of those functions. Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com> Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions