<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/include/block/accounting.h, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/include/block/accounting.h?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/include/block/accounting.h?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-09-30T16:02:30+00:00</updated>
<entry>
<title>block: pass OnOffAuto instead of bool to block_acct_setup()</title>
<updated>2022-09-30T16:02:30+00:00</updated>
<author>
<name>Denis V. Lunev</name>
</author>
<published>2022-08-24T09:50:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=b2aaf354773417f034fdc1a56cdb76ad79de6e19'/>
<id>urn:sha1:b2aaf354773417f034fdc1a56cdb76ad79de6e19</id>
<content type='text'>
We would have one more place for block_acct_setup() calling, which should
not corrupt original value.

Signed-off-by: Denis V. Lunev &lt;den@openvz.org&gt;
Reviewed-by: Vladimir Sementsov-Ogievskiy &lt;vsementsov@yandex-team.ru&gt;
CC: Peter Krempa &lt;pkrempa@redhat.com&gt;
CC: Markus Armbruster &lt;armbru@redhat.com&gt;
CC: John Snow &lt;jsnow@redhat.com&gt;
CC: Kevin Wolf &lt;kwolf@redhat.com&gt;
CC: Hanna Reitz &lt;hreitz@redhat.com&gt;
Message-Id: &lt;20220824095044.166009-2-den@openvz.org&gt;
Reviewed-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
</content>
</entry>
<entry>
<title>block: add empty account cookie type</title>
<updated>2019-10-10T08:56:18+00:00</updated>
<author>
<name>Anton Nefedov</name>
</author>
<published>2019-09-23T12:17:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=f34444665481bf470c35182c2286de5eaf1465ce'/>
<id>urn:sha1:f34444665481bf470c35182c2286de5eaf1465ce</id>
<content type='text'>
Each block_acct_done/failed call is designed to correspond to a
previous block_acct_start call, which initializes the stats cookie.
However sometimes it is not the case, e.g. some error paths might
report the same cookie twice because it is hard to accurately track if
the cookie was reported yet or not.

This patch cleans the cookie after report.
(Note: block_acct_failed/done without a previous block_acct_start at
all should be avoided. Uninitialized cookie might hold a garbage value
and there is still "&lt; BLOCK_MAX_IOTYPE" assertion for that)

It will be particularly useful in ide code where it's hard to
keep track whether the request done its accounting or not: in the
following patch of the series, trim requests will do the accounting
separately.

Signed-off-by: Anton Nefedov &lt;anton.nefedov@virtuozzo.com&gt;
Reviewed-by: Vladimir Sementsov-Ogievskiy &lt;vsementsov@virtuozzo.com&gt;
Message-id: 20190923121737.83281-4-anton.nefedov@virtuozzo.com
Signed-off-by: Max Reitz &lt;mreitz@redhat.com&gt;
</content>
</entry>
<entry>
<title>qapi: add unmap to BlockDeviceStats</title>
<updated>2019-10-10T08:56:18+00:00</updated>
<author>
<name>Anton Nefedov</name>
</author>
<published>2019-09-23T12:17:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=159f85ddc81d56f9bd8c3822d5e7d59814c58e50'/>
<id>urn:sha1:159f85ddc81d56f9bd8c3822d5e7d59814c58e50</id>
<content type='text'>
Signed-off-by: Anton Nefedov &lt;anton.nefedov@virtuozzo.com&gt;
Reviewed-by: Vladimir Sementsov-Ogievskiy &lt;vsementsov@virtuozzo.com&gt;
Reviewed-by: Alberto Garcia &lt;berto@igalia.com&gt;
Reviewed-by: Eric Blake &lt;eblake@redhat.com&gt;
Message-id: 20190923121737.83281-3-anton.nefedov@virtuozzo.com
Signed-off-by: Max Reitz &lt;mreitz@redhat.com&gt;
</content>
</entry>
<entry>
<title>block/accounting: introduce latency histogram</title>
<updated>2018-03-19T19:58:37+00:00</updated>
<author>
<name>Vladimir Sementsov-Ogievskiy</name>
</author>
<published>2018-03-09T16:52:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=b741ae74170643de0fec3005c717e3a397c3e034'/>
<id>urn:sha1:b741ae74170643de0fec3005c717e3a397c3e034</id>
<content type='text'>
Introduce latency histogram statics for block devices.
For each accounted operation type, the latency region [0, +inf) is
divided into subregions by several points. Then, calculate
hits for each subregion.

Signed-off-by: Vladimir Sementsov-Ogievskiy &lt;vsementsov@virtuozzo.com&gt;
Message-Id: &lt;20180309165212.97144-2-vsementsov@virtuozzo.com&gt;
Reviewed-by: Eric Blake &lt;eblake@redhat.com&gt;
Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Signed-off-by: Eric Blake &lt;eblake@redhat.com&gt;
</content>
</entry>
<entry>
<title>block: make accounting thread-safe</title>
<updated>2017-06-15T23:55:00+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2017-06-05T12:39:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=5b50bf77ce6e773b04a303a2912876c9a1bfca43'/>
<id>urn:sha1:5b50bf77ce6e773b04a303a2912876c9a1bfca43</id>
<content type='text'>
I'm not trying too hard yet.  Later, with multiqueue support,
this may cause mutex contention or cacheline bouncing.

Cc: Alberto Garcia &lt;berto@igalia.com&gt;
Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Message-Id: &lt;20170605123908.18777-20-pbonzini@redhat.com&gt;
Reviewed-by: Alberto Garcia &lt;berto@igalia.com&gt;
Signed-off-by: Fam Zheng &lt;famz@redhat.com&gt;
</content>
</entry>
<entry>
<title>block: split BlockAcctStats creation and setup</title>
<updated>2017-06-15T23:55:00+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2017-06-05T12:39:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=9caa6f3dbe20f2c506df6698386fce941fc6238a'/>
<id>urn:sha1:9caa6f3dbe20f2c506df6698386fce941fc6238a</id>
<content type='text'>
block_acct_destroy is called unconditionally in blk_delete, but there is
no BlockAcctStats function that is called unconditionally in blk_new.
Split block_acct_init in two, so that it will be possible to create a
QemuMutex in block_acct_init and destroy it in block_acct_cleanup.

Cc: Alberto Garcia &lt;berto@igalia.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Message-Id: &lt;20170605123908.18777-19-pbonzini@redhat.com&gt;
Reviewed-by: Alberto Garcia &lt;berto@igalia.com&gt;
Signed-off-by: Fam Zheng &lt;famz@redhat.com&gt;
</content>
</entry>
<entry>
<title>Use scripts/clean-includes to drop redundant qemu/typedefs.h</title>
<updated>2016-03-22T21:20:16+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2016-03-14T09:00:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=14b6d44d4720681a57b5d2c58cabdfc6364f8263'/>
<id>urn:sha1:14b6d44d4720681a57b5d2c58cabdfc6364f8263</id>
<content type='text'>
Re-run scripts/clean-includes to apply the previous commit's
corrections and updates.  Besides redundant qemu/typedefs.h, this only
finds a redundant config-host.h include in ui/egl-helpers.c.  No idea
how that escaped the previous runs.

Some manual whitespace trimming around dropped includes squashed in.

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>include: Clean up includes</title>
<updated>2016-02-23T12:43:05+00:00</updated>
<author>
<name>Peter Maydell</name>
</author>
<published>2016-02-23T11:58:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=90ce6e2644db2c47d72f364b4de57342e50bd10a'/>
<id>urn:sha1:90ce6e2644db2c47d72f364b4de57342e50bd10a</id>
<content type='text'>
Clean up includes so that osdep.h is included first and headers
which it implies are not included manually.

This commit was created with scripts/clean-includes.

NB: If this commit breaks compilation for your out-of-tree
patchseries or fork, then you need to make sure you add
#include "qemu/osdep.h" to any new .c files that you have.

Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Reviewed-by: Eric Blake &lt;eblake@redhat.com&gt;
</content>
</entry>
<entry>
<title>block: Update copyright of the accounting code</title>
<updated>2015-11-12T15:22:47+00:00</updated>
<author>
<name>Alberto Garcia</name>
</author>
<published>2015-10-28T15:33:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=aece5edc96f211eec6febdafc9bbbb99315a2efd'/>
<id>urn:sha1:aece5edc96f211eec6febdafc9bbbb99315a2efd</id>
<content type='text'>
Signed-off-by: Alberto Garcia &lt;berto@igalia.com&gt;
Message-id: 80a2278e3ec2dafd5daab20a7cb2d6a9b83371e4.1446044838.git.berto@igalia.com
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
</content>
</entry>
<entry>
<title>block: Add average I/O queue depth to BlockDeviceTimedStats</title>
<updated>2015-11-12T15:22:46+00:00</updated>
<author>
<name>Alberto Garcia</name>
</author>
<published>2015-10-28T15:33:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=96e4dedaff9922f87e4ec351d51d3f093198382a'/>
<id>urn:sha1:96e4dedaff9922f87e4ec351d51d3f093198382a</id>
<content type='text'>
This patch adds two new fields to BlockDeviceTimedStats that track the
average number of pending read and write requests for a block device.

The values are calculated for the period of time defined for that
interval.

Signed-off-by: Alberto Garcia &lt;berto@igalia.com&gt;
Message-id: fd31fef53e2714f2f30d59ed58ca2f67ec9ab926.1446044837.git.berto@igalia.com
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
</content>
</entry>
</feed>
