qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Increase amount of data for monitor to read
@ 2020-11-06 12:42 Andrey Shinkevich via
  2020-11-06 12:42 ` [PATCH 1/2] iotests: add another bash sleep command to 247 Andrey Shinkevich via
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Andrey Shinkevich via @ 2020-11-06 12:42 UTC (permalink / raw)
  To: qemu-block
  Cc: qemu-devel, jcody, kwolf, mreitz, armbru, dgilbert, pbonzini,
	eblake, marcandre.lureau, den, vsementsov, andrey.shinkevich

The subject was discussed here:
https://lists.gnu.org/archive/html/qemu-devel/2017-05/msg00206.html

This series is a solution for the issue with QMP monitor buffered input.
A little parser is introduced to throttle JSON commands read from the
buffer so that QMP requests do not overwhelm the monitor input queue.
A side effect raised in the test #247 was managed in the first patch.
It may be considered as a workaround. Any sane fix suggested will be
appreciated.

Note:
This series goes after the Vladimir's one:
'[PATCH v3 00/25] backup performance: block_status + async"'
To make the test #129 passed, the following patch should be applied first:
'[PATCH v3 01/25] iotests: 129 don't check backup "busy"'.

Andrey Shinkevich (2):
  iotests: add another bash sleep command to 247
  monitor: increase amount of data for monitor to read

 chardev/char-fd.c          | 64 +++++++++++++++++++++++++++++++++++++++++++++-
 chardev/char-socket.c      | 54 +++++++++++++++++++++++++++-----------
 chardev/char.c             | 40 +++++++++++++++++++++++++++++
 include/chardev/char.h     | 15 +++++++++++
 monitor/monitor.c          |  2 +-
 tests/qemu-iotests/247     |  2 ++
 tests/qemu-iotests/247.out |  1 +
 7 files changed, 161 insertions(+), 17 deletions(-)

-- 
1.8.3.1



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-11-16 11:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-06 12:42 [PATCH 0/2] Increase amount of data for monitor to read Andrey Shinkevich via
2020-11-06 12:42 ` [PATCH 1/2] iotests: add another bash sleep command to 247 Andrey Shinkevich via
2020-11-06 12:42 ` [PATCH 2/2] monitor: increase amount of data for monitor to read Andrey Shinkevich via
2020-11-09  9:55   ` Vladimir Sementsov-Ogievskiy
2020-11-16 11:10     ` Andrey Shinkevich
2020-11-06 15:31 ` [PATCH 0/2] Increase " Andrey Shinkevich
2020-11-09  8:50 ` Vladimir Sementsov-Ogievskiy
2020-11-09 10:04   ` Vladimir Sementsov-Ogievskiy
2020-11-09 17:08     ` Andrey Shinkevich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).