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

bugzilla-daemon at oss.sgi.com bugzilla-daemon at oss.sgi.com
Tue Sep 30 10:46:56 PDT 2008


http://oss.sgi.com/bugzilla/show_bug.cgi?id=793





------- Additional Comments From sandeen-xfs at sandeen.net  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.



More information about the xfs-masters mailing list