[Top] [All Lists]

Re: LWN article: 4K disk sectors

To: xfs@xxxxxxxxxxx
Subject: Re: LWN article: 4K disk sectors
From: Michael Monnerie <michael.monnerie@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 12 Mar 2009 14:52:16 +0100
In-reply-to: <49B909CC.7080402@xxxxxxxxxxx>
Organization: it-management http://it-management.at
References: <200903121258.51497@xxxxxx> <49B909CC.7080402@xxxxxxxxxxx>
User-agent: KMail/1.10.3 (Linux/; KDE/4.1.3; x86_64; ; )
On Donnerstag 12 März 2009 Eric Sandeen wrote:
> 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.

Ugh, I felt so good this morning, until you responded ... ;-)

I thought that it's a limitation of the Linux kernel in more parts than 
just the filesystem (like block cache), that sector sizes must be 512B. 
If I had a 4K drive, would that be usable with XFS already?

mfg zmi
// Michael Monnerie, Ing.BSc    -----      http://it-management.at
// Tel: 0660 / 415 65 31                      .network.your.ideas.
// PGP Key:         "curl -s http://zmi.at/zmi.asc | gpg --import"
// Fingerprint: AC19 F9D5 36ED CD8A EF38  500E CE14 91F7 1C12 09B4
// Keyserver: wwwkeys.eu.pgp.net                  Key-ID: 1C1209B4

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