sector size warning at mount time

Eric Sandeen sandeen at sandeen.net
Thu Sep 16 13:38:23 CDT 2010


On ppc64 I'm tripping this warning:

        if (verbose &&
            (PAGE_CACHE_SIZE / BITS_PER_LONG) > sectorsize) {
                printk(KERN_WARNING
                        "XFS: %u byte sectors in use on device %s.  "
                        "This is suboptimal; %u or greater is ideal.\n",
                        sectorsize, XFS_BUFTARG_NAME(btp),
                        (unsigned int)PAGE_CACHE_SIZE / BITS_PER_LONG);
        }

and it's telling me I should have 1024-byte sectors...

If the kernel is going to complain at mount, should we get it right
at mkfs time?  I'm not even quite sure why it's recommending this?

Thanks,
-Eric




More information about the xfs mailing list