xfs
[Top] [All Lists]

Re: block alignment

To: "Bradley C. Kuszmaul" <kuszmaul@xxxxxxxxx>
Subject: Re: block alignment
From: Ben Myers <bpm@xxxxxxx>
Date: Mon, 7 Jan 2013 15:42:00 -0600
Cc: xfs@xxxxxxxxxxx
In-reply-to: <CAKSyJXdP0NSQrR+rfrCec+oCyVg-2SRmCmYf3V7kjC1-0x49bA@xxxxxxxxxxxxxx>
References: <CAKSyJXdP0NSQrR+rfrCec+oCyVg-2SRmCmYf3V7kjC1-0x49bA@xxxxxxxxxxxxxx>
User-agent: Mutt/1.5.20 (2009-06-14)
Hey Bradley,

On Mon, Jan 07, 2013 at 04:33:18PM -0500, Bradley C. Kuszmaul wrote:
> What is the largest data block size that I'm likely to run into with xfs?

4k blocks is what to expect unless you are using larger pages.

>From mkfs.xfs manpage:
"       -b block_size_options
                This option specifies the fundamental block size of the filesys‐
                tem.  The valid block_size_options are: log=value or  size=value
                and  only  one  can  be  supplied.   The block size is specified
                either as a base two logarithm value with log=, or in bytes with
                size=.   The default value is 4096 bytes (4 KiB), the minimum is
                512, and the maximum is 65536 (64 KiB).  XFS on Linux  currently
                only supports pagesize or smaller blocks."

Regards,
        Ben

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