From: Jens Axboe Date: Tue, 5 Feb 2008 09:05:50 +0000 (+0100) Subject: Fix offset retrieval problem for read and write having different bs ranges X-Git-Tag: fio-1.18~1 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=4ba66134744885e676167dede2f5900512834a31;hp=4ba66134744885e676167dede2f5900512834a31 Fix offset retrieval problem for read and write having different bs ranges "Zhang, Yanmin" reported that fio got stuck with a job file that had different read and write block size ranges. The problem is that get_next_offset() didn't take the data direction into account, so when it generated an offset close to the end of the file, it may not have been legal for that data direction. Signed-off-by: Jens Axboe ---