From: Eric Sandeen <sandeen@redhat.com>
To: Fredrik Andersson <nablaman@gmail.com>
Cc: linux-ext4@vger.kernel.org
Subject: Re: Fwd: Ext4 bug with fallocate
Date: Mon, 26 Oct 2009 23:42:03 -0500 [thread overview]
Message-ID: <4AE67A1B.8060704@redhat.com> (raw)
In-Reply-To: <a125a870910180847s5f3eaf6cxfe58e6ceb26419c6@mail.gmail.com>
Fredrik Andersson wrote:
> Hi, I'd like to report what I'm fairly certain is an ext4 bug. I hope
> this is the right place to do so.
>
> My program creates a big file (around 30 GB) with posix_fallocate (to
> utilize extents), fills it with data and uses ftruncate to crop it to
> its final size (usually somewhere between 20 and 25 GB).
> The problem is that in around 5% of the cases, the program locks up
> completely in a syscall. The process can thus not be killed even with
> kill -9, and a reboot is all that will do.
Not trying to ignore you, but trying to sort out some corruption issues
that I'm afraid I have to rank higher than a hang for now...
From the traces, things are hung up on the i_data_sem; several
pdflushes want it for read in ext4_get_blocks_wrap, and drbdmakes
presumably have it downed for write in ext4_ext_truncate. I'm not
immediately seeing the deadlock tonight, but then it's getting late...
Is the application that's triggering this something you can share?
Thanks,
-Eric
next prev parent reply other threads:[~2009-10-27 4:42 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <a125a870910180836i66781e1ey8113e7f8569f1fad@mail.gmail.com>
2009-10-18 15:47 ` Fwd: Ext4 bug with f Fredrik Andersson
2009-10-18 15:57 ` Fwd: Ext4 bug with fallocate Eric Sandeen
2009-10-19 9:49 ` Fredrik Andersson
2009-10-20 16:49 ` Fredrik Andersson
2009-10-21 0:24 ` Mingming
2009-10-22 7:37 ` Fredrik Andersson
2009-10-26 10:43 ` Fredrik Andersson
2009-10-21 2:20 ` Eric Sandeen
2009-10-21 9:08 ` Fredrik Andersson
2009-10-27 4:42 ` Eric Sandeen [this message]
2009-10-27 8:17 ` Fredrik Andersson
2009-10-27 13:56 ` Eric Sandeen
2009-10-27 15:29 ` Fredrik Andersson
2009-10-27 15:37 ` Eric Sandeen
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=4AE67A1B.8060704@redhat.com \
--to=sandeen@redhat.com \
--cc=linux-ext4@vger.kernel.org \
--cc=nablaman@gmail.com \
/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.