Re: no unlink file before write testing

From: Jens Axboe <jens.axboe_at_oracle.com>
Date: Mon, 14 Apr 2008 12:37:52 +0200

On Mon, Apr 14 2008, Jens Axboe wrote:
> On Tue, Apr 08 2008, Zhang, Yanmin wrote:
> > Jens,
> >
> > As for write testing, fio chooses to unlink the files before testing.
> > I run the testing on many big files, so the file preparation spends
> > lots of time. Is it possible to add a new parameter, such like
> > nounlinkwrite, to ask fio not to unlink files before testing? Its default
> > value could be false.
> >
> > Current parameter overwrite always recreates the files.
>
> How about we just change that instead? If the file exists and is big
> enough, there's no point in having 'overwrite' recreate the file.

That seems to be how overwrite currently behaves (and, anything else
would have surprised me).

Can you come up with a concrete example that doesn't behave as expected?

-- 
Jens Axboe
Received on Mon Apr 14 2008 - 12:37:52 CEST

This archive was generated by hypermail 2.2.0 : Mon Apr 14 2008 - 13:00:02 CEST