RE: fio 3.2

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

 




> -----Original Message-----
> From: Gavriliuk, Anton (HPS Ukraine)
> Sent: Wednesday, November 29, 2017 1:40 AM
> To: Elliott, Robert (Persistent Memory) <elliott@xxxxxxx>; Rebecca
> Cran <rebecca@xxxxxxxxxxxx>; Sitsofe Wheeler <sitsofe@xxxxxxxxx>
> Cc: fio@xxxxxxxxxxxxxxx; Kani, Toshimitsu <toshi.kani@xxxxxxx>
> Subject: RE: fio 3.2
> 
> Previously I used fio 2.12 and it works fine.  Now I build fio 3.2
> with gcc 4.8.5 and it returns error,
> 
> dl560g10spmem01:~ # /usr/local/bin/fio --name=4-rand-rw-3xx --
> ioengine=mmap --iodepth=1 --rw=randrw --
> bssplit=4k/4:8k/7:16k/7:32k/15:64k/65:128k/1:256k/1 --rwmixread=5 --
> size=100g --numjobs=16 --group_reporting --runtime=120 --
> filename=/dev/dax0.0 --allow_file_create=0
> 4-rand-rw-3xx: (g=0): rw=randrw, bs=(R) 4096B-256KiB, (W) 4096B-
> 256KiB, (T) 4096B-256KiB, ioengine=mmap, iodepth=1
> ...
> fio-3.2
> Starting 16 processes
> 4-rand-rw-3xx: failed to get file size of /dev/dax0.0

I see the same thing.

Commit 0f34169a broke it, moving a check from a non-character
device path up a level to where it now triggers on a character
device (for which the size is left set to -1ULL).

This gets it working again:
	git revert 0f34169a
	make

Tomohiro, could you help prepare a better fix?





��.n��������+%������w��{.n�������^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�

[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