xfs
[Top] [All Lists]

Re: LWN article: 4K disk sectors

To: Michael Monnerie <michael.monnerie@xxxxxxxxxxxxxxxxxxx>
Subject: Re: LWN article: 4K disk sectors
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Thu, 12 Mar 2009 08:10:36 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <200903121258.51497@xxxxxx>
References: <200903121258.51497@xxxxxx>
User-agent: Thunderbird 2.0.0.19 (Macintosh/20081209)
Michael Monnerie wrote:
> http://lwn.net/SubscriberLink/322777/16380cde8af0a37e/
> 
> 4K disk sectors coming 2011, might be interesting for devs to prepare 
> supporting it.

Take a look at the mkfs.xfs man page:

       -s sector_size
              This option specifies the fundamental  sector  size  of
              the filesystem.  The sector_size is specified either as
              a value in bytes with size=value or as a base two loga-
              rithm value with log=value.  The default sector_size is
              512 bytes. The minimum value for sector  size  is  512;
              the  maximum is 32768 (32 KiB). The sector_size must be
              a power of 2 size and cannot be made  larger  than  the
              filesystem block size.

-Eric

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