Thread (15 messages) flat view 15 messages, 3 authors, 2012-08-30

[Bug 42763] New: directory access hangs without error

From: <hidden>
Date: 2012-02-13 03:41:29

https://bugzilla.kernel.org/show_bug.cgi?id=42763

           Summary: directory access hangs without error
           Product: File System
           Version: 2.5
    Kernel Version: 3.2.5
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: ext4
        AssignedTo: fs_ext4@kernel-bugs.osdl.org
        ReportedBy: ebuddington@wesleyan.edu
        Regression: No


Kernel 3.2.5
ext4 over RAID-6

I have a specific directory that freezes all processes that try to getdents()
or open() a new file. In some cases, the kernel gives  me "blocked for more
than 120 seconds" messages, often reporting that the process is stuck in
ext4_getblk.

I have found no errors, however. The stuck processes stay stuck forever (at
least hours), and dmesg shows no complaints about RAID, filesystem, or anything
else. Full reads of the RAID devices work without hanging, and drive self-tests
pass.

Other processes are able to access other parts of the filesystem normally; this
is not a system-wide or fs-wide hang.

Rebooting and fscking made the directory accessible again, but now there is a
different directory exhibiting the problem (unknown whether it had the problem
before the fsck/reboot)

This particular problem exhibited itself for the first time after tests of my
multi-threaded 'du' that beat the filesystem with a few dozen threads
simultaneously.

Given that this seems to very reproducible, I have many opportunities to poke
at a hung process, query the filesystem, or recompile the kernel in any way
that would be helpful; I just don't know to approach it from here.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help