On Tue, Nov 09, 2004 at 12:12:08PM -0800, Joshua Schmidlkofer wrote:
> The mount man page lists the ability to change the sunit and swidth via
> mount options.
>
> Is that the case? Does it work? I will Use The Source(tm) if no one
Yes, this is the case, and it should work. Look at the top of
xfs_mountfs() in xfs_mount.c, thats where these mouint options
are poked into the superblock.
> /dev/sda1 /snapshots xfs
> noatime,nodiratime,logbufs=8,sunit=16,swidth=48 0 0
> meta-data=/snapshots isize=256 agcount=32, agsize=4577708
> blks
> = sectsz=512
> data = bsize=4096 blocks=146486656, imaxpct=25
> = sunit=0 swidth=0 blks, unwritten=1
thats odd, I'd expect the new values to show up here, from
a quick look at the code. I'd suggest putting some printks
in that code I pointed out above, and see which code path it
is using there & why your superblock isn't being updated.
cheers.
--
Nathan
|