All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Zdenek Kaspar <zkaspar82@gmail.com>
Cc: linux-xfs@oss.sgi.com
Subject: Re: Advanced Format drive - sectsz question
Date: Fri, 14 Oct 2011 09:20:19 -0400	[thread overview]
Message-ID: <20111014132019.GA4711@infradead.org> (raw)
In-Reply-To: <j783rh$gn7$1@dough.gmane.org>

On Fri, Oct 14, 2011 at 03:38:14AM +0200, Zdenek Kaspar wrote:
> Hello list, I have hard drive which reports:
> 
> logical_block_size  ->  512
> physical_block_size -> 4096
> 
> Default mkfs.xfs sets sectsz to 512.
> 
> kernel-2.6.32-131.17.1.el6.x86_64
> xfsprogs-3.1.1-4.el6.x86_64
> 
> Is mkfs.xfs -s size=4096 the right way?

Yes, we probably should default to 4096 bytes sector size for these
drivers, but still allow 512 byte sector sized filesystems if explicitly
requested.

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

  reply	other threads:[~2011-10-14 13:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-14  1:38 Advanced Format drive - sectsz question Zdenek Kaspar
2011-10-14 13:20 ` Christoph Hellwig [this message]
2011-10-14 14:51   ` Zdenek Kaspar

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=20111014132019.GA4711@infradead.org \
    --to=hch@infradead.org \
    --cc=linux-xfs@oss.sgi.com \
    --cc=zkaspar82@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.