From: "J. David Beutel" <jdb@getsu.com>
To: "Peter T. Breuer" <ptb@lab.it.uc3m.es>
Cc: linux-raid@vger.kernel.org
Subject: Re: RAID1 robust read and read/write correct patch
Date: Wed, 23 Feb 2005 10:48:58 -1000 [thread overview]
Message-ID: <421CEC3A.5010609@getsu.com> (raw)
In-Reply-To: <p97ue2-1ld.ln1@news.it.uc3m.es>
Peter T. Breuer wrote, on 2005-Feb-23 1:50 AM:
> Quite possibly - I never tested the rewrite part of the patch, just
>
>wrote it to indicate how it should go and stuck it in to encourage
>others to go on from there. It's disabled by default. You almost
>certainly don't want to enable it unless you are a developer (or a
>guinea pig :).
>
>
Thanks for taking a look at it! Unfortunately, I'm not a kernel
developer. I haven't even been using C for the last 8 years. But I'd
really like to have that rewrite functionality, and I can dedicate my
system as a guinea pig for at least a little while, if there's a way I
can test it in a finite amount of time and build some confidence in it
before I start to really use that system.
I'd like to start with an md unit test suite. Is there one? I don't
know if the architecture would allow for this, but naively I'm thinking
that the test suite would use a mock disk driver (e.g., in memory only)
to simulate various kinds of hardware failures and confirm that md
responds as expected to both the layer above (the kernel?) and below
(the disk driver?). Unit tests are also good for simulating unlikely
and hard to reproduce race conditions, although stress tests are better
at discovering new ones. But, should the test suite play the roll of
the kernel by calling md functions directly in a user space sandbox
(mock kernel, threads, etc)? Or, should it play the roll of a user
process by calling the real kernel to test the real md (broadening the
scope of the test)? I'd appreciate opinions or advice from kernel or md
developers.
Also, does anyone have advice on how I should do system and stress tests
on this?
Cheers,
11011011
next prev parent reply other threads:[~2005-02-23 20:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-23 11:01 RAID1 robust read and read/write correct patch J. David Beutel
2005-02-23 11:50 ` Peter T. Breuer
2005-02-23 20:48 ` J. David Beutel [this message]
2005-02-23 21:15 ` Peter T. Breuer
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=421CEC3A.5010609@getsu.com \
--to=jdb@getsu.com \
--cc=linux-raid@vger.kernel.org \
--cc=ptb@lab.it.uc3m.es \
/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).