Flexible I/O Tester development
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: "Michal Šmucr" <msmucr@gmail.com>
Cc: Alan Hagge <Alan.Hagge@warnerbros.com>, fio@vger.kernel.org
Subject: Re: How to re-use default sequential filenames?
Date: Fri, 5 Apr 2013 21:31:34 +0200	[thread overview]
Message-ID: <20130405193134.GC12244@kernel.dk> (raw)
In-Reply-To: <CAHBo9gn-vMzsKGtZYOHB979_EJ9PbnF3=eK9MPOrnsciNDJtrg@mail.gmail.com>

On Fri, Apr 05 2013, Michal Šmucr wrote:
> 2013/4/5 Jens Axboe <axboe@kernel.dk>:
> > It would not be a problem making the block size decision probed or
> > dynamic. But it's not clear to me from the above what you would base it
> > on. The file size? Or st_blksize?
> 
> I'm sorry Jens, i wasn't much clear regarding this. I meant file size - st_size.

OK, so how would you size the block size based on the file size? That's
the part that isn't quite clear to me. There could be a number of valid
options in that area, and things like buffered/unbuffered IO might
influence that as well. In other words, it would involve some
heuristics, which I'm never that crazy about adding.

But tell me what you are proposing in detail, and we can take it from
there :-)

-- 
Jens Axboe


  reply	other threads:[~2013-04-05 19:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-04 16:28 How to re-use default sequential filenames? Alan Hagge
2013-04-04 18:19 ` Jens Axboe
2013-04-04 18:41   ` Jens Axboe
2013-04-04 23:59     ` Michal Šmucr
2013-04-05  8:40       ` Jens Axboe
2013-04-05 19:24         ` Michal Šmucr
2013-04-05 19:31           ` Jens Axboe [this message]
2013-04-05  8:39     ` Jens Axboe
2013-04-07 23:28       ` Michal Šmucr
2013-04-08 11:17         ` Jens Axboe
2013-04-10 17:46           ` Alan Hagge
2013-04-11 11:18             ` Jens Axboe
2013-04-04 18:33 ` Matt Hayward
2013-04-04 19:02   ` Carl Zwanzig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130405193134.GC12244@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=Alan.Hagge@warnerbros.com \
    --cc=fio@vger.kernel.org \
    --cc=msmucr@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox