Re: V2 [PATCH 1/2] Adds check for numberio during verify phase.

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

 



On 08/29/2013 06:09 PM, Juan Casse wrote:
> Jens,
> 
> fio behaves in a way I was not expecting:
> 
> Whenever the workload includes writes, fio will do the io and then
> verify only the blocks that were written; this is good. However, when
> the workload does only reads, the verify phase will verify the reads.
> 
> So, the way the code is today, my changes to check numberio will work
> only for workloads that do writes or read/writes, but not for
> workloads that do only reads.
> 
> I track the numberio in the pupulate_verify_io_u() function:
> io_u->numberio = td->io_issues[io_u->ddir];
> This function does not get called when doing reads.
> 
> What are your thoughts?

Just populate it always when verify is enabled?

-- 
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