Re: Recent changes (master)

Jens Axboe
2014-05-02T14:41:32Z

On 05/02/2014 08:36 AM, Ajoy Aswadhati wrote:
> Hi Jens,
> With the new io_limit option, is it possible to do the following:
> Have the disk size be 1TB and use 1GB file size and make it use the 1TB
> space randomly and not confine to the first 1GB.
> I.e. Use the entire disk in a sparse and random order repeatedly for n
> iterations. If yes can you provide a config.

On the raw disk, you can do that with

size=1tb
io_limiut=1gb

and add loops=x for however many iterations you want.

If you mean from a file system, then you would need a 1TB file to
achieve (roughly) the same thing. Not sure what you mean here, but are
you referring to multiple 1GB files?

--
Jens Axboe