Bug 48301

Summary: Kernel panic when try delete really big file (3,3TB)
Product: File System Reporter: Zdenek Zdvorak (zdenek)
Component: ext4Assignee: fs_ext4 (fs_ext4)
Status: RESOLVED PATCH_ALREADY_AVAILABLE    
Severity: normal CC: alan, lczerner, tytso
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.4.9 Subsystem:
Regression: No Bisected commit-id:
Attachments: DMESG, system info

Description Zdenek Zdvorak 2012-10-04 05:43:45 UTC
I try test filesystem ext4 mounted as / on RAID5 (4*2TB).
Create about 3,3TB file by "ddrescue /dev/zero /mnt/zero-file
after that try delete this file "rm /mnt/zero-file"....

system print bugtrace and after that not respond, unable to reboot. 
After manual restart, unable to boot (kernel panic when try mount / ).

Solved by boot actual systemrescueCD and after 1 minutes filesystem successfully mounted, after next manual restart, standard os boot ok.

Sorry for english.

Thanks
Zdvori
Comment 1 Zdenek Zdvorak 2012-10-04 05:44:24 UTC
Created attachment 82021 [details]
DMESG, system info
Comment 2 Alan 2012-10-04 11:02:45 UTC
"Sorry for english"

All fine - your description is perfectly understandable
Comment 3 Lukas Czerner 2012-10-04 11:41:29 UTC
This has been fixed with v3.6-rc1-5-g89a4e48

89a4e48f8479f8145eca9698f39fe188c982212f ext4: fix kernel BUG on large-scale rm -rf commands

-Lukas
Comment 4 Theodore Tso 2012-10-04 17:49:02 UTC
This bug is also fixed in v3.4.10 (although you should probably consider going to the latest 3.4.x kernel, which is 3.4.11).