| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | mkfs.xfs blank sw value mapped to (unsigned long)(-1), expensive when using swalloc |
| From: | Chris Pearson <kermit4@xxxxxxxxx> |
| Date: | Fri, 12 Aug 2011 14:15:41 -0500 |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=j+2/iESeu3kp4x1dCgr1esLoFR1xWesfiF1TWgrwsBA=; b=CqjtUto2mOLELCpu1tnrlHGYsNDWNVZhxApkCQjLneZNgpd0jfZ2LdP9x6G4Txhh3O z+cuMI90eqgt2rRYUHXGcEAwn2fB+5cRD9II1/TCucZMwKXdfBcVTyCrucF8uhIgySHz vz4PiPjkYz2wsL38Qe5mduMp8X2wbHpQVNwfg= |
Blank sw mapped to -1 (must be an error value returned from some
string parsing function)
So it ends up 4294967264 if su is 128k, as that's equal to (unsigned
long)(-1 * su/bsize)
If you're mounting with swalloc, you'll quickly wind up with no free
space! Ouch!
# mkfs.xfs -V
mkfs.xfs version 3.1.4
# mkfs.xfs -dfile=1,name=hi,size=$((1024*1024*100)) -bsize=4k -d
su=128k,sw= -l version=2 -i size=2k -l lazy-count=1
meta-data=hi isize=2048 agcount=4, agsize=6400 blks
= sectsz=512 attr=2, projid32bit=0
data = bsize=4096 blocks=25600, imaxpct=25
= sunit=32 swidth=4294967264 blks
naming =version 2 bsize=4096 ascii-ci=0
log =internal log bsize=4096 blocks=1248, version=2
= sectsz=512 sunit=32 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Webmail Account deactivation, Alam, Khorshed |
|---|---|
| Next by Date: | Re: [PATCH v2 6/7] xfsdump: convert to the POSIX signal API, Bill Kendall |
| Previous by Thread: | Webmail Account deactivation, Alam, Khorshed |
| Next by Thread: | Re: mkfs.xfs blank sw value mapped to (unsigned long)(-1), expensive when using swalloc, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |