Bug 703091 - If EXT4_EXTENTS_FL flag is not set, the max file size of write() is different than seek().
Summary: If EXT4_EXTENTS_FL flag is not set, the max file size of write() is different...
Keywords:
Status: CLOSED DUPLICATE of bug 784191
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel
Version: 5.7
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Carlos Maiolino
QA Contact: Petr Beňas
URL:
Whiteboard:
Depends On: 652013
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-09 09:18 UTC by Eryu Guan
Modified: 2015-01-04 23:00 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 652013
Environment:
Last Closed: 2013-07-04 13:12:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 1 Eryu Guan 2011-05-09 09:21:43 UTC
This fails on rhel5.7 as well

[root@ibm-x3550m3-02 652013-max-write-and-seek-size-differ]# uname -a
Linux ibm-x3550m3-02.rhts.eng.nay.redhat.com 2.6.18-258.el5 #1 SMP Tue Apr 26 18:27:35 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
[root@ibm-x3550m3-02 652013-max-write-and-seek-size-differ]# make run
chmod a+x ./runtest.sh
tar -xf 3.repro.tar
patch -p0 < exitcode.patch
patching file repro/run.sh
./runtest.sh
/mnt/tests/kernel/filesystems/652013-max-write-and-seek-size-differ/repro/run.sh
Running ./run.sh As root:
###############################################
(noextentfs)(nohugefilefs)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype sparse_super large_file
 EXT3 FILE SEEK/WRITE: 2199023251456/2194719883264
 EXT4 FILE SEEK/WRITE: 2199023251456/2194719883264
Ext3 seek/write file max sizes differ!
Ext4 seek/write file max sizes differ!
###############################################
(noextentfs)(hugefilefs)
...finished running ./run.sh, exit code=5
/kernel/filesystems/652013-max-write-and-seek-size-differ result: FAIL

Comment 2 Eric Sandeen 2011-05-09 17:40:37 UTC
As stated in the other bug:

Just as a general note, using the ext4 driver for ext3 filesystems in RHEL6 is
not recommended.  We can fix this, but it's not the preferred mode of
operation.

Thanks,
-Eric

Comment 3 Ric Wheeler 2011-05-09 19:11:17 UTC
I would state this more strongly - running ext3 file systems with ext4 is not supported in RHEL since we do not test this combination.

Development will of course pull in reasonable fixes, but this should not impact any production use case.

Thanks!


Note You need to log in before you can comment on or make changes to this bug.