Hi,

Why the parameter buffer_pattern is absent in git HowTo?

KR

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 
Jens Axboe
Sent: Friday, August 22, 2014 6:24 PM
To: Surendar Chandra; [email protected]
Subject: Re: buffer_pattern usage question

On 2014-08-21 20:01, Surendar Chandra wrote:
> Could you please help me with this setup
>
>     filename=fio-data
>     size=4k
>     rw=write
>     buffer_pattern="HELLO"
>
> The output still continues to be pseudo random. I even tried 
> buffer_pattern=0xDEADBEEF and other params.

It's not going to take a string, it needs to be a decimal of hexidecimal 
number. I added some code to error out if it fails parsing this now.

buffer_pattern=0xDEADBEEF should work, and does for me:

axboe@lenny:/home/axboe/git/fio $ hexdump fio-data
0000000 beef dead beef dead beef dead beef dead
*
0001000


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