* Blktrace replay in FIO failed with lseek err=22
@ 2013-11-19 17:12 Lakshmi Devi
2013-11-19 21:28 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Lakshmi Devi @ 2013-11-19 17:12 UTC (permalink / raw)
To: fio
Hi,
I am using FIO version 2.1.1 and blktrace 2.0.0
I ran a read, 4K workload through FIO and collected blktrace for it.
I got like 16 trace files one for each CPU core with varying sizes.
I parsed one of the files as below
blkparse -i ./*.blktrace.0 -d ./bp.bin -o bp.txt -w 0:600
used this bp.bin to perform a read_iolog in FIO.
When I replay in FIO using read_iolog=/root/bp.bin , I get the below error.
Replay: (groupid=0, jobs=1): err=22 file engine sync.c: 45, func=lseek,
error=invalid argument.
Please help me understand the reason for this error
Thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Blktrace replay in FIO failed with lseek err=22
2013-11-19 17:12 Blktrace replay in FIO failed with lseek err=22 Lakshmi Devi
@ 2013-11-19 21:28 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2013-11-19 21:28 UTC (permalink / raw)
To: Lakshmi Devi, fio
On 11/19/2013 10:12 AM, Lakshmi Devi wrote:
> Hi,
>
> I am using FIO version 2.1.1 and blktrace 2.0.0
>
> I ran a read, 4K workload through FIO and collected blktrace for it.
> I got like 16 trace files one for each CPU core with varying sizes.
>
> I parsed one of the files as below
> blkparse -i ./*.blktrace.0 -d ./bp.bin -o bp.txt -w 0:600
>
> used this bp.bin to perform a read_iolog in FIO.
>
> When I replay in FIO using read_iolog=/root/bp.bin , I get the below error.
>
> Replay: (groupid=0, jobs=1): err=22 file engine sync.c: 45, func=lseek,
> error=invalid argument.
>
> Please help me understand the reason for this error
Would it be possible for you to send me the bp.bin output file?
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-11-19 21:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-19 17:12 Blktrace replay in FIO failed with lseek err=22 Lakshmi Devi
2013-11-19 21:28 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox