Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25488 - XFS ODIRECT on i586 broken
Summary: XFS ODIRECT on i586 broken
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: Highest critical (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-29 01:40 UTC by Pascal de Bruijn
Modified: 2004-10-09 17:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal de Bruijn 2003-07-29 01:40:33 UTC
I install Gentoo on my box, gcc 3.2.3r1, glibc 2.3.2r1, linux 2.4.21...

All compiled for -march=i586

When I made an XFS volume, and then tried Wessel Dankers utility to check if XFS
is broken or not... Well it was broken!

Reproducible: Always
Steps to Reproduce:
1. Compile a xfs kernel for i586
2. run odirect
3. check filesizes

Actual Results:  
tiamat root # ./odirect /mnt/test/bla
tiamat root # cd /mnt/test
tiamat test # ls
bla
tiamat test # ls -lh
total 4.0M
-rw-r--r--    1 root     root         512M Jul 29 10:24 bla
tiamat test # ls -lh bla
-rw-r--r--    1 root     root         512M Jul 29 10:24 bla
tiamat test # du -h bla
4.0M    bla
tiamat test #


Expected Results:  
the ls and du filesizes should be the same, but they're not!

This is a very serious problem which needs to be fixed! The XFS defragmentation
utility uses ODIRECT and could corrupt entire filesystems beyond recovery!
Comment 1 SpanKY gentoo-dev 2004-10-09 17:45:07 UTC
please try with the latest versions of everything