Re: Problem using --offset: fix call to fadvise64

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

 



On 2012-07-20 12:30, Georg Schönberger wrote:
> I have now figured out the problem: when testing with a whole
> partition "/dev/sdb1" and specifying an offset you have also to
> specify a size via "--size". I thought that if I am using an offset
> with a partition Fio would carry out the test starting at the offset
> until the end of the partition. But this is not the case, you have to
> explicitly give the rest of partition's size starting from the offset.
> This was my fault, Fio is doing everything correctly.

We could improve and have fio get the partition size in this case. The
problem is that if it's a block device, it'll get the full size. A bit
counter intuitive.

-- 
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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