On 12/04/2014 08:27 AM, Jens Axboe wrote:
On 12/04/2014 12:53 AM, Karthick Srinivasachary wrote:
Hi Jens,

Thanks for your response and quick fix.. Much appreciated.
Tried few things and saw couple issues, summarizing below. Please let
me know if I am missing something.

1. Looks like buffer_compress_percentage with verify option is not
giving expected compression percentage

fio --name=global --rw=write --buffer_compress_percentage=50
--name=job1 --filename=/root/test1 --size=100m --refill_buffers
--verify=md5

lz4 could compress fio data file

lz4 /root/test1
Compressed 104857600 bytes into 104857715 bytes ==> 100.00%

The verify buffers are filled differently. It will take a bit more code
juggling to make that honor the buffer_pattern as a fill pattern. I'll
take a look at it.

Try current -git, should do the right thing for this case now too. And it works for the buffer content regeneration, when corruption is detected and verify_dump=1 is set.

--
Jens Axboe

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

Reply via email to