Bug 10993

Summary: vfat module fails, if not ehoigh space available.
Product: File System Reporter: Ilya (dik_again)
Component: FAT/VFAT/MSDOSAssignee: OGAWA Hirofumi (hirofumi)
Status: REJECTED UNREPRODUCIBLE    
Severity: blocking    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.25rc6 Subsystem:
Regression: --- Bisected commit-id:

Description Ilya 2008-06-27 01:33:59 UTC
Latest working kernel version: unlnown
Earliest failing kernel version: 2.6.25rc6
Distribution: 
Hardware Environment: A7V600 motherboard, ATA drive

Problem Description: 

vfat module fails, if it's not enough free space available. And then keeps blocking any I/O on it.

Steps to reproduce: near full vfat partition. then dd if=/dev/zero of=/mnt/vfat/test.file bs=1M

First time I see this so:
dd if=/dev/zero seek=1000 bs=1M count=1 of=/mnt/vfat/test.file (And on partiotion is <1000M free).

This 2 problems exist, probably, together and independetly.
Comment 1 OGAWA Hirofumi 2008-06-27 06:45:33 UTC
Could you try sysrq-t to see what happen when I/O was frozen?

    # echo t > /proc/sysrq-trigger
    # dmesg -s 1000000000 > /tmp/dmesg.log
Comment 2 OGAWA Hirofumi 2008-06-27 06:58:51 UTC
Also, how big is partition size? The block allocation may very slow on big
partition.

Could you get the log of strace too?

    # strace -fF -o /tmp/strace.log <command line of dd>
Comment 3 Ilya 2008-06-30 10:52:31 UTC
Hmmm. Now I can not reproduce the bug. I will try...(In reply to comment #2)
> Also, how big is partition size? The block allocation may very slow on big
> partition.
> 
> Could you get the log of strace too?
> 
>     # strace -fF -o /tmp/strace.log <command line of dd>
> 

Hmmm. Now I can not reproduce the bug. I will try...
Comment 4 OGAWA Hirofumi 2008-06-30 23:21:04 UTC
Thanks for trying. Umm, if you could reproduce this, could you re-open
this bug?  I close this for now.