xfs
[Top] [All Lists]

sector size warning at mount time

To: xfs-oss <xfs@xxxxxxxxxxx>
Subject: sector size warning at mount time
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Thu, 16 Sep 2010 13:38:23 -0500
User-agent: Thunderbird 2.0.0.24 (Macintosh/20100228)
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

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