From: Tim Shimmin Date: Tue, 17 Oct 2006 06:10:19 +0000 (+0000) Subject: test out attr2 with different number of extents and number X-Git-Tag: v1.1.0~564 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=7dcf3ce6f95603965b51c53d0a48864b0c6e8268;p=xfstests-dev.git test out attr2 with different number of extents and number of EAs - with both sizes shrinking and enlarging and changing formats. Need to fix up the output before setting live. Merge of master-melb:xfs-cmds:27208a by kenmcd. test out attr2 with different number of extents and number of EAs - with both sizes shrinking and enlarging and changing formats. Need to fix up the output before setting live. --- diff --git a/136 b/136 new file mode 100755 index 00000000..6e835418 --- /dev/null +++ b/136 @@ -0,0 +1,174 @@ +#! /bin/sh +# FS QA Test No. 135 +# +# Test the attr2 code +# Let's look, xfs_db, at the inode and its literal area for the +# extents and the attributes +# +#----------------------------------------------------------------------- +# Copyright (c) 2000-2005 Silicon Graphics, Inc. All Rights Reserved. +#----------------------------------------------------------------------- +# +# creator +owner=tes@puffy.melbourne.sgi.com + +seq=`basename $0` +echo "QA output created by $seq" + +here=`pwd` +tmp=/tmp/$$ +status=1 # failure is the default! +trap "_cleanup; exit \$status" 0 1 2 3 15 + +_cleanup() +{ + cd / + rm -f $tmp.* +} + +# get standard environment, filters and checks +. ./common.rc +. ./common.filter + +# real QA test starts here + +_notrun "Need to fix up filtering before checkin" + +# Modify as appropriate. +_supported_fs xfs +_supported_os IRIX Linux +_require_scratch + +export MKFS_OPTIONS="-i size=512,attr=2" +_scratch_mkfs_xfs +_scratch_mount + +file=$SCRATCH_MNT/file +touch $file +inum=`ls -i $file | awk '{print $1}'` +echo "inum=$inum" + +add_eas() +{ + start=$1 + end=$2 + echo ""; echo "** add $start..$end EAs **" + i=$start + while [ $i -le $end ]; do + attr -s name.$i -V value $file >/dev/null + i=`expr $i + 1` + done +} + +rm_eas() +{ + start=$1 + end=$2 + echo ""; echo "** rm $start..$end EAs **" + i=$start + while [ $i -le $end ]; do + attr -r name.$i $file >/dev/null + i=`expr $i + 1` + done +} + +do_extents() +{ + num=$1 + echo ""; echo "** $num extents **" + src/makeextents -v -p -w -n $num $file +} + +_print_inode() +{ + #sync + #sleep 2 + umount $SCRATCH_MNT + xfs_db -r -c "inode $inum" -c "print" $SCRATCH_DEV |\ + awk ' + /nextents/ { print; next } + /naextents/ { print; next } + /u\./ { print; next } + /a\./ { print; next } + /forkoff/ { printf("core.forkoff = %d (%d bytes)\n", $3, $3*8); next } + /format/ { print; next } + /size/ { print; next } + ' + _scratch_mount +} + +# main + +_print_inode + +add_eas 1 1 +_print_inode + +add_eas 2 2 +_print_inode + +add_eas 3 4 +_print_inode + +add_eas 5 8 +_print_inode + +add_eas 9 16 +_print_inode + +add_eas 17 20 +_print_inode + +add_eas 21 21 +_print_inode + +add_eas 22 22 +_print_inode + +add_eas 23 23 +_print_inode + +add_eas 24 24 +_print_inode + +add_eas 25 25 +_print_inode + +add_eas 26 30 +_print_inode + +add_eas 31 35 +_print_inode + +rm_eas 1 34 +_print_inode + +# now do the extents + +#build up +j=1 +while [ $j -le 30 ]; do + do_extents $j + _print_inode + j=`expr $j + 2` +done + +#scale down +j=30 +while [ $j -ge 1 ]; do + do_extents $j + _print_inode + j=`expr $j - 2` +done + +#build up +j=1 +while [ $j -le 30 ]; do + do_extents $j + _print_inode + j=`expr $j + 2` +done + +# success, all done +status=0 +exit diff --git a/136.out b/136.out new file mode 100644 index 00000000..34e1cca1 --- /dev/null +++ b/136.out @@ -0,0 +1,1903 @@ +QA output created by 136 +meta-data=/dev/sda8 isize=512 agcount=8, agsize=31376 blks + = sectsz=512 attr=2, parent=0 +data = bsize=4096 blocks=251008, imaxpct=25 + = sunit=0 swidth=0 blks, unwritten=1 +naming =version 2 bsize=4096 +log =internal log bsize=4096 blocks=1200, version=1 + = sectsz=512 sunit=0 blks +realtime =none extsz=65536 blocks=0, rtextents=0 +inum=67 +core.format = 2 (extents) +core.size = 0 +core.extsize = 0 +core.nextents = 0 +core.naextents = 0 +core.forkoff = 0 (0 bytes) +core.aformat = 2 (extents) + +** add 1..1 EAs ** +core.format = 2 (extents) +core.size = 0 +core.extsize = 0 +core.nextents = 0 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +a.sfattr.hdr.totsize = 18 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 6 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.1" +a.sfattr.list[0].value = "value" + +** add 2..2 EAs ** +core.format = 2 (extents) +core.size = 0 +core.extsize = 0 +core.nextents = 0 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +a.sfattr.hdr.totsize = 32 +a.sfattr.hdr.count = 2 +a.sfattr.list[0].namelen = 6 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.1" +a.sfattr.list[0].value = "value" +a.sfattr.list[1].namelen = 6 +a.sfattr.list[1].valuelen = 5 +a.sfattr.list[1].root = 0 +a.sfattr.list[1].secure = 0 +a.sfattr.list[1].name = "name.2" +a.sfattr.list[1].value = "value" + +** add 3..4 EAs ** +core.format = 2 (extents) +core.size = 0 +core.extsize = 0 +core.nextents = 0 +core.naextents = 0 +core.forkoff = 44 (352 bytes) +core.aformat = 1 (local) +a.sfattr.hdr.totsize = 60 +a.sfattr.hdr.count = 4 +a.sfattr.list[0].namelen = 6 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.1" +a.sfattr.list[0].value = "value" +a.sfattr.list[1].namelen = 6 +a.sfattr.list[1].valuelen = 5 +a.sfattr.list[1].root = 0 +a.sfattr.list[1].secure = 0 +a.sfattr.list[1].name = "name.2" +a.sfattr.list[1].value = "value" +a.sfattr.list[2].namelen = 6 +a.sfattr.list[2].valuelen = 5 +a.sfattr.list[2].root = 0 +a.sfattr.list[2].secure = 0 +a.sfattr.list[2].name = "name.3" +a.sfattr.list[2].value = "value" +a.sfattr.list[3].namelen = 6 +a.sfattr.list[3].valuelen = 5 +a.sfattr.list[3].root = 0 +a.sfattr.list[3].secure = 0 +a.sfattr.list[3].name = "name.4" +a.sfattr.list[3].value = "value" + +** add 5..8 EAs ** +core.format = 2 (extents) +core.size = 0 +core.extsize = 0 +core.nextents = 0 +core.naextents = 0 +core.forkoff = 37 (296 bytes) +core.aformat = 1 (local) +a.sfattr.hdr.totsize = 116 +a.sfattr.hdr.count = 8 +a.sfattr.list[0].namelen = 6 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.1" +a.sfattr.list[0].value = "value" +a.sfattr.list[1].namelen = 6 +a.sfattr.list[1].valuelen = 5 +a.sfattr.list[1].root = 0 +a.sfattr.list[1].secure = 0 +a.sfattr.list[1].name = "name.2" +a.sfattr.list[1].value = "value" +a.sfattr.list[2].namelen = 6 +a.sfattr.list[2].valuelen = 5 +a.sfattr.list[2].root = 0 +a.sfattr.list[2].secure = 0 +a.sfattr.list[2].name = "name.3" +a.sfattr.list[2].value = "value" +a.sfattr.list[3].namelen = 6 +a.sfattr.list[3].valuelen = 5 +a.sfattr.list[3].root = 0 +a.sfattr.list[3].secure = 0 +a.sfattr.list[3].name = "name.4" +a.sfattr.list[3].value = "value" +a.sfattr.list[4].namelen = 6 +a.sfattr.list[4].valuelen = 5 +a.sfattr.list[4].root = 0 +a.sfattr.list[4].secure = 0 +a.sfattr.list[4].name = "name.5" +a.sfattr.list[4].value = "value" +a.sfattr.list[5].namelen = 6 +a.sfattr.list[5].valuelen = 5 +a.sfattr.list[5].root = 0 +a.sfattr.list[5].secure = 0 +a.sfattr.list[5].name = "name.6" +a.sfattr.list[5].value = "value" +a.sfattr.list[6].namelen = 6 +a.sfattr.list[6].valuelen = 5 +a.sfattr.list[6].root = 0 +a.sfattr.list[6].secure = 0 +a.sfattr.list[6].name = "name.7" +a.sfattr.list[6].value = "value" +a.sfattr.list[7].namelen = 6 +a.sfattr.list[7].valuelen = 5 +a.sfattr.list[7].root = 0 +a.sfattr.list[7].secure = 0 +a.sfattr.list[7].name = "name.8" +a.sfattr.list[7].value = "value" + +** add 9..16 EAs ** +core.format = 2 (extents) +core.size = 0 +core.extsize = 0 +core.nextents = 0 +core.naextents = 0 +core.forkoff = 22 (176 bytes) +core.aformat = 1 (local) +a.sfattr.hdr.totsize = 235 +a.sfattr.hdr.count = 16 +a.sfattr.list[0].namelen = 6 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.1" +a.sfattr.list[0].value = "value" +a.sfattr.list[1].namelen = 6 +a.sfattr.list[1].valuelen = 5 +a.sfattr.list[1].root = 0 +a.sfattr.list[1].secure = 0 +a.sfattr.list[1].name = "name.2" +a.sfattr.list[1].value = "value" +a.sfattr.list[2].namelen = 6 +a.sfattr.list[2].valuelen = 5 +a.sfattr.list[2].root = 0 +a.sfattr.list[2].secure = 0 +a.sfattr.list[2].name = "name.3" +a.sfattr.list[2].value = "value" +a.sfattr.list[3].namelen = 6 +a.sfattr.list[3].valuelen = 5 +a.sfattr.list[3].root = 0 +a.sfattr.list[3].secure = 0 +a.sfattr.list[3].name = "name.4" +a.sfattr.list[3].value = "value" +a.sfattr.list[4].namelen = 6 +a.sfattr.list[4].valuelen = 5 +a.sfattr.list[4].root = 0 +a.sfattr.list[4].secure = 0 +a.sfattr.list[4].name = "name.5" +a.sfattr.list[4].value = "value" +a.sfattr.list[5].namelen = 6 +a.sfattr.list[5].valuelen = 5 +a.sfattr.list[5].root = 0 +a.sfattr.list[5].secure = 0 +a.sfattr.list[5].name = "name.6" +a.sfattr.list[5].value = "value" +a.sfattr.list[6].namelen = 6 +a.sfattr.list[6].valuelen = 5 +a.sfattr.list[6].root = 0 +a.sfattr.list[6].secure = 0 +a.sfattr.list[6].name = "name.7" +a.sfattr.list[6].value = "value" +a.sfattr.list[7].namelen = 6 +a.sfattr.list[7].valuelen = 5 +a.sfattr.list[7].root = 0 +a.sfattr.list[7].secure = 0 +a.sfattr.list[7].name = "name.8" +a.sfattr.list[7].value = "value" +a.sfattr.list[8].namelen = 6 +a.sfattr.list[8].valuelen = 5 +a.sfattr.list[8].root = 0 +a.sfattr.list[8].secure = 0 +a.sfattr.list[8].name = "name.9" +a.sfattr.list[8].value = "value" +a.sfattr.list[9].namelen = 7 +a.sfattr.list[9].valuelen = 5 +a.sfattr.list[9].root = 0 +a.sfattr.list[9].secure = 0 +a.sfattr.list[9].name = "name.10" +a.sfattr.list[9].value = "value" +a.sfattr.list[10].namelen = 7 +a.sfattr.list[10].valuelen = 5 +a.sfattr.list[10].root = 0 +a.sfattr.list[10].secure = 0 +a.sfattr.list[10].name = "name.11" +a.sfattr.list[10].value = "value" +a.sfattr.list[11].namelen = 7 +a.sfattr.list[11].valuelen = 5 +a.sfattr.list[11].root = 0 +a.sfattr.list[11].secure = 0 +a.sfattr.list[11].name = "name.12" +a.sfattr.list[11].value = "value" +a.sfattr.list[12].namelen = 7 +a.sfattr.list[12].valuelen = 5 +a.sfattr.list[12].root = 0 +a.sfattr.list[12].secure = 0 +a.sfattr.list[12].name = "name.13" +a.sfattr.list[12].value = "value" +a.sfattr.list[13].namelen = 7 +a.sfattr.list[13].valuelen = 5 +a.sfattr.list[13].root = 0 +a.sfattr.list[13].secure = 0 +a.sfattr.list[13].name = "name.14" +a.sfattr.list[13].value = "value" +a.sfattr.list[14].namelen = 7 +a.sfattr.list[14].valuelen = 5 +a.sfattr.list[14].root = 0 +a.sfattr.list[14].secure = 0 +a.sfattr.list[14].name = "name.15" +a.sfattr.list[14].value = "value" +a.sfattr.list[15].namelen = 7 +a.sfattr.list[15].valuelen = 5 +a.sfattr.list[15].root = 0 +a.sfattr.list[15].secure = 0 +a.sfattr.list[15].name = "name.16" +a.sfattr.list[15].value = "value" + +** add 17..20 EAs ** +core.format = 2 (extents) +core.size = 0 +core.extsize = 0 +core.nextents = 0 +core.naextents = 0 +core.forkoff = 14 (112 bytes) +core.aformat = 1 (local) +a.sfattr.hdr.totsize = 295 +a.sfattr.hdr.count = 20 +a.sfattr.list[0].namelen = 6 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.1" +a.sfattr.list[0].value = "value" +a.sfattr.list[1].namelen = 6 +a.sfattr.list[1].valuelen = 5 +a.sfattr.list[1].root = 0 +a.sfattr.list[1].secure = 0 +a.sfattr.list[1].name = "name.2" +a.sfattr.list[1].value = "value" +a.sfattr.list[2].namelen = 6 +a.sfattr.list[2].valuelen = 5 +a.sfattr.list[2].root = 0 +a.sfattr.list[2].secure = 0 +a.sfattr.list[2].name = "name.3" +a.sfattr.list[2].value = "value" +a.sfattr.list[3].namelen = 6 +a.sfattr.list[3].valuelen = 5 +a.sfattr.list[3].root = 0 +a.sfattr.list[3].secure = 0 +a.sfattr.list[3].name = "name.4" +a.sfattr.list[3].value = "value" +a.sfattr.list[4].namelen = 6 +a.sfattr.list[4].valuelen = 5 +a.sfattr.list[4].root = 0 +a.sfattr.list[4].secure = 0 +a.sfattr.list[4].name = "name.5" +a.sfattr.list[4].value = "value" +a.sfattr.list[5].namelen = 6 +a.sfattr.list[5].valuelen = 5 +a.sfattr.list[5].root = 0 +a.sfattr.list[5].secure = 0 +a.sfattr.list[5].name = "name.6" +a.sfattr.list[5].value = "value" +a.sfattr.list[6].namelen = 6 +a.sfattr.list[6].valuelen = 5 +a.sfattr.list[6].root = 0 +a.sfattr.list[6].secure = 0 +a.sfattr.list[6].name = "name.7" +a.sfattr.list[6].value = "value" +a.sfattr.list[7].namelen = 6 +a.sfattr.list[7].valuelen = 5 +a.sfattr.list[7].root = 0 +a.sfattr.list[7].secure = 0 +a.sfattr.list[7].name = "name.8" +a.sfattr.list[7].value = "value" +a.sfattr.list[8].namelen = 6 +a.sfattr.list[8].valuelen = 5 +a.sfattr.list[8].root = 0 +a.sfattr.list[8].secure = 0 +a.sfattr.list[8].name = "name.9" +a.sfattr.list[8].value = "value" +a.sfattr.list[9].namelen = 7 +a.sfattr.list[9].valuelen = 5 +a.sfattr.list[9].root = 0 +a.sfattr.list[9].secure = 0 +a.sfattr.list[9].name = "name.10" +a.sfattr.list[9].value = "value" +a.sfattr.list[10].namelen = 7 +a.sfattr.list[10].valuelen = 5 +a.sfattr.list[10].root = 0 +a.sfattr.list[10].secure = 0 +a.sfattr.list[10].name = "name.11" +a.sfattr.list[10].value = "value" +a.sfattr.list[11].namelen = 7 +a.sfattr.list[11].valuelen = 5 +a.sfattr.list[11].root = 0 +a.sfattr.list[11].secure = 0 +a.sfattr.list[11].name = "name.12" +a.sfattr.list[11].value = "value" +a.sfattr.list[12].namelen = 7 +a.sfattr.list[12].valuelen = 5 +a.sfattr.list[12].root = 0 +a.sfattr.list[12].secure = 0 +a.sfattr.list[12].name = "name.13" +a.sfattr.list[12].value = "value" +a.sfattr.list[13].namelen = 7 +a.sfattr.list[13].valuelen = 5 +a.sfattr.list[13].root = 0 +a.sfattr.list[13].secure = 0 +a.sfattr.list[13].name = "name.14" +a.sfattr.list[13].value = "value" +a.sfattr.list[14].namelen = 7 +a.sfattr.list[14].valuelen = 5 +a.sfattr.list[14].root = 0 +a.sfattr.list[14].secure = 0 +a.sfattr.list[14].name = "name.15" +a.sfattr.list[14].value = "value" +a.sfattr.list[15].namelen = 7 +a.sfattr.list[15].valuelen = 5 +a.sfattr.list[15].root = 0 +a.sfattr.list[15].secure = 0 +a.sfattr.list[15].name = "name.16" +a.sfattr.list[15].value = "value" +a.sfattr.list[16].namelen = 7 +a.sfattr.list[16].valuelen = 5 +a.sfattr.list[16].root = 0 +a.sfattr.list[16].secure = 0 +a.sfattr.list[16].name = "name.17" +a.sfattr.list[16].value = "value" +a.sfattr.list[17].namelen = 7 +a.sfattr.list[17].valuelen = 5 +a.sfattr.list[17].root = 0 +a.sfattr.list[17].secure = 0 +a.sfattr.list[17].name = "name.18" +a.sfattr.list[17].value = "value" +a.sfattr.list[18].namelen = 7 +a.sfattr.list[18].valuelen = 5 +a.sfattr.list[18].root = 0 +a.sfattr.list[18].secure = 0 +a.sfattr.list[18].name = "name.19" +a.sfattr.list[18].value = "value" +a.sfattr.list[19].namelen = 7 +a.sfattr.list[19].valuelen = 5 +a.sfattr.list[19].root = 0 +a.sfattr.list[19].secure = 0 +a.sfattr.list[19].name = "name.20" +a.sfattr.list[19].value = "value" + +** add 21..21 EAs ** +core.format = 2 (extents) +core.size = 0 +core.extsize = 0 +core.nextents = 0 +core.naextents = 0 +core.forkoff = 12 (96 bytes) +core.aformat = 1 (local) +a.sfattr.hdr.totsize = 310 +a.sfattr.hdr.count = 21 +a.sfattr.list[0].namelen = 6 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.1" +a.sfattr.list[0].value = "value" +a.sfattr.list[1].namelen = 6 +a.sfattr.list[1].valuelen = 5 +a.sfattr.list[1].root = 0 +a.sfattr.list[1].secure = 0 +a.sfattr.list[1].name = "name.2" +a.sfattr.list[1].value = "value" +a.sfattr.list[2].namelen = 6 +a.sfattr.list[2].valuelen = 5 +a.sfattr.list[2].root = 0 +a.sfattr.list[2].secure = 0 +a.sfattr.list[2].name = "name.3" +a.sfattr.list[2].value = "value" +a.sfattr.list[3].namelen = 6 +a.sfattr.list[3].valuelen = 5 +a.sfattr.list[3].root = 0 +a.sfattr.list[3].secure = 0 +a.sfattr.list[3].name = "name.4" +a.sfattr.list[3].value = "value" +a.sfattr.list[4].namelen = 6 +a.sfattr.list[4].valuelen = 5 +a.sfattr.list[4].root = 0 +a.sfattr.list[4].secure = 0 +a.sfattr.list[4].name = "name.5" +a.sfattr.list[4].value = "value" +a.sfattr.list[5].namelen = 6 +a.sfattr.list[5].valuelen = 5 +a.sfattr.list[5].root = 0 +a.sfattr.list[5].secure = 0 +a.sfattr.list[5].name = "name.6" +a.sfattr.list[5].value = "value" +a.sfattr.list[6].namelen = 6 +a.sfattr.list[6].valuelen = 5 +a.sfattr.list[6].root = 0 +a.sfattr.list[6].secure = 0 +a.sfattr.list[6].name = "name.7" +a.sfattr.list[6].value = "value" +a.sfattr.list[7].namelen = 6 +a.sfattr.list[7].valuelen = 5 +a.sfattr.list[7].root = 0 +a.sfattr.list[7].secure = 0 +a.sfattr.list[7].name = "name.8" +a.sfattr.list[7].value = "value" +a.sfattr.list[8].namelen = 6 +a.sfattr.list[8].valuelen = 5 +a.sfattr.list[8].root = 0 +a.sfattr.list[8].secure = 0 +a.sfattr.list[8].name = "name.9" +a.sfattr.list[8].value = "value" +a.sfattr.list[9].namelen = 7 +a.sfattr.list[9].valuelen = 5 +a.sfattr.list[9].root = 0 +a.sfattr.list[9].secure = 0 +a.sfattr.list[9].name = "name.10" +a.sfattr.list[9].value = "value" +a.sfattr.list[10].namelen = 7 +a.sfattr.list[10].valuelen = 5 +a.sfattr.list[10].root = 0 +a.sfattr.list[10].secure = 0 +a.sfattr.list[10].name = "name.11" +a.sfattr.list[10].value = "value" +a.sfattr.list[11].namelen = 7 +a.sfattr.list[11].valuelen = 5 +a.sfattr.list[11].root = 0 +a.sfattr.list[11].secure = 0 +a.sfattr.list[11].name = "name.12" +a.sfattr.list[11].value = "value" +a.sfattr.list[12].namelen = 7 +a.sfattr.list[12].valuelen = 5 +a.sfattr.list[12].root = 0 +a.sfattr.list[12].secure = 0 +a.sfattr.list[12].name = "name.13" +a.sfattr.list[12].value = "value" +a.sfattr.list[13].namelen = 7 +a.sfattr.list[13].valuelen = 5 +a.sfattr.list[13].root = 0 +a.sfattr.list[13].secure = 0 +a.sfattr.list[13].name = "name.14" +a.sfattr.list[13].value = "value" +a.sfattr.list[14].namelen = 7 +a.sfattr.list[14].valuelen = 5 +a.sfattr.list[14].root = 0 +a.sfattr.list[14].secure = 0 +a.sfattr.list[14].name = "name.15" +a.sfattr.list[14].value = "value" +a.sfattr.list[15].namelen = 7 +a.sfattr.list[15].valuelen = 5 +a.sfattr.list[15].root = 0 +a.sfattr.list[15].secure = 0 +a.sfattr.list[15].name = "name.16" +a.sfattr.list[15].value = "value" +a.sfattr.list[16].namelen = 7 +a.sfattr.list[16].valuelen = 5 +a.sfattr.list[16].root = 0 +a.sfattr.list[16].secure = 0 +a.sfattr.list[16].name = "name.17" +a.sfattr.list[16].value = "value" +a.sfattr.list[17].namelen = 7 +a.sfattr.list[17].valuelen = 5 +a.sfattr.list[17].root = 0 +a.sfattr.list[17].secure = 0 +a.sfattr.list[17].name = "name.18" +a.sfattr.list[17].value = "value" +a.sfattr.list[18].namelen = 7 +a.sfattr.list[18].valuelen = 5 +a.sfattr.list[18].root = 0 +a.sfattr.list[18].secure = 0 +a.sfattr.list[18].name = "name.19" +a.sfattr.list[18].value = "value" +a.sfattr.list[19].namelen = 7 +a.sfattr.list[19].valuelen = 5 +a.sfattr.list[19].root = 0 +a.sfattr.list[19].secure = 0 +a.sfattr.list[19].name = "name.20" +a.sfattr.list[19].value = "value" +a.sfattr.list[20].namelen = 7 +a.sfattr.list[20].valuelen = 5 +a.sfattr.list[20].root = 0 +a.sfattr.list[20].secure = 0 +a.sfattr.list[20].name = "name.21" +a.sfattr.list[20].value = "value" + +** add 22..22 EAs ** +core.format = 2 (extents) +core.size = 0 +core.extsize = 0 +core.nextents = 0 +core.naextents = 0 +core.forkoff = 10 (80 bytes) +core.aformat = 1 (local) +a.sfattr.hdr.totsize = 325 +a.sfattr.hdr.count = 22 +a.sfattr.list[0].namelen = 6 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.1" +a.sfattr.list[0].value = "value" +a.sfattr.list[1].namelen = 6 +a.sfattr.list[1].valuelen = 5 +a.sfattr.list[1].root = 0 +a.sfattr.list[1].secure = 0 +a.sfattr.list[1].name = "name.2" +a.sfattr.list[1].value = "value" +a.sfattr.list[2].namelen = 6 +a.sfattr.list[2].valuelen = 5 +a.sfattr.list[2].root = 0 +a.sfattr.list[2].secure = 0 +a.sfattr.list[2].name = "name.3" +a.sfattr.list[2].value = "value" +a.sfattr.list[3].namelen = 6 +a.sfattr.list[3].valuelen = 5 +a.sfattr.list[3].root = 0 +a.sfattr.list[3].secure = 0 +a.sfattr.list[3].name = "name.4" +a.sfattr.list[3].value = "value" +a.sfattr.list[4].namelen = 6 +a.sfattr.list[4].valuelen = 5 +a.sfattr.list[4].root = 0 +a.sfattr.list[4].secure = 0 +a.sfattr.list[4].name = "name.5" +a.sfattr.list[4].value = "value" +a.sfattr.list[5].namelen = 6 +a.sfattr.list[5].valuelen = 5 +a.sfattr.list[5].root = 0 +a.sfattr.list[5].secure = 0 +a.sfattr.list[5].name = "name.6" +a.sfattr.list[5].value = "value" +a.sfattr.list[6].namelen = 6 +a.sfattr.list[6].valuelen = 5 +a.sfattr.list[6].root = 0 +a.sfattr.list[6].secure = 0 +a.sfattr.list[6].name = "name.7" +a.sfattr.list[6].value = "value" +a.sfattr.list[7].namelen = 6 +a.sfattr.list[7].valuelen = 5 +a.sfattr.list[7].root = 0 +a.sfattr.list[7].secure = 0 +a.sfattr.list[7].name = "name.8" +a.sfattr.list[7].value = "value" +a.sfattr.list[8].namelen = 6 +a.sfattr.list[8].valuelen = 5 +a.sfattr.list[8].root = 0 +a.sfattr.list[8].secure = 0 +a.sfattr.list[8].name = "name.9" +a.sfattr.list[8].value = "value" +a.sfattr.list[9].namelen = 7 +a.sfattr.list[9].valuelen = 5 +a.sfattr.list[9].root = 0 +a.sfattr.list[9].secure = 0 +a.sfattr.list[9].name = "name.10" +a.sfattr.list[9].value = "value" +a.sfattr.list[10].namelen = 7 +a.sfattr.list[10].valuelen = 5 +a.sfattr.list[10].root = 0 +a.sfattr.list[10].secure = 0 +a.sfattr.list[10].name = "name.11" +a.sfattr.list[10].value = "value" +a.sfattr.list[11].namelen = 7 +a.sfattr.list[11].valuelen = 5 +a.sfattr.list[11].root = 0 +a.sfattr.list[11].secure = 0 +a.sfattr.list[11].name = "name.12" +a.sfattr.list[11].value = "value" +a.sfattr.list[12].namelen = 7 +a.sfattr.list[12].valuelen = 5 +a.sfattr.list[12].root = 0 +a.sfattr.list[12].secure = 0 +a.sfattr.list[12].name = "name.13" +a.sfattr.list[12].value = "value" +a.sfattr.list[13].namelen = 7 +a.sfattr.list[13].valuelen = 5 +a.sfattr.list[13].root = 0 +a.sfattr.list[13].secure = 0 +a.sfattr.list[13].name = "name.14" +a.sfattr.list[13].value = "value" +a.sfattr.list[14].namelen = 7 +a.sfattr.list[14].valuelen = 5 +a.sfattr.list[14].root = 0 +a.sfattr.list[14].secure = 0 +a.sfattr.list[14].name = "name.15" +a.sfattr.list[14].value = "value" +a.sfattr.list[15].namelen = 7 +a.sfattr.list[15].valuelen = 5 +a.sfattr.list[15].root = 0 +a.sfattr.list[15].secure = 0 +a.sfattr.list[15].name = "name.16" +a.sfattr.list[15].value = "value" +a.sfattr.list[16].namelen = 7 +a.sfattr.list[16].valuelen = 5 +a.sfattr.list[16].root = 0 +a.sfattr.list[16].secure = 0 +a.sfattr.list[16].name = "name.17" +a.sfattr.list[16].value = "value" +a.sfattr.list[17].namelen = 7 +a.sfattr.list[17].valuelen = 5 +a.sfattr.list[17].root = 0 +a.sfattr.list[17].secure = 0 +a.sfattr.list[17].name = "name.18" +a.sfattr.list[17].value = "value" +a.sfattr.list[18].namelen = 7 +a.sfattr.list[18].valuelen = 5 +a.sfattr.list[18].root = 0 +a.sfattr.list[18].secure = 0 +a.sfattr.list[18].name = "name.19" +a.sfattr.list[18].value = "value" +a.sfattr.list[19].namelen = 7 +a.sfattr.list[19].valuelen = 5 +a.sfattr.list[19].root = 0 +a.sfattr.list[19].secure = 0 +a.sfattr.list[19].name = "name.20" +a.sfattr.list[19].value = "value" +a.sfattr.list[20].namelen = 7 +a.sfattr.list[20].valuelen = 5 +a.sfattr.list[20].root = 0 +a.sfattr.list[20].secure = 0 +a.sfattr.list[20].name = "name.21" +a.sfattr.list[20].value = "value" +a.sfattr.list[21].namelen = 7 +a.sfattr.list[21].valuelen = 5 +a.sfattr.list[21].root = 0 +a.sfattr.list[21].secure = 0 +a.sfattr.list[21].name = "name.22" +a.sfattr.list[21].value = "value" + +** add 23..23 EAs ** +core.format = 2 (extents) +core.size = 0 +core.extsize = 0 +core.nextents = 0 +core.naextents = 0 +core.forkoff = 9 (72 bytes) +core.aformat = 1 (local) +a.sfattr.hdr.totsize = 340 +a.sfattr.hdr.count = 23 +a.sfattr.list[0].namelen = 6 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.1" +a.sfattr.list[0].value = "value" +a.sfattr.list[1].namelen = 6 +a.sfattr.list[1].valuelen = 5 +a.sfattr.list[1].root = 0 +a.sfattr.list[1].secure = 0 +a.sfattr.list[1].name = "name.2" +a.sfattr.list[1].value = "value" +a.sfattr.list[2].namelen = 6 +a.sfattr.list[2].valuelen = 5 +a.sfattr.list[2].root = 0 +a.sfattr.list[2].secure = 0 +a.sfattr.list[2].name = "name.3" +a.sfattr.list[2].value = "value" +a.sfattr.list[3].namelen = 6 +a.sfattr.list[3].valuelen = 5 +a.sfattr.list[3].root = 0 +a.sfattr.list[3].secure = 0 +a.sfattr.list[3].name = "name.4" +a.sfattr.list[3].value = "value" +a.sfattr.list[4].namelen = 6 +a.sfattr.list[4].valuelen = 5 +a.sfattr.list[4].root = 0 +a.sfattr.list[4].secure = 0 +a.sfattr.list[4].name = "name.5" +a.sfattr.list[4].value = "value" +a.sfattr.list[5].namelen = 6 +a.sfattr.list[5].valuelen = 5 +a.sfattr.list[5].root = 0 +a.sfattr.list[5].secure = 0 +a.sfattr.list[5].name = "name.6" +a.sfattr.list[5].value = "value" +a.sfattr.list[6].namelen = 6 +a.sfattr.list[6].valuelen = 5 +a.sfattr.list[6].root = 0 +a.sfattr.list[6].secure = 0 +a.sfattr.list[6].name = "name.7" +a.sfattr.list[6].value = "value" +a.sfattr.list[7].namelen = 6 +a.sfattr.list[7].valuelen = 5 +a.sfattr.list[7].root = 0 +a.sfattr.list[7].secure = 0 +a.sfattr.list[7].name = "name.8" +a.sfattr.list[7].value = "value" +a.sfattr.list[8].namelen = 6 +a.sfattr.list[8].valuelen = 5 +a.sfattr.list[8].root = 0 +a.sfattr.list[8].secure = 0 +a.sfattr.list[8].name = "name.9" +a.sfattr.list[8].value = "value" +a.sfattr.list[9].namelen = 7 +a.sfattr.list[9].valuelen = 5 +a.sfattr.list[9].root = 0 +a.sfattr.list[9].secure = 0 +a.sfattr.list[9].name = "name.10" +a.sfattr.list[9].value = "value" +a.sfattr.list[10].namelen = 7 +a.sfattr.list[10].valuelen = 5 +a.sfattr.list[10].root = 0 +a.sfattr.list[10].secure = 0 +a.sfattr.list[10].name = "name.11" +a.sfattr.list[10].value = "value" +a.sfattr.list[11].namelen = 7 +a.sfattr.list[11].valuelen = 5 +a.sfattr.list[11].root = 0 +a.sfattr.list[11].secure = 0 +a.sfattr.list[11].name = "name.12" +a.sfattr.list[11].value = "value" +a.sfattr.list[12].namelen = 7 +a.sfattr.list[12].valuelen = 5 +a.sfattr.list[12].root = 0 +a.sfattr.list[12].secure = 0 +a.sfattr.list[12].name = "name.13" +a.sfattr.list[12].value = "value" +a.sfattr.list[13].namelen = 7 +a.sfattr.list[13].valuelen = 5 +a.sfattr.list[13].root = 0 +a.sfattr.list[13].secure = 0 +a.sfattr.list[13].name = "name.14" +a.sfattr.list[13].value = "value" +a.sfattr.list[14].namelen = 7 +a.sfattr.list[14].valuelen = 5 +a.sfattr.list[14].root = 0 +a.sfattr.list[14].secure = 0 +a.sfattr.list[14].name = "name.15" +a.sfattr.list[14].value = "value" +a.sfattr.list[15].namelen = 7 +a.sfattr.list[15].valuelen = 5 +a.sfattr.list[15].root = 0 +a.sfattr.list[15].secure = 0 +a.sfattr.list[15].name = "name.16" +a.sfattr.list[15].value = "value" +a.sfattr.list[16].namelen = 7 +a.sfattr.list[16].valuelen = 5 +a.sfattr.list[16].root = 0 +a.sfattr.list[16].secure = 0 +a.sfattr.list[16].name = "name.17" +a.sfattr.list[16].value = "value" +a.sfattr.list[17].namelen = 7 +a.sfattr.list[17].valuelen = 5 +a.sfattr.list[17].root = 0 +a.sfattr.list[17].secure = 0 +a.sfattr.list[17].name = "name.18" +a.sfattr.list[17].value = "value" +a.sfattr.list[18].namelen = 7 +a.sfattr.list[18].valuelen = 5 +a.sfattr.list[18].root = 0 +a.sfattr.list[18].secure = 0 +a.sfattr.list[18].name = "name.19" +a.sfattr.list[18].value = "value" +a.sfattr.list[19].namelen = 7 +a.sfattr.list[19].valuelen = 5 +a.sfattr.list[19].root = 0 +a.sfattr.list[19].secure = 0 +a.sfattr.list[19].name = "name.20" +a.sfattr.list[19].value = "value" +a.sfattr.list[20].namelen = 7 +a.sfattr.list[20].valuelen = 5 +a.sfattr.list[20].root = 0 +a.sfattr.list[20].secure = 0 +a.sfattr.list[20].name = "name.21" +a.sfattr.list[20].value = "value" +a.sfattr.list[21].namelen = 7 +a.sfattr.list[21].valuelen = 5 +a.sfattr.list[21].root = 0 +a.sfattr.list[21].secure = 0 +a.sfattr.list[21].name = "name.22" +a.sfattr.list[21].value = "value" +a.sfattr.list[22].namelen = 7 +a.sfattr.list[22].valuelen = 5 +a.sfattr.list[22].root = 0 +a.sfattr.list[22].secure = 0 +a.sfattr.list[22].name = "name.23" +a.sfattr.list[22].value = "value" + +** add 24..24 EAs ** +core.format = 2 (extents) +core.size = 0 +core.extsize = 0 +core.nextents = 0 +core.naextents = 0 +core.forkoff = 7 (56 bytes) +core.aformat = 1 (local) +a.sfattr.hdr.totsize = 355 +a.sfattr.hdr.count = 24 +a.sfattr.list[0].namelen = 6 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.1" +a.sfattr.list[0].value = "value" +a.sfattr.list[1].namelen = 6 +a.sfattr.list[1].valuelen = 5 +a.sfattr.list[1].root = 0 +a.sfattr.list[1].secure = 0 +a.sfattr.list[1].name = "name.2" +a.sfattr.list[1].value = "value" +a.sfattr.list[2].namelen = 6 +a.sfattr.list[2].valuelen = 5 +a.sfattr.list[2].root = 0 +a.sfattr.list[2].secure = 0 +a.sfattr.list[2].name = "name.3" +a.sfattr.list[2].value = "value" +a.sfattr.list[3].namelen = 6 +a.sfattr.list[3].valuelen = 5 +a.sfattr.list[3].root = 0 +a.sfattr.list[3].secure = 0 +a.sfattr.list[3].name = "name.4" +a.sfattr.list[3].value = "value" +a.sfattr.list[4].namelen = 6 +a.sfattr.list[4].valuelen = 5 +a.sfattr.list[4].root = 0 +a.sfattr.list[4].secure = 0 +a.sfattr.list[4].name = "name.5" +a.sfattr.list[4].value = "value" +a.sfattr.list[5].namelen = 6 +a.sfattr.list[5].valuelen = 5 +a.sfattr.list[5].root = 0 +a.sfattr.list[5].secure = 0 +a.sfattr.list[5].name = "name.6" +a.sfattr.list[5].value = "value" +a.sfattr.list[6].namelen = 6 +a.sfattr.list[6].valuelen = 5 +a.sfattr.list[6].root = 0 +a.sfattr.list[6].secure = 0 +a.sfattr.list[6].name = "name.7" +a.sfattr.list[6].value = "value" +a.sfattr.list[7].namelen = 6 +a.sfattr.list[7].valuelen = 5 +a.sfattr.list[7].root = 0 +a.sfattr.list[7].secure = 0 +a.sfattr.list[7].name = "name.8" +a.sfattr.list[7].value = "value" +a.sfattr.list[8].namelen = 6 +a.sfattr.list[8].valuelen = 5 +a.sfattr.list[8].root = 0 +a.sfattr.list[8].secure = 0 +a.sfattr.list[8].name = "name.9" +a.sfattr.list[8].value = "value" +a.sfattr.list[9].namelen = 7 +a.sfattr.list[9].valuelen = 5 +a.sfattr.list[9].root = 0 +a.sfattr.list[9].secure = 0 +a.sfattr.list[9].name = "name.10" +a.sfattr.list[9].value = "value" +a.sfattr.list[10].namelen = 7 +a.sfattr.list[10].valuelen = 5 +a.sfattr.list[10].root = 0 +a.sfattr.list[10].secure = 0 +a.sfattr.list[10].name = "name.11" +a.sfattr.list[10].value = "value" +a.sfattr.list[11].namelen = 7 +a.sfattr.list[11].valuelen = 5 +a.sfattr.list[11].root = 0 +a.sfattr.list[11].secure = 0 +a.sfattr.list[11].name = "name.12" +a.sfattr.list[11].value = "value" +a.sfattr.list[12].namelen = 7 +a.sfattr.list[12].valuelen = 5 +a.sfattr.list[12].root = 0 +a.sfattr.list[12].secure = 0 +a.sfattr.list[12].name = "name.13" +a.sfattr.list[12].value = "value" +a.sfattr.list[13].namelen = 7 +a.sfattr.list[13].valuelen = 5 +a.sfattr.list[13].root = 0 +a.sfattr.list[13].secure = 0 +a.sfattr.list[13].name = "name.14" +a.sfattr.list[13].value = "value" +a.sfattr.list[14].namelen = 7 +a.sfattr.list[14].valuelen = 5 +a.sfattr.list[14].root = 0 +a.sfattr.list[14].secure = 0 +a.sfattr.list[14].name = "name.15" +a.sfattr.list[14].value = "value" +a.sfattr.list[15].namelen = 7 +a.sfattr.list[15].valuelen = 5 +a.sfattr.list[15].root = 0 +a.sfattr.list[15].secure = 0 +a.sfattr.list[15].name = "name.16" +a.sfattr.list[15].value = "value" +a.sfattr.list[16].namelen = 7 +a.sfattr.list[16].valuelen = 5 +a.sfattr.list[16].root = 0 +a.sfattr.list[16].secure = 0 +a.sfattr.list[16].name = "name.17" +a.sfattr.list[16].value = "value" +a.sfattr.list[17].namelen = 7 +a.sfattr.list[17].valuelen = 5 +a.sfattr.list[17].root = 0 +a.sfattr.list[17].secure = 0 +a.sfattr.list[17].name = "name.18" +a.sfattr.list[17].value = "value" +a.sfattr.list[18].namelen = 7 +a.sfattr.list[18].valuelen = 5 +a.sfattr.list[18].root = 0 +a.sfattr.list[18].secure = 0 +a.sfattr.list[18].name = "name.19" +a.sfattr.list[18].value = "value" +a.sfattr.list[19].namelen = 7 +a.sfattr.list[19].valuelen = 5 +a.sfattr.list[19].root = 0 +a.sfattr.list[19].secure = 0 +a.sfattr.list[19].name = "name.20" +a.sfattr.list[19].value = "value" +a.sfattr.list[20].namelen = 7 +a.sfattr.list[20].valuelen = 5 +a.sfattr.list[20].root = 0 +a.sfattr.list[20].secure = 0 +a.sfattr.list[20].name = "name.21" +a.sfattr.list[20].value = "value" +a.sfattr.list[21].namelen = 7 +a.sfattr.list[21].valuelen = 5 +a.sfattr.list[21].root = 0 +a.sfattr.list[21].secure = 0 +a.sfattr.list[21].name = "name.22" +a.sfattr.list[21].value = "value" +a.sfattr.list[22].namelen = 7 +a.sfattr.list[22].valuelen = 5 +a.sfattr.list[22].root = 0 +a.sfattr.list[22].secure = 0 +a.sfattr.list[22].name = "name.23" +a.sfattr.list[22].value = "value" +a.sfattr.list[23].namelen = 7 +a.sfattr.list[23].valuelen = 5 +a.sfattr.list[23].root = 0 +a.sfattr.list[23].secure = 0 +a.sfattr.list[23].name = "name.24" +a.sfattr.list[23].value = "value" + +** add 25..25 EAs ** +core.format = 2 (extents) +core.size = 0 +core.extsize = 0 +core.nextents = 0 +core.naextents = 1 +core.forkoff = 24 (192 bytes) +core.aformat = 2 (extents) +a.bmx[0] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] + +** add 26..30 EAs ** +core.format = 2 (extents) +core.size = 0 +core.extsize = 0 +core.nextents = 0 +core.naextents = 1 +core.forkoff = 24 (192 bytes) +core.aformat = 2 (extents) +a.bmx[0] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] + +** add 31..35 EAs ** +core.format = 2 (extents) +core.size = 0 +core.extsize = 0 +core.nextents = 0 +core.naextents = 1 +core.forkoff = 24 (192 bytes) +core.aformat = 2 (extents) +a.bmx[0] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] + +** rm 1..34 EAs ** +core.format = 2 (extents) +core.size = 0 +core.extsize = 0 +core.nextents = 0 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 1 extents ** +core.format = 2 (extents) +core.size = 512 +core.extsize = 0 +core.nextents = 1 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 3 extents ** +core.format = 2 (extents) +core.size = 262656 +core.extsize = 0 +core.nextents = 3 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-2] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 5 extents ** +creating 3 more holes +core.format = 2 (extents) +core.size = 524800 +core.extsize = 0 +core.nextents = 5 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-4] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] 4:[128,144,1,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 7 extents ** +creating 3 more holes +core.format = 2 (extents) +core.size = 786944 +core.extsize = 0 +core.nextents = 7 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-6] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] 4:[128,144,1,0] 5:[160,176,16,0] 6:[192,208,1,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 9 extents ** +creating 3 more holes +core.format = 2 (extents) +core.size = 1049088 +core.extsize = 0 +core.nextents = 9 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-8] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] 4:[128,144,1,0] 5:[160,176,16,0] 6:[192,208,1,0] 7:[224,240,16,0] 8:[256,272,1,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 11 extents ** +creating 3 more holes +core.format = 2 (extents) +core.size = 1311232 +core.extsize = 0 +core.nextents = 11 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-10] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] 4:[128,144,1,0] 5:[160,176,16,0] 6:[192,208,1,0] 7:[224,240,16,0] 8:[256,272,1,0] 9:[288,304,16,0] 10:[320,336,1,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 13 extents ** +creating 3 more holes +core.format = 2 (extents) +core.size = 1573376 +core.extsize = 0 +core.nextents = 13 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-12] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] 4:[128,144,1,0] 5:[160,176,16,0] 6:[192,208,1,0] 7:[224,240,16,0] 8:[256,272,1,0] 9:[288,304,16,0] 10:[320,336,1,0] 11:[352,368,16,0] 12:[384,400,1,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 15 extents ** +creating 3 more holes +core.format = 2 (extents) +core.size = 1835520 +core.extsize = 0 +core.nextents = 15 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-14] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] 4:[128,144,1,0] 5:[160,176,16,0] 6:[192,208,1,0] 7:[224,240,16,0] 8:[256,272,1,0] 9:[288,304,16,0] 10:[320,336,1,0] 11:[352,368,16,0] 12:[384,400,1,0] 13:[416,432,16,0] 14:[448,464,1,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 17 extents ** +creating 3 more holes +core.format = 2 (extents) +core.size = 2097664 +core.extsize = 0 +core.nextents = 17 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-16] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] 4:[128,144,1,0] 5:[160,176,16,0] 6:[192,208,1,0] 7:[224,240,16,0] 8:[256,272,1,0] 9:[288,304,16,0] 10:[320,336,1,0] 11:[352,368,16,0] 12:[384,400,1,0] 13:[416,432,16,0] 14:[448,464,1,0] 15:[480,496,16,0] 16:[512,528,1,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 19 extents ** +creating 3 more holes +core.format = 2 (extents) +core.size = 2359808 +core.extsize = 0 +core.nextents = 19 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-18] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] 4:[128,144,1,0] 5:[160,176,16,0] 6:[192,208,1,0] 7:[224,240,16,0] 8:[256,272,1,0] 9:[288,304,16,0] 10:[320,336,1,0] 11:[352,368,16,0] 12:[384,400,1,0] 13:[416,432,16,0] 14:[448,464,1,0] 15:[480,496,16,0] 16:[512,528,1,0] 17:[544,560,16,0] 18:[576,592,1,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 21 extents ** +creating 3 more holes +core.format = 2 (extents) +core.size = 2621952 +core.extsize = 0 +core.nextents = 21 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-20] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] 4:[128,144,1,0] 5:[160,176,16,0] 6:[192,208,1,0] 7:[224,240,16,0] 8:[256,272,1,0] 9:[288,304,16,0] 10:[320,336,1,0] 11:[352,368,16,0] 12:[384,400,1,0] 13:[416,432,16,0] 14:[448,464,1,0] 15:[480,496,16,0] 16:[512,528,1,0] 17:[544,560,16,0] 18:[576,592,1,0] 19:[608,624,16,0] 20:[640,656,1,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 23 extents ** +creating 3 more holes +core.format = 2 (extents) +core.size = 2884096 +core.extsize = 0 +core.nextents = 23 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-22] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] 4:[128,144,1,0] 5:[160,176,16,0] 6:[192,208,1,0] 7:[224,240,16,0] 8:[256,272,1,0] 9:[288,304,16,0] 10:[320,336,1,0] 11:[352,368,16,0] 12:[384,400,1,0] 13:[416,432,16,0] 14:[448,464,1,0] 15:[480,496,16,0] 16:[512,528,1,0] 17:[544,560,16,0] 18:[576,592,1,0] 19:[608,624,16,0] 20:[640,656,1,0] 21:[672,688,16,0] 22:[704,720,1,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 25 extents ** +creating 3 more holes +core.format = 3 (btree) +core.size = 3146240 +core.extsize = 0 +core.nextents = 25 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmbt.level = 1 +u.bmbt.numrecs = 1 +u.bmbt.keys[1] = [startoff] 1:[0] +u.bmbt.ptrs[1] = 1:751 +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 27 extents ** +creating 3 more holes +core.format = 3 (btree) +core.size = 3408384 +core.extsize = 0 +core.nextents = 27 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmbt.level = 1 +u.bmbt.numrecs = 1 +u.bmbt.keys[1] = [startoff] 1:[0] +u.bmbt.ptrs[1] = 1:751 +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 29 extents ** +creating 3 more holes +core.format = 3 (btree) +core.size = 3670528 +core.extsize = 0 +core.nextents = 29 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmbt.level = 1 +u.bmbt.numrecs = 1 +u.bmbt.keys[1] = [startoff] 1:[0] +u.bmbt.ptrs[1] = 1:751 +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 30 extents ** +creating 2 more holes +core.format = 3 (btree) +core.size = 3801600 +core.extsize = 0 +core.nextents = 30 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmbt.level = 1 +u.bmbt.numrecs = 1 +u.bmbt.keys[1] = [startoff] 1:[0] +u.bmbt.ptrs[1] = 1:751 +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 28 extents ** +truncating back to 3670016 +core.format = 3 (btree) +core.size = 3670016 +core.extsize = 0 +core.nextents = 28 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmbt.level = 1 +u.bmbt.numrecs = 1 +u.bmbt.keys[1] = [startoff] 1:[0] +u.bmbt.ptrs[1] = 1:751 +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 26 extents ** +truncating back to 3407872 +core.format = 3 (btree) +core.size = 3407872 +core.extsize = 0 +core.nextents = 26 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmbt.level = 1 +u.bmbt.numrecs = 1 +u.bmbt.keys[1] = [startoff] 1:[0] +u.bmbt.ptrs[1] = 1:751 +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 24 extents ** +truncating back to 3145728 +core.format = 3 (btree) +core.size = 3145728 +core.extsize = 0 +core.nextents = 24 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmbt.level = 1 +u.bmbt.numrecs = 1 +u.bmbt.keys[1] = [startoff] 1:[0] +u.bmbt.ptrs[1] = 1:751 +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 22 extents ** +truncating back to 2883584 +core.format = 2 (extents) +core.size = 2883584 +core.extsize = 0 +core.nextents = 22 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-21] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] 4:[128,144,1,0] 5:[160,176,16,0] 6:[192,208,1,0] 7:[224,240,16,0] 8:[256,272,1,0] 9:[288,304,16,0] 10:[320,336,1,0] 11:[352,368,16,0] 12:[384,400,1,0] 13:[416,432,16,0] 14:[448,464,1,0] 15:[480,496,16,0] 16:[512,528,1,0] 17:[544,560,16,0] 18:[576,592,1,0] 19:[608,624,16,0] 20:[640,656,1,0] 21:[672,688,16,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 20 extents ** +truncating back to 2621440 +core.format = 2 (extents) +core.size = 2621440 +core.extsize = 0 +core.nextents = 20 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-19] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] 4:[128,144,1,0] 5:[160,176,16,0] 6:[192,208,1,0] 7:[224,240,16,0] 8:[256,272,1,0] 9:[288,304,16,0] 10:[320,336,1,0] 11:[352,368,16,0] 12:[384,400,1,0] 13:[416,432,16,0] 14:[448,464,1,0] 15:[480,496,16,0] 16:[512,528,1,0] 17:[544,560,16,0] 18:[576,592,1,0] 19:[608,624,16,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 18 extents ** +truncating back to 2359296 +core.format = 2 (extents) +core.size = 2359296 +core.extsize = 0 +core.nextents = 18 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-17] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] 4:[128,144,1,0] 5:[160,176,16,0] 6:[192,208,1,0] 7:[224,240,16,0] 8:[256,272,1,0] 9:[288,304,16,0] 10:[320,336,1,0] 11:[352,368,16,0] 12:[384,400,1,0] 13:[416,432,16,0] 14:[448,464,1,0] 15:[480,496,16,0] 16:[512,528,1,0] 17:[544,560,16,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 16 extents ** +truncating back to 2097152 +core.format = 2 (extents) +core.size = 2097152 +core.extsize = 0 +core.nextents = 16 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-15] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] 4:[128,144,1,0] 5:[160,176,16,0] 6:[192,208,1,0] 7:[224,240,16,0] 8:[256,272,1,0] 9:[288,304,16,0] 10:[320,336,1,0] 11:[352,368,16,0] 12:[384,400,1,0] 13:[416,432,16,0] 14:[448,464,1,0] 15:[480,496,16,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 14 extents ** +truncating back to 1835008 +core.format = 2 (extents) +core.size = 1835008 +core.extsize = 0 +core.nextents = 14 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-13] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] 4:[128,144,1,0] 5:[160,176,16,0] 6:[192,208,1,0] 7:[224,240,16,0] 8:[256,272,1,0] 9:[288,304,16,0] 10:[320,336,1,0] 11:[352,368,16,0] 12:[384,400,1,0] 13:[416,432,16,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 12 extents ** +truncating back to 1572864 +core.format = 2 (extents) +core.size = 1572864 +core.extsize = 0 +core.nextents = 12 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-11] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] 4:[128,144,1,0] 5:[160,176,16,0] 6:[192,208,1,0] 7:[224,240,16,0] 8:[256,272,1,0] 9:[288,304,16,0] 10:[320,336,1,0] 11:[352,368,16,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 10 extents ** +truncating back to 1310720 +core.format = 2 (extents) +core.size = 1310720 +core.extsize = 0 +core.nextents = 10 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-9] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] 4:[128,144,1,0] 5:[160,176,16,0] 6:[192,208,1,0] 7:[224,240,16,0] 8:[256,272,1,0] 9:[288,304,16,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 8 extents ** +truncating back to 1048576 +core.format = 2 (extents) +core.size = 1048576 +core.extsize = 0 +core.nextents = 8 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-7] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] 4:[128,144,1,0] 5:[160,176,16,0] 6:[192,208,1,0] 7:[224,240,16,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 6 extents ** +truncating back to 786432 +core.format = 2 (extents) +core.size = 786432 +core.extsize = 0 +core.nextents = 6 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-5] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] 4:[128,144,1,0] 5:[160,176,16,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 4 extents ** +truncating back to 524288 +core.format = 2 (extents) +core.size = 524288 +core.extsize = 0 +core.nextents = 4 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-3] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 2 extents ** +truncating back to 262144 +core.format = 2 (extents) +core.size = 262144 +core.extsize = 0 +core.nextents = 2 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-1] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 1 extents ** +truncating back to 131072 +core.format = 2 (extents) +core.size = 131072 +core.extsize = 0 +core.nextents = 1 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 3 extents ** +creating 2 more holes +core.format = 2 (extents) +core.size = 262656 +core.extsize = 0 +core.nextents = 3 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-2] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 5 extents ** +creating 3 more holes +core.format = 2 (extents) +core.size = 524800 +core.extsize = 0 +core.nextents = 5 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-4] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] 4:[128,144,1,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 7 extents ** +creating 3 more holes +core.format = 2 (extents) +core.size = 786944 +core.extsize = 0 +core.nextents = 7 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-6] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] 4:[128,144,1,0] 5:[160,176,16,0] 6:[192,208,1,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 9 extents ** +creating 3 more holes +core.format = 2 (extents) +core.size = 1049088 +core.extsize = 0 +core.nextents = 9 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-8] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] 4:[128,144,1,0] 5:[160,176,16,0] 6:[192,208,1,0] 7:[224,240,16,0] 8:[256,272,1,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 11 extents ** +creating 3 more holes +core.format = 2 (extents) +core.size = 1311232 +core.extsize = 0 +core.nextents = 11 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-10] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] 4:[128,144,1,0] 5:[160,176,16,0] 6:[192,208,1,0] 7:[224,240,16,0] 8:[256,272,1,0] 9:[288,304,16,0] 10:[320,336,1,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 13 extents ** +creating 3 more holes +core.format = 2 (extents) +core.size = 1573376 +core.extsize = 0 +core.nextents = 13 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-12] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] 4:[128,144,1,0] 5:[160,176,16,0] 6:[192,208,1,0] 7:[224,240,16,0] 8:[256,272,1,0] 9:[288,304,16,0] 10:[320,336,1,0] 11:[352,368,16,0] 12:[384,400,1,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 15 extents ** +creating 3 more holes +core.format = 2 (extents) +core.size = 1835520 +core.extsize = 0 +core.nextents = 15 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-14] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] 4:[128,144,1,0] 5:[160,176,16,0] 6:[192,208,1,0] 7:[224,240,16,0] 8:[256,272,1,0] 9:[288,304,16,0] 10:[320,336,1,0] 11:[352,368,16,0] 12:[384,400,1,0] 13:[416,432,16,0] 14:[448,464,1,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 17 extents ** +creating 3 more holes +core.format = 2 (extents) +core.size = 2097664 +core.extsize = 0 +core.nextents = 17 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-16] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] 4:[128,144,1,0] 5:[160,176,16,0] 6:[192,208,1,0] 7:[224,240,16,0] 8:[256,272,1,0] 9:[288,304,16,0] 10:[320,336,1,0] 11:[352,368,16,0] 12:[384,400,1,0] 13:[416,432,16,0] 14:[448,464,1,0] 15:[480,496,16,0] 16:[512,528,1,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 19 extents ** +creating 3 more holes +core.format = 2 (extents) +core.size = 2359808 +core.extsize = 0 +core.nextents = 19 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-18] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] 4:[128,144,1,0] 5:[160,176,16,0] 6:[192,208,1,0] 7:[224,240,16,0] 8:[256,272,1,0] 9:[288,304,16,0] 10:[320,336,1,0] 11:[352,368,16,0] 12:[384,400,1,0] 13:[416,432,16,0] 14:[448,464,1,0] 15:[480,496,16,0] 16:[512,528,1,0] 17:[544,560,16,0] 18:[576,592,1,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 21 extents ** +creating 3 more holes +core.format = 2 (extents) +core.size = 2621952 +core.extsize = 0 +core.nextents = 21 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-20] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] 4:[128,144,1,0] 5:[160,176,16,0] 6:[192,208,1,0] 7:[224,240,16,0] 8:[256,272,1,0] 9:[288,304,16,0] 10:[320,336,1,0] 11:[352,368,16,0] 12:[384,400,1,0] 13:[416,432,16,0] 14:[448,464,1,0] 15:[480,496,16,0] 16:[512,528,1,0] 17:[544,560,16,0] 18:[576,592,1,0] 19:[608,624,16,0] 20:[640,656,1,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 23 extents ** +creating 3 more holes +core.format = 2 (extents) +core.size = 2884096 +core.extsize = 0 +core.nextents = 23 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmx[0-22] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0] 1:[32,48,16,0] 2:[64,80,1,0] 3:[96,112,16,0] 4:[128,144,1,0] 5:[160,176,16,0] 6:[192,208,1,0] 7:[224,240,16,0] 8:[256,272,1,0] 9:[288,304,16,0] 10:[320,336,1,0] 11:[352,368,16,0] 12:[384,400,1,0] 13:[416,432,16,0] 14:[448,464,1,0] 15:[480,496,16,0] 16:[512,528,1,0] 17:[544,560,16,0] 18:[576,592,1,0] 19:[608,624,16,0] 20:[640,656,1,0] 21:[672,688,16,0] 22:[704,720,1,0] +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 25 extents ** +creating 3 more holes +core.format = 3 (btree) +core.size = 3146240 +core.extsize = 0 +core.nextents = 25 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmbt.level = 1 +u.bmbt.numrecs = 1 +u.bmbt.keys[1] = [startoff] 1:[0] +u.bmbt.ptrs[1] = 1:751 +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 27 extents ** +creating 3 more holes +core.format = 3 (btree) +core.size = 3408384 +core.extsize = 0 +core.nextents = 27 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmbt.level = 1 +u.bmbt.numrecs = 1 +u.bmbt.keys[1] = [startoff] 1:[0] +u.bmbt.ptrs[1] = 1:751 +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" + +** 29 extents ** +creating 3 more holes +core.format = 3 (btree) +core.size = 3670528 +core.extsize = 0 +core.nextents = 29 +core.naextents = 0 +core.forkoff = 47 (376 bytes) +core.aformat = 1 (local) +u.bmbt.level = 1 +u.bmbt.numrecs = 1 +u.bmbt.keys[1] = [startoff] 1:[0] +u.bmbt.ptrs[1] = 1:751 +a.sfattr.hdr.totsize = 19 +a.sfattr.hdr.count = 1 +a.sfattr.list[0].namelen = 7 +a.sfattr.list[0].valuelen = 5 +a.sfattr.list[0].root = 0 +a.sfattr.list[0].secure = 0 +a.sfattr.list[0].name = "name.35" +a.sfattr.list[0].value = "value" diff --git a/group b/group index b712e621..10fd46cf 100644 --- a/group +++ b/group @@ -215,3 +215,4 @@ pattern ajones@sgi.com 133 rw 134 quota auto 135 metadata auto +136 attr2 diff --git a/src/makeextents.c b/src/makeextents.c index a68dc038..46893ebd 100644 --- a/src/makeextents.c +++ b/src/makeextents.c @@ -24,6 +24,7 @@ char *progname; __uint64_t num_holes = 1000; +__uint64_t curr_holes; int verbose_opt = 0; char *filename; int status_num = 100; @@ -32,6 +33,10 @@ int preserve; unsigned int blocksize; __uint64_t fileoffset; +#define JUMP_SIZE (128 * 1024) +#define NUMHOLES_TO_SIZE(i) (i * JUMP_SIZE) +#define SIZE_TO_NUMHOLES(s) (s / JUMP_SIZE) + void usage(void) { @@ -50,7 +55,7 @@ main(int argc, char *argv[]) __uint64_t offset; int blocksize = 512; unsigned char *buffer = NULL; - + struct stat stat; progname = argv[0]; @@ -101,9 +106,35 @@ main(int argc, char *argv[]) return 1; } - for (i = 0; i < num_holes; i++) { + if (fstat(fd, &stat) < 0) { + perror("stat"); + return 1; + } + if (preserve) { + curr_holes = SIZE_TO_NUMHOLES(stat.st_size); + if (num_holes < curr_holes) { + /* we need to truncate back */ + if (ftruncate(fd, NUMHOLES_TO_SIZE(num_holes)) < 0) { + perror("ftruncate"); + return 1; + } + if (verbose_opt) { + printf("truncating back to %lu\n", NUMHOLES_TO_SIZE(num_holes)); + } + return 0; + } + } + else { + curr_holes = 0; + } + if (curr_holes != 0 && verbose_opt) { + printf("creating %lu more holes\n", num_holes - curr_holes); + } + + /* create holes by seeking and writing */ + for (i = curr_holes; i < num_holes; i++) { - offset = i * 128 * 1024 + fileoffset; + offset = NUMHOLES_TO_SIZE(i) + fileoffset; if (lseek64(fd, offset, SEEK_SET) < 0) { perror("lseek"); @@ -116,7 +147,7 @@ main(int argc, char *argv[]) } if (verbose_opt && ((i+1) % status_num == 0)) { - printf("seeked and wrote %llu times\n", i+1); + printf("seeked and wrote %lu times\n", i+1); } }