]> git.karo-electronics.de Git - karo-tx-linux.git/commit
blk_end_request: add/export functions to get request size (take 4)
authorKiyoshi Ueda <k-ueda@ct.jp.nec.com>
Tue, 11 Dec 2007 22:41:17 +0000 (17:41 -0500)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 28 Jan 2008 09:35:56 +0000 (10:35 +0100)
commit3b11313a6c2a42425bf06e92528bda6affd58dec
treec2d550b2954c106387f1ebe6badb387603002202
parent336cdb4003200a90f4fc52a4e9ccc2baa570fffb
blk_end_request: add/export functions to get request size (take 4)

This patch adds/exports functions to get the size of request in bytes.
They are useful because blk_end_request interfaces take bytes
as a completed I/O size instead of sectors.

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>
block/ll_rw_blk.c
include/linux/blkdev.h