From: Jan Kara <jack@suse.cz>
To: Filipe Manana <fdmanana@suse.com>
Cc: fstests@vger.kernel.org
Subject: Test generic/614
Date: Mon, 21 Nov 2022 13:36:36 +0100 [thread overview]
Message-ID: <20221121123636.ltwwxgoom5bd4eyd@quack3> (raw)
Hello Filipe!
I have noticed test generic/614 is failing on ext2. The test creates sparse
file, maps it, and writes data to it through mmap. Then it checks i_blocks
has increased. However for ext2 (and other trivial filesystems supporting
sparse files but not implementing delayed allocation) this is bound to fail
because i_block gets incremented only during page writeback.
So would your btrfs test make sense even if we called fsync(2) before
checking stat(2) results?
Honza
--
Jan Kara <jack@suse.com>
SUSE Labs, CR
next reply other threads:[~2022-11-21 12:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-21 12:36 Jan Kara [this message]
2022-11-21 13:32 ` Test generic/614 Filipe Manana
2022-11-21 16:18 ` Jan Kara
2022-11-21 16:51 ` Darrick J. Wong
2022-11-22 12:52 ` Jan Kara
2022-11-22 14:10 ` Jan Kara
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=20221121123636.ltwwxgoom5bd4eyd@quack3 \
--to=jack@suse.cz \
--cc=fdmanana@suse.com \
--cc=fstests@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.