* target that injects errors?
@ 2006-03-14 2:53 Zach Brown
2006-03-14 13:53 ` Alasdair G Kergon
0 siblings, 1 reply; 5+ messages in thread
From: Zach Brown @ 2006-03-14 2:53 UTC (permalink / raw)
To: dm-devel
I find myself wanting to test a patch that reacts to EIO deep in aio
O_DIRECT. Has anyone done a target that can inject errors into the IO
path? I found sct's "testdrive", but it seems a bit crufty these days:
http://people.redhat.com/sct/patches/testdrive/
If someone hasn't done this, I'll take a swing at it.
Thanks.
- z
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: target that injects errors?
2006-03-14 2:53 target that injects errors? Zach Brown
@ 2006-03-14 13:53 ` Alasdair G Kergon
2006-03-14 17:33 ` Zach Brown
2006-03-30 7:21 ` how to trace the device mapper? Jui-Pin Yang
0 siblings, 2 replies; 5+ messages in thread
From: Alasdair G Kergon @ 2006-03-14 13:53 UTC (permalink / raw)
To: device-mapper development
On Mon, Mar 13, 2006 at 06:53:06PM -0800, Zach Brown wrote:
> Has anyone done a target that can inject errors into the IO
> path?
A couple so far:
dm-flakey - injects errors
dm-rwsplit - sends reads and writes to different paths
which could be given different characteristics
before getting recombined.
http://www.kernel.org/pub/linux/kernel/people/agk/patches/2.6/editing/dm-flakey.patch
http://www.kernel.org/pub/linux/kernel/people/agk/patches/2.6/editing/dm-rwsplit.patch
(I'd like to see dm-flakey enhanced.)
Alasdair
--
agk@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: target that injects errors?
2006-03-14 13:53 ` Alasdair G Kergon
@ 2006-03-14 17:33 ` Zach Brown
2006-03-30 7:21 ` how to trace the device mapper? Jui-Pin Yang
1 sibling, 0 replies; 5+ messages in thread
From: Zach Brown @ 2006-03-14 17:33 UTC (permalink / raw)
To: device-mapper development
> A couple so far:
> dm-flakey - injects errors
> dm-rwsplit - sends reads and writes to different paths
> which could be given different characteristics
> before getting recombined.
Excellent, thanks, I'll give these a try.
- z
^ permalink raw reply [flat|nested] 5+ messages in thread
* how to trace the device mapper?
2006-03-14 13:53 ` Alasdair G Kergon
2006-03-14 17:33 ` Zach Brown
@ 2006-03-30 7:21 ` Jui-Pin Yang
2006-04-03 20:46 ` Alan D. Brunelle
1 sibling, 1 reply; 5+ messages in thread
From: Jui-Pin Yang @ 2006-03-30 7:21 UTC (permalink / raw)
To: device-mapper development
Hi,
I would like to trace the device mapper, and any good suggestion to do the
job
is welcome such as how to start and so on.
Thanks
Best Regards
Jui-Pin Yang
=====================================
Network & Communication Technology Center
Computer & Communications Research Laboratory
Industrial Technology Research Institute
P300 CCL/ITRI
No.31, Gongye 2nd Rd., Annan District
Tainan City 709, Taiwan (R.O.C.)
Tel: 886-6-3847103
Fax: 886-6-3847182
E-mail: jpyang@itri.org.tw
=====================================
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: how to trace the device mapper?
2006-03-30 7:21 ` how to trace the device mapper? Jui-Pin Yang
@ 2006-04-03 20:46 ` Alan D. Brunelle
0 siblings, 0 replies; 5+ messages in thread
From: Alan D. Brunelle @ 2006-04-03 20:46 UTC (permalink / raw)
To: device-mapper development
Jui-Pin Yang wrote:
>Hi,
>I would like to trace the device mapper, and any good suggestion to do the
>job
>is welcome such as how to start and so on.
>Thanks
>
>
If you are looking for interactions with the underlying block I/O layer
interfaces, you could look into blktrace.
Alan D. Brunelle
HP
>Best Regards
>
>Jui-Pin Yang
>=====================================
>Network & Communication Technology Center
>Computer & Communications Research Laboratory
>Industrial Technology Research Institute
>
>P300 CCL/ITRI
>No.31, Gongye 2nd Rd., Annan District
>Tainan City 709, Taiwan (R.O.C.)
>Tel: 886-6-3847103
>Fax: 886-6-3847182
>E-mail: jpyang@itri.org.tw
>=====================================
>
>--
>dm-devel mailing list
>dm-devel@redhat.com
>https://www.redhat.com/mailman/listinfo/dm-devel
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-04-03 20:46 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-14 2:53 target that injects errors? Zach Brown
2006-03-14 13:53 ` Alasdair G Kergon
2006-03-14 17:33 ` Zach Brown
2006-03-30 7:21 ` how to trace the device mapper? Jui-Pin Yang
2006-04-03 20:46 ` Alan D. Brunelle
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.