From: NeilBrown <neilb@suse.de>
To: Christoph Anton Mitterer <calestyo@scientia.net>
Cc: linux-raid@vger.kernel.org
Subject: Re: shown disk sizes
Date: Wed, 24 Jul 2013 06:57:23 +1000 [thread overview]
Message-ID: <20130724065723.3a0d52b3@notabene.brown> (raw)
In-Reply-To: <1374600126.8463.24.camel@heisenberg.scientia.net>
[-- Attachment #1: Type: text/plain, Size: 1016 bytes --]
On Tue, 23 Jul 2013 19:22:06 +0200 Christoph Anton Mitterer
<calestyo@scientia.net> wrote:
> On Tue, 2013-07-23 at 19:12 +0200, Mikael Abrahamsson wrote:
> > 2^18=262144
> > Nothing odd about it.
> Sure... it's not e or pi ;-)
>
> "odd" in the sense of "why such a big offset?" respectively "what does
> it try to align to?"
>
It isn't (all) alignment. It is mostly spare space.
New feature in 3.3 is that when you reshape (e.g.) a RAID5 to a RAID6 it can
do so without using a "backup file" - which is are a pain to work with and
slow things down a lot.
What it does instead is move the "data_offset" towards the start of the
device. That way it is never writing onto live data, and so no backup is
needed.
For this to work, we need a buffer at the start of the device. 128M is
plenty big enough and just a tiny fraction of a 1TB drive. (If you only have
a small drive it will still pick a tiny fraction).
So we are reserving a bit of space for future flexibility.
NeilBrown
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
next prev parent reply other threads:[~2013-07-23 20:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-17 14:37 shown disk sizes Christoph Anton Mitterer
2013-07-17 23:43 ` NeilBrown
2013-07-18 0:39 ` Christoph Anton Mitterer
2013-07-18 7:35 ` Mikael Abrahamsson
2013-07-23 16:26 ` Christoph Anton Mitterer
2013-07-23 17:12 ` Mikael Abrahamsson
2013-07-23 17:22 ` Christoph Anton Mitterer
2013-07-23 20:57 ` NeilBrown [this message]
2013-07-23 22:10 ` Christoph Anton Mitterer
2013-07-23 22:27 ` NeilBrown
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=20130724065723.3a0d52b3@notabene.brown \
--to=neilb@suse.de \
--cc=calestyo@scientia.net \
--cc=linux-raid@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).