Bug 7102

Summary: UDF limited size of file
Product: File System Reporter: tomek (tomasz_rysz)
Component: OtherAssignee: fs_other
Status: CLOSED CODE_FIX    
Severity: normal CC: serge
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.17.11 Subsystem:
Regression: --- Bisected commit-id:
Attachments: 2.6.17.11 kernel config file
2.6.17.4 kernel config file

Description tomek 2006-09-02 13:10:10 UTC
Most recent kernel where this bug did not occur: 2.6.17.4
Distribution: Debian sid
Hardware Environment: 
Software Environment: gcc (GCC) 4.1.2 20060729 (prerelease) (Debian 4.1.1-10) ; mkudffs 1.0.0b2 
for UDF FS 1.0.0-cvs, 2002/02/09 ; mount: mount-2.12r ; loop-aes-utils 2.12r-13 ; Linux terminal1 
2.6.17.11 #1 PREEMPT Fri Sep 1 16:13:21 CEST 2006 i686 GNU/Linux
Problem Description:
Can't write file larger than 1048866kB , it is only 23% of all area.
Steps to reproduce:
create big file : dd if=/dev/zero of=udf_file bs=47000 count=100000
make udf file system : mkudffs udf_file
mount udf_file /mnt/file -o loop
try copy/create large file on udf file system :
cp <big file more than 1GB> /mnt/file |or| dd if=/dev/zero /mnt/file/big bs=47000 count=90000
Comment 1 tomek 2006-09-02 13:13:42 UTC
Created attachment 8934 [details]
2.6.17.11 kernel config file
Comment 2 tomek 2006-09-02 13:15:32 UTC
Created attachment 8935 [details]
2.6.17.4 kernel config file
Comment 3 mehmet 2006-11-03 14:39:39 UTC
See the following thread on lkml:
"UDF 1GB file size limit after CVE-2006-4145 fix"
Comment 4 Dave Jones 2007-06-06 00:28:48 UTC
fixed in mainline with this commit..

commit 31170b6ad4ebe6c43c1cc3b8112274cf59474de0
Author: Jan Kara <jack@suse.cz>
Date:   Tue May 8 00:35:21 2007 -0700

    udf: support files larger than 1G