Thread (4 messages) 4 messages, 3 authors, 2012-06-26

Re: Kernel 3.3.8 breaks accidental ext3 mount of extended partition

From: Richard W.M. Jones <hidden>
Date: 2012-06-25 16:58:24
Also in: lkml

Possibly related (same subject, not in this thread)

On Mon, Jun 25, 2012 at 12:38:03PM -0400, Jeff Moyer wrote:
"Richard W.M. Jones" [off-list ref] writes:
quoted
On Mon, Jun 18, 2012 at 07:59:30AM +0200, Torsten Hilbrich wrote:
quoted
Hello,

a software that tries to mount each existing partition as ext3 file system started to fail when updating from v3.3.7 to v3.3.8.

The applications then hangs-up in the mount syscall, here is a snapshot of its stack at this moment:
We just ran into what we think is the same problem.

Note that ext4 fails like this for any 1024 byte sized filesystem (of
zeroes) that you try to mount.  It's really nothing to do with
extended partitions.

Here is a very simple reproducer + stack trace:

  https://bugzilla.redhat.com/show_bug.cgi?id=835019#c4

I will try out the patch suggested later on in this thread.
Please try the attached patch instead.  The patch I had originally
posted for this allowed marking the first buffer beyond EOD as
uptodate.  This isn't correct.  The patch I've attached below fixes the
infinite loop in __getblk_slow.
Thanks Jeff.  I'm trying it now.

We also found a related bug in isofs:

  https://bugzilla.redhat.com/show_bug.cgi?id=835084

So I will check whether your patches fixes that one too.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help