All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: David Brown <david.brown@hesbynett.no>
Cc: Mikael Abrahamsson <swmike@swm.pp.se>,
	Kyle Brantley <kyle@averageurl.com>,
	linux-raid@vger.kernel.org
Subject: Re: Issue with md and 4K sector alignment
Date: Thu, 06 Sep 2012 13:34:20 -0700	[thread overview]
Message-ID: <504908CC.2030400@zytor.com> (raw)
In-Reply-To: <5031E72B.8060002@hesbynett.no>

On 08/20/2012 12:28 AM, David Brown wrote:
>
> It would be nice if LVM and md moved towards a bigger native alignment.
>   4K is good enough for hard disks, but for SSD's you want to align
> partitions on erase block boundaries.  The standard used by modern fdisk
> and gparted (and tools from the-OS-that-must-not-be-named) is 1 MB - a
> bigger alignment than is necessary for current SSDs, but one that will
> be good enough for the foreseeable future.
>

This is one advantage with superblock 1.0 -- the alignment of the 
underlying device is preserved since the metadata is at the end.

	-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.


  reply	other threads:[~2012-09-06 20:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-19 21:06 Issue with md and 4K sector alignment Kyle Brantley
2012-08-20  5:36 ` Mikael Abrahamsson
2012-08-20  7:28   ` David Brown
2012-09-06 20:34     ` H. Peter Anvin [this message]
2012-09-07  6:19       ` Mikael Abrahamsson

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=504908CC.2030400@zytor.com \
    --to=hpa@zytor.com \
    --cc=david.brown@hesbynett.no \
    --cc=kyle@averageurl.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=swmike@swm.pp.se \
    /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.