Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
{
unsigned long long offset;
unsigned int bytes;
{
unsigned long long offset;
unsigned int bytes;
- int rw, reads, writes, fileno = 0, file_action = 0; /* stupid gcc */
+ int reads, writes, fileno = 0, file_action = 0; /* stupid gcc */
char *fname, *act;
char *str, *p;
char *fname, *act;
char *str, *p;
INIT_LIST_HEAD(&ipo->list);
ipo->offset = offset;
ipo->len = bytes;
INIT_LIST_HEAD(&ipo->list);
ipo->offset = offset;
ipo->len = bytes;
- ipo->ddir = (enum fio_ddir) rw;
if (bytes > td->o.max_bs[rw])
td->o.max_bs[rw] = bytes;
if (rw == DDIR_INVAL) {
if (bytes > td->o.max_bs[rw])
td->o.max_bs[rw] = bytes;
if (rw == DDIR_INVAL) {