Re: [Qemu-devel] [PATCH] Add delay option to blkdebug

2013-07-01 Thread Alex Bligh
Kevin, --On 1 July 2013 12:23:53 +0200 Kevin Wolf wrote: "inject-error" doesn't really describe this well. Shouldn't we rather introduce a new section "[delay]" or something like that? That's how I started off. Then I realised you might want to make the delay dependent on the sector or state

Re: [Qemu-devel] [PATCH] Add delay option to blkdebug

2013-07-01 Thread Kevin Wolf
Am 29.06.2013 um 20:02 hat Alex Bligh geschrieben: > Add a delay option to blkdebug, allowing operations to be delayed by > a specifiable number of microseconds. Example configuration: > > [inject-error] > event = "read_aio" > delay = "20" > > Signed-off-by: Alex Bligh "inject-error" doesn'

[Qemu-devel] [PATCH] Add delay option to blkdebug

2013-06-29 Thread Alex Bligh
Add a delay option to blkdebug, allowing operations to be delayed by a specifiable number of microseconds. Example configuration: [inject-error] event = "read_aio" delay = "20" Signed-off-by: Alex Bligh --- block/blkdebug.c | 83 ++ 1 fi