Merge branch 'master' of ssh://router/data/git/fio
authorJens Axboe <axboe@homer.home.kernel.dk>
Wed, 27 May 2009 11:12:14 +0000 (13:12 +0200)
committerJens Axboe <axboe@homer.home.kernel.dk>
Wed, 27 May 2009 11:12:14 +0000 (13:12 +0200)
fio.h
io_u.c

diff --git a/fio.h b/fio.h
index 932ee83f4b7b6047f1c15cfd2ad9a3c55a0ee3ce..c9fa6a9fa8672b5af02181cced08bd17189882f0 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -145,7 +145,6 @@ struct io_u {
        void *buf;
        unsigned long buflen;
        unsigned long long offset;
-       unsigned long long endpos;
 
        /*
         * IO engine state, may be different from above when we get
diff --git a/io_u.c b/io_u.c
index 1e9018c4f6ee85bc5362aea312b9b2ec15a15978..47c02e0ad135dea4da458da5e0116084dd7885d7 100644 (file)
--- a/io_u.c
+++ b/io_u.c
@@ -848,7 +848,6 @@ struct io_u *get_io_u(struct thread_data *td)
        /*
         * Set io data pointers.
         */
-       io_u->endpos = io_u->offset + io_u->buflen;
        io_u->xfer_buf = io_u->buf;
        io_u->xfer_buflen = io_u->buflen;