From: Neil Brown <neilb@suse.de>
To: Eyal Lebedinsky <eyal@eyal.emu.id.au>
Cc: linux-raid@vger.kernel.org
Subject: Re: simple question: where is internal bitmap stored?
Date: Wed, 13 May 2009 20:42:34 +1000 [thread overview]
Message-ID: <18954.42010.122591.899035@notabene.brown> (raw)
In-Reply-To: message from Eyal Lebedinsky on Wednesday May 13
On Wednesday May 13, eyal@eyal.emu.id.au wrote:
> If I have a live raid and want to enable bitmap then I do
> mdadm --grow /dev/md0 --bitmap=internal
> Does this bitmap use space in the already present header? If so then
> does this mean that the headers have enough reserve for this? Why
> not always use the bitmap then?
1/ Yes.
2/ Yes.
3/ because there are other reasons for not wanting a bitmap.
Using a write-intent bitmap can cause a reduction in throughput.
It is conceivable that having a bitmap should be the default, but
it should definitely be options.
In fact, ever array does has a default bitmap. However that bitmap
contains exactly one bit, and it cover the whole array. It is the
clean/active flag. Defaulting to a few more bits is possibly a
good idea...
>
> If it carves extra space from the device which already has data
> (e.g. a fs) then surely this will be problematic.
Yes. It surely would be.
NeilBrown
prev parent reply other threads:[~2009-05-13 10:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-13 8:37 simple question: where is internal bitmap stored? Eyal Lebedinsky
2009-05-13 10:42 ` Neil Brown [this message]
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=18954.42010.122591.899035@notabene.brown \
--to=neilb@suse.de \
--cc=eyal@eyal.emu.id.au \
--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