From: Tomohiro Kusumi Date: Tue, 14 Feb 2017 15:19:48 +0000 (+0200) Subject: Use 0 instead of DDIR_READ to iterate from 0 to DDIR_RWDIR_CNT X-Git-Tag: fio-2.18~15 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=c1f50f765a0a51931605c1fb223d166e3b3a93c6;hp=c1f50f765a0a51931605c1fb223d166e3b3a93c6 Use 0 instead of DDIR_READ to iterate from 0 to DDIR_RWDIR_CNT I think this is better since we want to count up DDIR_RWDIR_CNT, but not specifically (count - something) even if something is 0, and that's basically what DDIR_RWDIR_CNT is there for to equal SYNC=3 after READ/WRITE/TRIM in io_ddir.h. Signed-off-by: Tomohiro Kusumi Signed-off-by: Jens Axboe ---