* Fio crashes in setup_file
@ 2014-01-20 10:51 Roopeshakumar Narayansa Shalgar (rshalgar)
2014-01-22 22:21 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Roopeshakumar Narayansa Shalgar (rshalgar) @ 2014-01-20 10:51 UTC (permalink / raw)
To: fio
Hi,
The moment I define a new variable under thread_options I start seeing a crash in 'setup_files' files
Function. Backtrace points to the following lline:
if (td->io_ops->setup). Gdb shows the value of null for io_ops.
So essentially what's happenings is io_ops is not getting set correctly when I add a new
variable under 'thread_options' structures.
This can be easily reproduced by simply adding a variable under thread_options structiure.
No other changes are required. Can someone help?
/rK
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Fio crashes in setup_file
2014-01-20 10:51 Fio crashes in setup_file Roopeshakumar Narayansa Shalgar (rshalgar)
@ 2014-01-22 22:21 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2014-01-22 22:21 UTC (permalink / raw)
To: Roopeshakumar Narayansa Shalgar (rshalgar); +Cc: fio
On Mon, Jan 20 2014, Roopeshakumar Narayansa Shalgar (rshalgar) wrote:
> Hi,
>
> The moment I define a new variable under thread_options I start seeing
> a crash in 'setup_files' files Function. Backtrace points to the
> following lline:
>
> if (td->io_ops->setup). Gdb shows the value of null for io_ops.
>
>
> So essentially what's happenings is io_ops is not getting set
> correctly when I add a new variable under 'thread_options' structures.
>
>
> This can be easily reproduced by simply adding a variable under
> thread_options structiure. No other changes are required. Can someone
> help?
Might be a build issue, try to do a make clean after modifying the
header.
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-22 22:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-20 10:51 Fio crashes in setup_file Roopeshakumar Narayansa Shalgar (rshalgar)
2014-01-22 22:21 ` Jens Axboe
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.