Fixing wraparound behavior for time-based sequential read jobs
authorDan Ehrenberg <dehrenberg@google.com>
Thu, 16 Aug 2012 06:58:21 +0000 (08:58 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 16 Aug 2012 06:58:21 +0000 (08:58 +0200)
commitce95d651568bd5494e4c4ddc95832715c6760d56
treeea9aa794ef791628de697802ff3d4ff0f6a9a490
parent83ae8ca2f53fe80314de9e718c8348047418af70
Fixing wraparound behavior for time-based sequential read jobs

Previously, a buggy patch made sequential jobs wrap around when they
reached an offset of 'size'. However, the appropriate wraparound is at
size + initial offset. This patch restores the previous behavior.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
file.h
filesetup.c
io_u.c