public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Michael Monnerie <michael.monnerie@is.it-management.at>
Cc: xfs@oss.sgi.com
Subject: Re: LWN article: 4K disk sectors
Date: Thu, 12 Mar 2009 10:23:30 -0400	[thread overview]
Message-ID: <yq1bps6q0pp.fsf@sermon.lab.mkp.net> (raw)
In-Reply-To: <200903121452.16419@zmi.at> (Michael Monnerie's message of "Thu\, 12 Mar 2009 14\:52\:16 +0100")

>>>>> "Michael" == Michael Monnerie <michael.monnerie@is.it-management.at> writes:

Michael> I thought that it's a limitation of the Linux kernel in more
Michael> parts than just the filesystem (like block cache), that sector
Michael> sizes must be 512B.

Nope.  We've supported bigger sector sizes for years because of CD-ROMs,
mainframe DASD, etc.


Michael> If I had a 4K drive, would that be usable with XFS already?

# cat /sys/block/sdc/queue/hw_sector_size 
4096
# xfs_info /mnt
meta-data=/dev/sdc1              isize=256    agcount=16, agsize=5113686 blks
         =                       sectsz=4096  attr=0
data     =                       bsize=4096   blocks=81818976, imaxpct=25
         =                       sunit=0      swidth=0 blks, unwritten=1
naming   =version 2              bsize=4096  
log      =internal               bsize=4096   blocks=32768, version=2
         =                       sectsz=4096  sunit=1 blks, lazy-count=0
realtime =none                   extsz=4096   blocks=0, rtextents=0

-- 
Martin K. Petersen	Oracle Linux Engineering

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  parent reply	other threads:[~2009-03-12 14:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-12 11:58 LWN article: 4K disk sectors Michael Monnerie
2009-03-12 13:10 ` Eric Sandeen
2009-03-12 13:52   ` Michael Monnerie
2009-03-12 14:17     ` Martin Steigerwald
2009-03-12 15:03       ` Eric Sandeen
2009-03-14 19:10         ` Martin Steigerwald
2009-03-12 14:23     ` Martin K. Petersen [this message]
2009-03-12 14:58     ` Eric Sandeen
2009-03-14 15:26 ` Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yq1bps6q0pp.fsf@sermon.lab.mkp.net \
    --to=martin.petersen@oracle.com \
    --cc=michael.monnerie@is.it-management.at \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox