From: Jens Axboe <axboe@kernel.dk>
To: "Carino, Mario" <Mario.Carino@AIG.com>,
"fio@vger.kernel.org" <fio@vger.kernel.org>
Subject: Re: fio on AIX - fallocate error
Date: Thu, 10 Apr 2014 10:35:25 -0600 [thread overview]
Message-ID: <5346C84D.1010704@kernel.dk> (raw)
In-Reply-To: <E2B4022DB0264A4B90C5F1B01B8E677D73322971@LIVP3MMBX13.mail.aig.net>
On 04/10/2014 10:22 AM, Carino, Mario wrote:
> Here's the output. No need to break as it stopped immediately. All of the 4ktest files are zero length.
>
> Command line
> ./fio --debug=file examples/test1.fio
>
> fio: set debug option file
> file 48824354 dup files: 0
> file 48824354 add file 4ktest.0.0
> file 48824354 resize file array to 2 files
> file 48824354 file b0002028 "4ktest.0.0" added at 0
> 4ktest: (g=0): rw=randwrite, bs=4K-4K/4K-4K/4K-4K, ioengine=sync, iodepth=16
> file 48824354 dup files: 1
> file 48824354 add file 4ktest.15.0
> file 48824354 resize file array to 2 files
> file 48824354 file b00022a8 "4ktest.15.0" added at 0
> file 48824354 dup files: 1
> file 48824354 add file 4ktest.14.0
> file 48824354 resize file array to 2 files
> file 48824354 file b0002528 "4ktest.14.0" added at 0
> file 48824354 dup files: 1
> file 48824354 add file 4ktest.13.0
> file 48824354 resize file array to 2 files
> file 48824354 file b00027a8 "4ktest.13.0" added at 0
> file 48824354 dup files: 1
> file 48824354 add file 4ktest.12.0
> file 48824354 resize file array to 2 files
> file 48824354 file b0002a28 "4ktest.12.0" added at 0
> file 48824354 dup files: 1
> file 48824354 add file 4ktest.11.0
> file 48824354 resize file array to 2 files
> file 48824354 file b0002ca8 "4ktest.11.0" added at 0
> file 48824354 dup files: 1
> file 48824354 add file 4ktest.10.0
> file 48824354 resize file array to 2 files
> file 48824354 file b0002f28 "4ktest.10.0" added at 0
> file 48824354 dup files: 1
> file 48824354 add file 4ktest.9.0
> file 48824354 resize file array to 2 files
> file 48824354 file b00031a8 "4ktest.9.0" added at 0
> file 48824354 dup files: 1
> file 48824354 add file 4ktest.8.0
> file 48824354 resize file array to 2 files
> file 48824354 file b0003428 "4ktest.8.0" added at 0
> file 48824354 dup files: 1
> file 48824354 add file 4ktest.7.0
> file 48824354 resize file array to 2 files
> file 48824354 file b00036a8 "4ktest.7.0" added at 0
> file 48824354 dup files: 1
> file 48824354 add file 4ktest.6.0
> file 48824354 resize file array to 2 files
> file 48824354 file b0003928 "4ktest.6.0" added at 0
> file 48824354 dup files: 1
> file 48824354 add file 4ktest.5.0
> file 48824354 resize file array to 2 files
> file 48824354 file b0003ba8 "4ktest.5.0" added at 0
> file 48824354 dup files: 1
> file 48824354 add file 4ktest.4.0
> file 48824354 resize file array to 2 files
> file 48824354 file b0003e28 "4ktest.4.0" added at 0
> file 48824354 dup files: 1
> file 48824354 add file 4ktest.3.0
> file 48824354 resize file array to 2 files
> file 48824354 file b00040a8 "4ktest.3.0" added at 0
> file 48824354 dup files: 1
> file 48824354 add file 4ktest.2.0
> file 48824354 resize file array to 2 files
> file 48824354 file b0004328 "4ktest.2.0" added at 0
> file 48824354 dup files: 1
> file 48824354 add file 4ktest.1.0
> file 48824354 resize file array to 2 files
> file 48824354 file b00045a8 "4ktest.1.0" added at 0
> ...
> fio-2.1.7
> Starting 16 processes
> file 48824354 setup files
> file 48824354 get file size for b0002028/0/b0002148
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file 48824354 layout unlink 4ktest.0.0
> file 48824354 open file 4ktest.0.0, flags 101
> file 48824354 posix_fallocate file 4ktest.0.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file 48824354 setup files
> file 48824354 get file size for b00022a8/0/b00023c8
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file 48824354 layout unlink 4ktest.15.0
> file 48824354 open file 4ktest.15.0, flags 101
> file 48824354 posix_fallocate file 4ktest.15.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file 48824354 setup files
> file 48824354 get file size for b0002528/0/b0002648
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file 48824354 layout unlink 4ktest.14.0
> file 48824354 open file 4ktest.14.0, flags 101
> file 48824354 posix_fallocate file 4ktest.14.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file 48824354 setup files
> file 48824354 get file size for b00027a8/0/b00028c8
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file 48824354 layout unlink 4ktest.13.0
> file 48824354 open file 4ktest.13.0, flags 101
> file 48824354 posix_fallocate file 4ktest.13.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file 48824354 setup files
> file 48824354 get file size for b0002a28/0/b0002b48
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file 48824354 layout unlink 4ktest.12.0
> file 48824354 open file 4ktest.12.0, flags 101
> file 48824354 posix_fallocate file 4ktest.12.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file 48824354 setup files
> file 48824354 get file size for b0002ca8/0/b0002dc8
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file 48824354 layout unlink 4ktest.11.0
> file 48824354 open file 4ktest.11.0, flags 101
> file 48824354 posix_fallocate file 4ktest.11.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file 48824354 setup files
> file 48824354 get file size for b0002f28/0/b0003048
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file 48824354 layout unlink 4ktest.10.0
> file 48824354 open file 4ktest.10.0, flags 101
> file 48824354 posix_fallocate file 4ktest.10.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file 48824354 setup files
> file 48824354 get file size for b00031a8/0/b00032c8
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file 48824354 layout unlink 4ktest.9.0
> file 48824354 open file 4ktest.9.0, flags 101
> file 48824354 posix_fallocate file 4ktest.9.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file 48824354 setup files
> file 48824354 get file size for b0003428/0/b0003548
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file 48824354 layout unlink 4ktest.8.0
> file 48824354 open file 4ktest.8.0, flags 101
> file 48824354 posix_fallocate file 4ktest.8.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file 48824354 setup files
> file 48824354 get file size for b00036a8/0/b00037c8
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file 48824354 layout unlink 4ktest.7.0
> file 48824354 open file 4ktest.7.0, flags 101
> file 48824354 posix_fallocate file 4ktest.7.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file 48824354 setup files
> file 48824354 get file size for b0003928/0/b0003a48
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file 48824354 layout unlink 4ktest.6.0
> file 48824354 open file 4ktest.6.0, flags 101
> file 48824354 posix_fallocate file 4ktest.6.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file 48824354 setup files
> file 48824354 get file size for b0003ba8/0/b0003cc8
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file 48824354 layout unlink 4ktest.5.0
> file 48824354 open file 4ktest.5.0, flags 101
> file 48824354 posix_fallocate file 4ktest.5.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file 48824354 setup files
> file 48824354 get file size for b0003e28/0/b0003f48
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file 48824354 layout unlink 4ktest.4.0
> file 48824354 open file 4ktest.4.0, flags 101
> file 48824354 posix_fallocate file 4ktest.4.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file 48824354 setup files
> file 48824354 get file size for b00040a8/0/b00041c8
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file 48824354 layout unlink 4ktest.3.0
> file 48824354 open file 4ktest.3.0, flags 101
> file 48824354 posix_fallocate file 4ktest.3.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file 48824354 setup files
> file 48824354 get file size for b0004328/0/b0004448
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file 48824354 layout unlink 4ktest.2.0
> file 48824354 open file 4ktest.2.0, flags 101
> file 48824354 posix_fallocate file 4ktest.2.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
> file 48824354 setup files
> file 48824354 get file size for b00045a8/0/b00046c8
> 4ktest: Laying out IO file(s) (1 file(s) / 2048MB)
> file 48824354 layout unlink 4ktest.1.0
> file 48824354 open file 4ktest.1.0, flags 101
> file 48824354 posix_fallocate file 4ktest.1.0 size 2147483648
> fio: posix_fallocate fails: Invalid argument
> fio: pid=0, err=22/file:filesetup.c:418, func=invalidate_cache, error=Invalid argument
>
>
> Run status group 0 (all jobs):
That's very weird, I wonder why fio exits. Can you try --debug=all
instead and send that to me? Basically fallocate failing should not
matter at all, the writes will extend the file. Perhaps sparse files
don't work in AIX on your file system? In that case, you probably want
overwrite=1 to have fio lay out the file manually for you.
--
Jens Axboe
next prev parent reply other threads:[~2014-04-10 16:35 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-10 2:52 fio on AIX - fallocate error Carino, Mario
2014-04-10 14:00 ` Jens Axboe
2014-04-10 15:07 ` Jens Axboe
2014-04-10 15:30 ` Carino, Mario
2014-04-10 15:34 ` Jens Axboe
2014-04-10 15:56 ` Carino, Mario
2014-04-10 16:12 ` Jens Axboe
2014-04-10 16:22 ` Carino, Mario
2014-04-10 16:35 ` Jens Axboe [this message]
2014-04-10 16:44 ` Carino, Mario
2014-04-10 16:57 ` Jens Axboe
2014-04-10 16:59 ` Carino, Mario
2014-04-10 17:01 ` Jens Axboe
2014-04-10 17:26 ` Carino, Mario
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=5346C84D.1010704@kernel.dk \
--to=axboe@kernel.dk \
--cc=Mario.Carino@AIG.com \
--cc=fio@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.