]> git.baikalelectronics.ru Git - kernel.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)
commit75d252703299d7b1e07206edfe31477671c1a615
treec2d550b2954c106387f1ebe6badb387603002202
parent92fd409b2a6b6de65e64d8b8811de3edf742496c
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