Re: [Bug-Report] fio cannot handle some situation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ok. that makes sense.

i thought that the file fio created was already written with verify data.

thanks a lot

On Tue, Aug 21, 2018 at 11:19 PM, Jens Axboe <axboe@xxxxxxxxx> wrote:
> On 8/21/18 4:21 AM, Chao Guo wrote:
>> 1) A description of what you think the bug is:
>>
>>   when using readwrite=randread and do_verify=1, fio always fails with
>> 'Invalid or incomplete multibyte or wide character'
>>
>>
>> 2) Environment (Linux distro version, kernel version). This is mostly
>>    needed if it's a build bug.
>>
>>    CentOS 7(fio 3.1-2)
>>
>>    CentOS 7(build from github.com/axboe/fio, master)
>>
>>    Ubuntu 18.04(fio 3.1-1)
>>
>> 3) The output from fio --version.
>>
>>    See above
>>
>> 4) How to reproduce. Please include a full list of the parameters
>>    passed to fio and the job file used (if any).
>>
>> [global]
>> ioengine=libaio
>> direct=1
>> group_reporting
>> iodepth=128
>> bs=1M
>> readwrite=randread
>> size=500MB
>> do_verify=1
>> verify=crc32c-intel
>>
>> [test]
>> filename=test
>
> You're asking fio to verify a file, which assumes that the file
> has already been written with verify data. That's not the case
> (unless you ran another job to do that first), so the verify will
> naturally fail.
>
> Change your readwrite=randread to readwrite=randwrite, and fio
> will randomly write it first, them randomly read and verify.
>
> --
> Jens Axboe
>



-- 
关注官微,获实时帮助

 郭超 Guo Chao

上海亦存网络科技有限公司 Yicun Network Tech Co., Ltd.
邮箱 Email: guochao@xxxxxxxxxxxx
手机 Mobile: 18729085840




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux