linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Test ext4/001
@ 2015-10-22  9:10 Jan Kara
  2015-10-22  9:26 ` Lukáš Czerner
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jan Kara @ 2015-10-22  9:10 UTC (permalink / raw)
  To: linux-ext4; +Cc: fstests

Hi,

I've checked why test ext4/001 fails for me with DAX and after some
investigation I've realized that the test assumes that
extent_max_zeroout_kb is 32 KB and thus unwritten extent will get converted
to written as a whole and not split. With DAX that doesn't happen (because
of difference between EXT4_GET_BLOCKS_ flags passed in writeback path and
DAX write path) and so the result differs.

So I was wondering how to best fix this. Either we could switch
extent_max_zeroout_kb to 0 to make the result same (but that has a slight
disadvantage that we would lose testing of the zeroout logic) or we could
increase file size so that zeroout doesn't trigger or something else?
Anyone has some idea?

								Honza
-- 
Jan Kara <jack@suse.com>
SUSE Labs, CR

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-10-25 20:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-22  9:10 Test ext4/001 Jan Kara
2015-10-22  9:26 ` Lukáš Czerner
2015-10-22 19:22 ` Theodore Ts'o
2015-10-22 20:23   ` Jan Kara
2015-10-25 20:41 ` Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).