lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 27 Jul 2015 15:10:03 -0400
From:	Eric Whitney <enwlinux@...il.com>
To:	namjae.jeon@...sung.com
Cc:	a.sangwan@...sung.com, linux-ext4@...r.kernel.org
Subject: generic/064 test failures on ext4 (4.2-rc*)

Hi Namjae:

I'm seeing generic/064 fail consistently when testing ext4 on 4.2-rc kernels
with Ted's kvm-xfstests test appliance.

The two kvm-xfstests test cases that fail are ext3conv and data_journal. Both
of them force disablement of delayed allocation.  The nodelalloc mount option
is used explicitly in the ext3conv case, and it's set implicitly in the kernel
when the data_journal mount option is used.  The size of the scratch device
used also matters.  The failure occurs when the device is 5 GB in size, but
does not when 20 GB in size.

What's happening is that when nodelalloc is set, ext4 produces a testfile.dest
containing 101 extents when generic/064 inserts 100 block ranges, and this does
not match the test's expected output of 100 extents.

Ted Ts'o says that ext4 does not guarantee a specific extent layout when
delayed allocation is disabled in these circumstances.

The header comment for generic/064 states that insert range is to be called
until 100 extents are created.  Would the intent of your test be preserved if
it was modified to verify that 100 holes were inserted rather than 100
extents created?  This would seem to be a more direct way to verify that
insert range was functioning correctly without assuming anything about other
test filesystem behavior.  ext4 does create 100 holes for generic/064 with
nodelalloc set.

Thanks,
Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ