Bug 43305
Summary: | Deleting a folder with 500 000 small files causes deadlock in start_this_handle.irsa.7 | ||
---|---|---|---|
Product: | File System | Reporter: | Aigars Mahinovs (aigarius) |
Component: | ext4 | Assignee: | fs_ext4 (fs_ext4) |
Status: | RESOLVED INSUFFICIENT_DATA | ||
Severity: | normal | CC: | alan, jack |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.2.0-24-generic-pae | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | Kernel log after pressing SysRq+w twice during the lockup |
Description
Aigars Mahinovs
2012-05-27 20:44:29 UTC
Hmm, can you make the problem happen, then run 'echo w >/proc/sysrq-trigger' and post here output from dmesg? Thanks! Created attachment 73458 [details]
Kernel log after pressing SysRq+w twice during the lockup
Note that I first pressed the Sysrq+w on the keyboard and after that ran the command to also execute it via /proc
I reproduced the problem like this (in an empty folder): for i in {0..500000}; do echo 1234567890 > $i; done; ls | xargs -n 100 -P 100 rm Got the lock-up on the third try. Actually, this does not seem like deadlock as such. Rather the storm of discard requests we send to the drive probably causes a headache to its FTL. Can you try mounting the filesystem with 'nodiscard' mount option? Any result with nodiscard mount option? I'll just close this bug if there's no reply... |