From: Neil Brown <neilb@suse.de>
To: Heinz Mauelshagen <heinzm@redhat.com>,
Brassow Jonathan <jbrassow@redhat.com>,
device-mapper development <dm-devel@redhat.com>
Subject: Re: Queuing of dm-raid1 resyncs to the same underlying block devices
Date: Fri, 09 Oct 2015 09:01:29 +1100 [thread overview]
Message-ID: <87d1wp58au.fsf@notabene.neil.brown.name> (raw)
In-Reply-To: <5616586A.4000200@redhat.com>
[-- Attachment #1.1: Type: text/plain, Size: 903 bytes --]
Heinz Mauelshagen <heinzm@redhat.com> writes:
>
> E.g. keep track of the 'new' state of the array and initialize
> parity/syndrome on first access to any given stripe with
> the given performance optimization thereafter.
>
> Metadata kept to housekeep this could be organized in a b-tree
> (e.g. via dm-persistent-data), thus storing just one node
> defining the whole array as 'new' and splitting the tree up
> as we go and have a size threshold to not allow to grow
> such metadata too big.
>
This idea has come up before. A bitmap has been suggested. Simpler
than a B-tree, though not as flexible.
It would allows us to do something more meaningful with Discard: record
that the whole region is invalid.
I don't object to the idea, but I find it hard to get excited about. It
further blurs the line between the filesystem and the storage device,
and duplicates work between the two.
NeilBrown
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
prev parent reply other threads:[~2015-10-08 22:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-26 15:49 Queuing of dm-raid1 resyncs to the same underlying block devices Richard Davies
2015-09-30 13:22 ` Brassow Jonathan
2015-09-30 14:00 ` Heinz Mauelshagen
2015-09-30 22:20 ` Neil Brown
2015-10-01 10:09 ` Heinz Mauelshagen
2015-10-07 21:42 ` Neil Brown
2015-10-08 11:50 ` Heinz Mauelshagen
2015-10-08 22:01 ` 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=87d1wp58au.fsf@notabene.neil.brown.name \
--to=neilb@suse.de \
--cc=dm-devel@redhat.com \
--cc=heinzm@redhat.com \
--cc=jbrassow@redhat.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.