xfs-masters
[Top] [All Lists]

[xfs-masters] [Bug 793] mkfs: can't specify agcount with su,sw

To: xfs-master@xxxxxxxxxxx
Subject: [xfs-masters] [Bug 793] mkfs: can't specify agcount with su,sw
From: bugzilla-daemon@xxxxxxxxxxx
Date: Tue, 30 Sep 2008 10:46:56 -0700
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
http://oss.sgi.com/bugzilla/show_bug.cgi?id=793





------- Additional Comments From sandeen-xfs@xxxxxxxxxxx  2008-09-30 10:46 CST 
-------
(In reply to comment #0)

> sunit=16 and swidth=96 are equivalent to su=64k,sw=6, but obviously mkfs code
> doesn't do everything the same when it has to convert from su,sw.  In fact, it
> reduces su from 16 to 2 blocks!

Actually, not quite (and yes, it is confusing)

su is in bytes, sw is a multiple of su.  So, you have 64k/384k for unit/width
swidth & suint are in 512-byte units, so here you have 8k/48k unit/width

But anyway, since the AG size was chosen by mkfs, and agcount, su, and sw were
all specified, it seems that it *is* up to mkfs to choose an agsize that is a
proper multiple of the stripe unit ...


-- 
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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