consider more cases in parsing qemu-io outputmaster
commit71592f4be0300c66584e41a7e0f132f04ed0da39
authorKevin Wolf <kwolf@redhat.com>
Fri, 1 Oct 2010 04:02:28 +0000 (1 06:02 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 1 Oct 2010 04:02:28 +0000 (1 06:02 +0200)
treeab45608f2cb39e341d2b835634de8bf486ee2d77
parentb18b075b5a6d31f48e6356705fd13e4d6036cafc
consider more cases in parsing qemu-io output

I got a bug report with test output diffs like this:

-4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+4 KiB, 1 ops; 0.0000 sec (inf EiB/sec and inf ops/sec)

This patch extends the regular expression to consider terabytes, petabytes and
exabytes, and to allow inf as value for the throughput.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
common.filter