From: John Robinson <john.robinson@anonymous.org.uk>
To: hui jiao <simonjiaoh@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: Are piggybacking of write and redirection of read available in md driver now?
Date: Tue, 16 Oct 2012 09:39:32 +0100 [thread overview]
Message-ID: <507D1D44.3050807@anonymous.org.uk> (raw)
In-Reply-To: <CAEuG+X+b6wr=291NbH5=LR0gSSBVHG_JcWSgk7_SKnBtRaxHrw@mail.gmail.com>
On 16/10/2012 06:44, hui jiao wrote:
> there were two optimizations-redirection of reads and piggybacking of
> writes-which first introduced in paper "Performance Analysis of Disk
> Arrays under Failure" 16th VLDB conference 1990.
>
> redirection of reads: the user accesses to data that has already been
> reconstructed are serviced by (redirected to) the replacement disk,
> rather than invoking on-the-fly reconstruction as they would if the
> data were not yet available.
As I understand it, that's done automatically. If there is a
reconstruction in progress, any read from the completed half is read
from the replacement disc, but any read from the still-to-do half is
reconstructed (obviously).
> piggybacking of writes: the user reads that cause on-the-fly
> reconstruction also cause the reconstructed data to be written to the
> replacement disk.
No, that doesn't happen, because it would require a bitmap of which
areas of the discs were reconstructed rather than a progress pointer.
> have these two features been implemented in md driver now? if so,
> where i can find them? if not, is there any plan on them?
I can't see the second one making any significant difference in practice
unless you're writing to your array so much that the reconstruction time
is dramatically delayed, though maybe the paper you referred to says
differently. I don't think there's a plan for it, but check out Neil
Brown's blog at http://neil.brown.name/blog/ - and it's possible that
you get it as a side-effect of the bad block log that's being
developed/tested at the moment.
Cheers,
John.
prev parent reply other threads:[~2012-10-16 8:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-16 5:44 Are piggybacking of write and redirection of read available in md driver now? hui jiao
2012-10-16 8:39 ` John Robinson [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=507D1D44.3050807@anonymous.org.uk \
--to=john.robinson@anonymous.org.uk \
--cc=linux-raid@vger.kernel.org \
--cc=simonjiaoh@gmail.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 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).