From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alireza Haghdoost Subject: Re: Inject I/O latency for RAID5/6 read and writes Date: Thu, 12 Mar 2015 16:31:36 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: In-Reply-To: Sender: linux-raid-owner@vger.kernel.org To: Linux RAID Cc: Neil Brown List-Id: linux-raid.ids On Mon, Feb 23, 2015 at 12:32 PM, Alireza Haghdoost 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 ?