On Thu, 20 Sep 2007 05:42:54 +1000, Eric Sandeen <sandeen@xxxxxxxxxxx>
wrote:
Jochen K. wrote:
[output with encryption]
mkfs.xfs -f /dev/mapper/raid6
meta-data=/dev/mapper/raid6 isize=256 agcount=32,
agsize=53412581
blks
= sectsz=512 attr=0
data = bsize=4096 blocks=1709202592,
imaxpct=25
= sunit=0 swidth=0 blks, unwritten=1
naming =version 2 bsize=4096
log =internal log bsize=4096 blocks=32768, version=1
= sectsz=512 sunit=0 blks, lazy-count=0
realtime =none extsz=4096 blocks=0, rtextents=0
b7f57ad0: Badness in key lookup (length)
bp=(bno 13673620728, len 131072 bytes) key=(bno 13673620728, len 4096
bytes)
What generates the last two lines in the above message, and do you know
what it indicates?
The following patch should fix this problem:
--- a/xfsprogs/mkfs/xfs_mkfs.c 2007-09-20 12:31:33.000000000 +1000
+++ b/xfsprogs/mkfs/xfs_mkfs.c 2007-09-20 12:28:46.698533734 +1000
@@ -2115,6 +2115,7 @@
BTOBB(WHACK_SIZE));
bzero(XFS_BUF_PTR(buf), WHACK_SIZE);
libxfs_writebuf(buf, LIBXFS_EXIT_ON_FAILURE);
+ libxfs_purgebuf(buf);
}
/*
|