* Are piggybacking of write and redirection of read available in md driver now?
@ 2012-10-16 5:44 hui jiao
2012-10-16 8:39 ` John Robinson
0 siblings, 1 reply; 2+ messages in thread
From: hui jiao @ 2012-10-16 5:44 UTC (permalink / raw)
To: linux-raid
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.
piggybacking of writes: the user reads that cause on-the-fly
reconstruction also cause the reconstructed data to be written to the
replacement disk.
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?
Thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Are piggybacking of write and redirection of read available in md driver now?
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
0 siblings, 0 replies; 2+ messages in thread
From: John Robinson @ 2012-10-16 8:39 UTC (permalink / raw)
To: hui jiao; +Cc: linux-raid
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-16 8:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).