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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111122104921.GE8098@dastard>
Date:	Tue, 22 Nov 2011 21:49:21 +1100
From:	Dave Chinner <david@...morbit.com>
To:	Wu Fengguang <fengguang.wu@...el.com>
Cc:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org>
Subject: Re: [3.2-rc2] loop device balance_dirty_pages_nr throttling hang

On Tue, Nov 22, 2011 at 09:29:31PM +1100, Dave Chinner wrote:
> I suspect the difference is that I was reproducing this with a used
> image file. It had somewhere in the order of 750MB of space used
> prior to running the test. I'd been using the image to test large
> filesystem support for xfstests. I'd done a bunch of testing with
> XFS on the loop device, and was trying to get the ext4 support to
> work when I was seeing these hangs. I manually ran the
> losetup/mount/mkfs loopdev/mount/falloc step to get it to hang.
> 
> So I think the state of the underlying image file has something to
> do with the hang. Most likely due to the IO rates, I think....
> 
> I'll try to reproduce it by running xfstests on XFS on it again
> before trying ext4 again (your script blew away the old image file I
> had). Alternatively, you can try writing lots of small random blocks
> to the image file before running the ext4 portion of the test.

At a rough approximation, the image file after xfs tests has run on
it for a while has somewhere on the high side of 30000 allocated
extents in it. So that could have significant impact on the layout
of the file and the IO patterns that result.

But, I just noticed that the discard that mkfs.ext4 will result in
all the extents being discarded in the underlying image file (due to
the fact the loopback device now supports hole punching), so the
previous state of the image file is getting trashed by the mkfs.ext4
execution, too. I think I already had a ext4 filesystem in some state
before I started running this manual prealloc test....

So, let me go back to running test 223 and then trying again with
having run mkfs on the loop device.

Cheers,

Dave.
-- 
Dave Chinner
david@...morbit.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ