XFS Direct IO, unaligned block zeroing at 128K boundery

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear all
I made a simple script that creates a 2MB file using directio write operation,
The objective was to test with different buffer sizes from 4K-5K-6K..8K, the buffer was filled with 5,
Than take hexdump of file to check data integrity.
 
With 4K the file is fine, but with 5K, It can be noticed that
 
there is zeroing is at 128K boundry further this shift 1K on successive 128K chunk.
I guess this is a bug. 
------------------------------------------------------------------------------------
*****************************
BUFFER SIZE : 4096
*****************************
0000000 0505 0505 0505 0505 0505 0505 0505 0505
*
0200000
*****************************
BUFFER SIZE : 5120
*****************************
0000000 0505 0505 0505 0505 0505 0505 0505 0505
*
001f400 0000 0000 0000 0000 0000 0000 0000 0000
*
0020000 0505 0505 0505 0505 0505 0505 0505 0505
*
002f800 0000 0000 0000 0000 0000 0000 0000 0000
*
0030000 0505 0505 0505 0505 0505 0505 0505 0505
*
003fc00 0000 0000 0000 0000 0000 0000 0000 0000
*
0040000 0505 0505 0505 0505 0505 0505 0505 0505
*
006f400 0000 0000 0000 0000 0000 0000 0000 0000
*
0070000 0505 0505 0505 0505 0505 0505 0505 0505
*
007f800 0000 0000 0000 0000 0000 0000 0000 0000
*
0080000 0505 0505 0505 0505 0505 0505 0505 0505
*
008fc00 0000 0000 0000 0000 0000 0000 0000 0000
*
0090000 0505 0505 0505 0505 0505 0505 0505 0505
*
00bf400 0000 0000 0000 0000 0000 0000 0000 0000
*
00c0000 0505 0505 0505 0505 0505 0505 0505 0505
*
00cf800 0000 0000 0000 0000 0000 0000 0000 0000
*
00d0000 0505 0505 0505 0505 0505 0505 0505 0505
*
00dfc00 0000 0000 0000 0000 0000 0000 0000 0000
*
00e0000 0505 0505 0505 0505 0505 0505 0505 0505
*
010f400 0000 0000 0000 0000 0000 0000 0000 0000
*
0110000 0505 0505 0505 0505 0505 0505 0505 0505
*
011f800 0000 0000 0000 0000 0000 0000 0000 0000
*
0120000 0505 0505 0505 0505 0505 0505 0505 0505
*
012fc00 0000 0000 0000 0000 0000 0000 0000 0000
*
0130000 0505 0505 0505 0505 0505 0505 0505 0505
*
015f400 0000 0000 0000 0000 0000 0000 0000 0000
*
0160000 0505 0505 0505 0505 0505 0505 0505 0505
*
016f800 0000 0000 0000 0000 0000 0000 0000 0000
*
0170000 0505 0505 0505 0505 0505 0505 0505 0505
*
017fc00 0000 0000 0000 0000 0000 0000 0000 0000
*
0180000 0505 0505 0505 0505 0505 0505 0505 0505
*
01af400 0000 0000 0000 0000 0000 0000 0000 0000
*
01b0000 0505 0505 0505 0505 0505 0505 0505 0505
*
01bf800 0000 0000 0000 0000 0000 0000 0000 0000
*
01c0000 0505 0505 0505 0505 0505 0505 0505 0505
*
01cfc00 0000 0000 0000 0000 0000 0000 0000 0000
*
01d0000 0505 0505 0505 0505 0505 0505 0505 0505
*
01ff400

On Wed, Nov 24, 2010 at 10:10 AM, Ajeet Yadav <ajeet.yadav.77@xxxxxxxxx> wrote:
We have backported complete xfs from 2.6.34 to 2.6.30.9, because there were many fixes since 2.6.30.9
On Tue, Nov 23, 2010 at 6:51 PM, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
On Tue, Nov 23, 2010 at 03:50:37PM +0530, Ajeet Yadav wrote:
> I have the following backtrace on my ARM target, please have a look

Are sure you're on 2.6.34?  Something similar was fixed by commit
f1f724e4b523d444c5a598d74505aefa3d6844d2 in 2.6.34.



_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs

[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux