From: Paul Clements <paul.clements@steeleye.com>
To: David Greaves <david@dgreaves.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: bitmap status question
Date: Wed, 21 Jun 2006 15:39:35 -0400 [thread overview]
Message-ID: <4499A077.4050802@steeleye.com> (raw)
In-Reply-To: <44997EFB.8080308@dgreaves.com>
David Greaves wrote:
> How do I interpret:
> bitmap: 0/117 pages [0KB], 1024KB chunk
> in the mdstat output
>
> what does it mean when it's, eg: 23/117
This refers to the in-memory bitmap (basically a cache of what's in the
on-disk bitmap -- it allows bitmap operations to be more efficient).
If it's 23/117 that means there are 23 of 117 pages allocated in the
in-memory bitmap. The pages are allocated on demand, and get freed when
they're empty (all zeroes). The in-memory bitmap uses 16 bits for each
bitmap chunk to count all ongoing writes to the chunk, so it's actually
up to 16 times larger than the on-disk bitmap.
--
Paul
prev parent reply other threads:[~2006-06-21 19:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-21 17:16 bitmap status question David Greaves
2006-06-21 19:39 ` Paul Clements [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=4499A077.4050802@steeleye.com \
--to=paul.clements@steeleye.com \
--cc=david@dgreaves.com \
--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).