From: Jens Axboe <axboe@kernel.dk>
To: "Georg Schönberger" <gschoenberger@thomas-krenn.com>
Cc: fio@vger.kernel.org
Subject: Re: Problem using --offset: fix call to fadvise64
Date: Tue, 31 Jul 2012 20:48:13 +0200 [thread overview]
Message-ID: <5018286D.5070000@kernel.dk> (raw)
In-Reply-To: <1375946309.2166899.1342780232840.JavaMail.root@thomas-krenn.com>
On 2012-07-20 12:30, Georg Schönberger wrote:
> I have now figured out the problem: when testing with a whole
> partition "/dev/sdb1" and specifying an offset you have also to
> specify a size via "--size". I thought that if I am using an offset
> with a partition Fio would carry out the test starting at the offset
> until the end of the partition. But this is not the case, you have to
> explicitly give the rest of partition's size starting from the offset.
> This was my fault, Fio is doing everything correctly.
We could improve and have fio get the partition size in this case. The
problem is that if it's a block device, it'll get the full size. A bit
counter intuitive.
--
Jens Axboe
next prev parent reply other threads:[~2012-07-31 18:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-18 17:56 Problem using --offset: fix call to fadvise64 Georg Schönberger
2012-07-20 10:30 ` Georg Schönberger
2012-07-31 18:48 ` Jens Axboe [this message]
2012-08-01 5:26 ` Georg Schönberger
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=5018286D.5070000@kernel.dk \
--to=axboe@kernel.dk \
--cc=fio@vger.kernel.org \
--cc=gschoenberger@thomas-krenn.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