xfs
[Top] [All Lists]

Re: Files >4GB in XFS realtime partition

To: Nathan Scott <nathans@xxxxxxx>
Subject: Re: Files >4GB in XFS realtime partition
From: James Chapman <jchapman@xxxxxxxxxxx>
Date: Fri, 03 Jun 2005 12:48:30 +0100
Cc: linux-xfs@xxxxxxxxxxx, sandeen@xxxxxxx
In-reply-to: <20050603020224.GE1021@frodo>
References: <428B4CC0.70702@xxxxxxxxxxx> <20050603020224.GE1021@frodo>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
Hi Nathan,

Eric Sandeen asked me to reproduce this on an x86 but I've been unable to find time to do so yet. I'll get back to you as soon as I can. I'll try to test with a 2.4.29 kernel.

/james

Nathan Scott wrote:

On Wed, May 18, 2005 at 03:10:08PM +0100, James Chapman wrote:

I'm seeing corrupt data when trying to read/write files >4GB in a realtime partition. Are there any known bugs in this area? Corruption only occurs when the file grows larger than 4GB. No problems are seen when using non-realtime XFS partitions.

Kernel: 2.4.29
Arch:   MIPS


Hmm, I can't reproduce this on i386 with a current (CVS) kernel,
both buffered and direct realtime IO looks OK at offsets larger
than 4GB.  Does this sequence fail for you too?...

[root@bruce xfstests]# xfs_io -Rf /mnt/xfs0/realtime
xfs_io> pwrite 5g 4k
wrote 4096/4096 bytes at offset 5368709120
4 KiB, 1 ops; 0.0000 sec (15.024 MiB/sec and 3846.1538 ops/sec)
xfs_io> quit

[root@bruce xfstests]# od -x /mnt/xfs0/realtime 0000000 0000 0000 0000 0000 0000 0000 0000 0000
*
50000000000 cdcd cdcd cdcd cdcd cdcd cdcd cdcd cdcd
*
50000010000

bruce xfs-cmds/xfstests# xfs_io -Rdf /mnt/xfs0/realtime-direct
xfs_io> pwrite 5g 4k
wrote 4096/4096 bytes at offset 5368709120
4 KiB, 1 ops; 0.0000 sec (208.965 KiB/sec and 52.2411 ops/sec)
xfs_io> q
bruce xfs-cmds/xfstests# od -x /mnt/xfs0/realtime-direct
0000000 0000 0000 0000 0000 0000 0000 0000 0000
*
50000000000 cdcd cdcd cdcd cdcd cdcd cdcd cdcd cdcd
*
50000010000

cheers.



<Prev in Thread] Current Thread [Next in Thread>