blk-throttle: correctly determine sync bio
authorShaohua Li <shaohua.li@intel.com>
Mon, 1 Aug 2011 08:31:06 +0000 (10:31 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Mon, 1 Aug 2011 08:31:06 +0000 (10:31 +0200)
read request is always sync. Using rw_is_sync() to determine
if a bio is sync.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>

No differences found