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)
commite5a94f56845bb4b272d82e84b5a1e2080b07ba82
tree884fcc9d3c7cab28416084ba793a181d37858ca1
parent05eb0f252b04aa94ace0794f73d56c6a02351d80
blk-throttle: correctly determine sync bio

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>
block/blk-throttle.c