On 02/10/2014 05:00 PM, Matthew Eaton wrote:
On Mon, Feb 10, 2014 at 3:15 PM, Jens Axboe <axboe@xxxxxxxxx> wrote:
To be honest I'm not sure how to apply a patch. Thus far I have only
used release versions of fio. Do I need to get fio from git, apply
the patch, and then compile?
The easiest would be:
$ git clone git://git.kernel.dk/fio
Then save the patch from mail in a file, eg /tmp/patch. Then do:
$ cd fio
$ patch -p1 --dry-run < /tmp/patch
If the patch command spews any errors, the most likely explanation is that
your mailer mangled it somehow. You can try and add -l and see if that makes
patch happier, it'll ignore white space then.
Assuming that worked, just do:
$ ./configure
$ make
and re-run with ./fio and your job file.
--
Jens Axboe
Jens, thanks a lot for your help. Here is the output from fio from
git + your patch. Looks correct except that write io should be 1024
MB instead of 1000 MB?
Yeah, but that one I can more easily explain. Unless told otherwise, fio
just divides the file sizes into equal sizes, and aligns to the min bs.
So that means you got 50*20MB files, eg 1000MB in total. I can make this
a bit more clever, if it split the leftover 24MB over 24 of the files.
--
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