summaryrefslogtreecommitdiffstats
path: root/include/linux/circ_buf.h
diff options
context:
space:
mode:
authorKiyoshi Ueda <k-ueda@ct.jp.nec.com>2007-12-11 17:50:03 -0500
committerJens Axboe <jens.axboe@oracle.com>2008-01-28 10:36:58 +0100
commit3daeea29f9348263e0dda89a565074390475bdf8 (patch)
tree24a3f3e63c0e348b8218ff2a3b2da1582166a43d /include/linux/circ_buf.h
parent5a330e39b13fe8d368d015338a4267129f502a55 (diff)
downloadblackbird-op-linux-3daeea29f9348263e0dda89a565074390475bdf8.tar.gz
blackbird-op-linux-3daeea29f9348263e0dda89a565074390475bdf8.zip
blk_end_request: changing cciss (take 4)
This patch converts cciss to use blk_end_request interfaces. Related 'uptodate' arguments are converted to 'error'. cciss is a little bit different from "normal" drivers. cciss directly calls bio_endio() and disk_stat_add() when completing request. But those can be replaced with __end_that_request_first(). After the replacement, request completion procedures of those drivers become like the following: o end_that_request_first() o add_disk_randomness() o end_that_request_last() This can be converted to blk_end_request() by following the rule (a) mentioned in the patch subject "[PATCH 01/30] blk_end_request: add new request completion interface". Cc: Mike Miller <mike.miller@hp.com> 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 'include/linux/circ_buf.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud