Re: Inject I/O latency for RAID5/6 read and writes

From
Alireza Haghdoost <hidden>
Date
2015-03-12 21:31:36
Reply to
Alireza Haghdoost, 2015-02-23
On Mon, Feb 23, 2015 at 12:32 PM, Alireza Haghdoost [off-list ref] wrote:
I needed to inject I/O completion latency in the RAID5/6 codes for
test purpose. I was wondering where would be the good place in
md/raid5.c code to add delay ?

So far I have tried adding mdelay/udelay in raid5_end_write_request()
and it seems it works to increase I/O completion of writes. However,
adding delay in raid5_end_read_request() does not really change the
read I/O latency. Any idea ?

--Alireza
Can Some one help me on this issue ?
Thread (3 messages) 3 messages, 2 authors, last reply 2015-03-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help