Re: [Qemu-devel] [PATCH 3/3] block: latency accounting

2011-08-26 Thread Christoph Hellwig
On Fri, Aug 26, 2011 at 03:05:06PM +0200, Kevin Wolf wrote: > The order of READ vs. WRITE is wrong here, so read latencies show up as > wr_total_time. I can fix it locally if you agree that swapping the two > lines is the right fix. Yes, it got mixed up in one of the revamps.

Re: [Qemu-devel] [PATCH 3/3] block: latency accounting

2011-08-26 Thread Kevin Wolf
Am 25.08.2011 08:26, schrieb Christoph Hellwig: > Account the total latency for read/write/flush requests. This allows > management tools to average it based on a snapshot of the nr ops > counters and allow checking for SLAs or provide statistics. > > Signed-off-by: Christoph Hellwig > > Index:

[Qemu-devel] [PATCH 3/3] block: latency accounting

2011-08-24 Thread Christoph Hellwig
Account the total latency for read/write/flush requests. This allows management tools to average it based on a snapshot of the nr ops counters and allow checking for SLAs or provide statistics. Signed-off-by: Christoph Hellwig Index: qemu/block.c

[Qemu-devel] [PATCH 3/3] block: latency accounting

2011-08-21 Thread Christoph Hellwig
Account the total latency for read/write/flush requests. This allows management tools to average it based on a snapshot of the nr ops counters and allow checking for SLAs or provide statistics. Signed-off-by: Christoph Hellwig Index: qemu/block.c

[Qemu-devel] [PATCH 3/3] block: latency accounting

2011-08-11 Thread Christoph Hellwig
Account the total latency for read/write/flush requests. This allows management tools to average it based on a snapshot of the nr ops counters and allow checking for SLAs or provide statistics. Signed-off-by: Christoph Hellwig Index: qemu/block.c