vsync: Fix issue with double issue of io_u
authorJens Axboe <jens.axboe@oracle.com>
Fri, 30 May 2008 20:03:46 +0000 (22:03 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 30 May 2008 20:03:46 +0000 (22:03 +0200)
commite51cf72c29e92619534ed84a59047e62eaa05a5a
tree9ff5093af1dcb25204f43da94dc76c8c5586d943
parent5921e80c5dfc9f96d2f21da6ae58f2b5d3a0b373
vsync: Fix issue with double issue of io_u

We'd lseek to the same location twice, making sequential
IO lseek() and read/write to each location twice.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
engines/sync.c