From: Bill Davidsen <davidsen@tmr.com>
To: Ana Paula <anapaula@cs.rutgers.edu>
Cc: linux-raid@vger.kernel.org
Subject: Re: Out of sync mirrors
Date: Thu, 24 Jul 2008 18:37:55 -0400 [thread overview]
Message-ID: <48890443.5000003@tmr.com> (raw)
In-Reply-To: <e6432b760807240903s57815b2aib5547d35b701ca70@mail.gmail.com>
Ana Paula wrote:
> Hi,
> I am using linux 2.6.8 for my research on raid systems.
>
> I need to have the disks of an array out of sync for a while.
> I want to be able to stop a disk request queue (blk_stop_queue) and
> start it sometime later. Meanwhile its mirrors should be serving r/w
> as if this mirror was up.
> Whenever the stopped mirror comes back it will serve all the requests
> already sent to it.
>
> I am queueing up the requests sent to all others while my mirror queue
> is stopped.
>
> The problem is that the other mirrors stop serving as well. Even if I
> don't stop the queue, only delay its request a little bit, still the
> others also slow down.
>
> Question: how do I get raid to allow mirrors to be out of sync?
>
> Obviously, I am missing something out in the code.
>
> Any clues?
>
Take a look at "write-mostly" and see if creative use of it will assist.
I suspect you're doing something which needs a bitmap, as well.
--
Bill Davidsen <davidsen@tmr.com>
"Woe unto the statesman who makes war without a reason that will still
be valid when the war is over..." Otto von Bismark
next prev parent reply other threads:[~2008-07-24 22:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-24 16:03 Out of sync mirrors Ana Paula
2008-07-24 22:37 ` Bill Davidsen [this message]
2008-07-25 0:36 ` Ana Paula
2008-07-25 1:52 ` David Lethe
2008-07-25 3:23 ` Ana Paula
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=48890443.5000003@tmr.com \
--to=davidsen@tmr.com \
--cc=anapaula@cs.rutgers.edu \
--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).