RE: [PATCH V2] Adds verify_only option.

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

 



Hi Juan,

I removed the second question - understood what you meant.

Regards
Konstantin

-----Original Message-----
From: Ruvinsky, Konstantin 
Sent: Saturday, September 14, 2013 8:34 AM
To: 'Juan Casse'; 'fio@xxxxxxxxxxxxxxx'
Subject: RE: [PATCH V2] Adds verify_only option.

Hi Juan,

Two questions:
1. How fio knows where is the last block (where to stop verification run)? Please let me know if I understand it correctly: because lfsr runs without duplicated blocks then number of iterations is device_size/block_size.
2. You wrote: "The verify_only option performs only verification (reads performed in do_verify()) and no read or write workload". But for verification, even if you made dry run till the end, you need to read. I don't follow.

Regards
Konstantin

-----Original Message-----
From: fio-owner@xxxxxxxxxxxxxxx [mailto:fio-owner@xxxxxxxxxxxxxxx] On Behalf Of Juan Casse
Sent: Friday, September 13, 2013 11:07 PM
To: Jens Axboe
Cc: Grant Grundler; fio@xxxxxxxxxxxxxxx; Juan Casse
Subject: [PATCH V2] Adds verify_only option.

The verify_only option performs only verification (reads performed in do_verify()) and no read or write workload. The goal is to verify previously written meta data quickly and be able to detect stale data.
Without this option, fio does not detect stale data from previous fio runs---only data corruption of "misplaced" data.

This option replays the specified write workload sequence in order to compute the "generation number" (using numberio field) for each block header that was written in a previous fio run. The numberio field is used to detect stale data. do_verify() checks numberio only in the last iteration, after the correct numberio for each block has been computed.
--
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