Loop Iteration Offset Bug
authorBrian Fulton <bfulton@google.com>
Fri, 24 Oct 2014 20:47:34 +0000 (14:47 -0600)
committerJens Axboe <axboe@fb.com>
Fri, 24 Oct 2014 20:47:34 +0000 (14:47 -0600)
commitec803e97e616d8a410d760368c478b683625842a
treefa05a8ffe49e67c3f9f590cb37781fd4c901a583
parent22bc03c2b4b14c70b7ecef9a161c3ef6436f6d9d
Loop Iteration Offset Bug

Reset file descriptor offset value to the initial value when file is
closed and io state is cleared. This fixes the bug where previous offset
values persist between loop iterations.

Signed-off-by: Jens Axboe <axboe@fb.com>
libfio.c