Re: [PATCH 2/7] blk_end_request: add blk_rq_size() macros

2007-09-03 Thread Jens Axboe
On Fri, Aug 31 2007, Kiyoshi Ueda wrote: > This patch adds macros to get the size of request in bytes. > They are useful because blk_end_request() takes bytes > as a completed I/O size instead of sectors. > > Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> > Signed-off-by: Jun'ichi Nomura <[EMAIL

[PATCH 2/7] blk_end_request: add blk_rq_size() macros

2007-08-31 Thread Kiyoshi Ueda
This patch adds macros to get the size of request in bytes. They are useful because blk_end_request() takes bytes as a completed I/O size instead of sectors. Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- blkdev.h |9 + 1 files c