All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Zero copy improvements (QIOChannel + multifd)
@ 2022-07-01 15:59 Leonardo Bras
  2022-07-01 15:59 ` [PATCH v2 1/3] QIOChannelSocket: Fix zero-copy flush returning code 1 when nothing sent Leonardo Bras
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Leonardo Bras @ 2022-07-01 15:59 UTC (permalink / raw)
  To: Daniel P. Berrangé,
	Juan Quintela, Dr. David Alan Gilbert, Eric Blake,
	Markus Armbruster, Peter Xu
  Cc: Leonardo Bras, qemu-devel

The first patch avoid spuriously returning 1 [*] when zero-copy flush is
attempted before any buffer was sent using MSG_ZEROCOPY.

[*] zero-copy not being used, even though it's enabled and supported
by kernel

The second patch introduces a new migration stat (zero-copy-copied)
that will be used to keep track of [*]. 

Honestly I would like some help with this naming, which I don't think
is quite good, but I could also not think on anything better.

The third patch keeps track of how many zero-copy flushes retured 1 [*]

Leonardo Bras (3):
  QIOChannelSocket: Fix zero-copy flush returning code 1 when nothing
    sent
  Add zero-copy-copied migration stat
  migration/multifd: Warn user when zerocopy not working

 qapi/migration.json   | 5 ++++-
 migration/ram.h       | 2 ++
 io/channel-socket.c   | 8 +++++++-
 migration/migration.c | 1 +
 migration/multifd.c   | 2 ++
 migration/ram.c       | 5 +++++
 monitor/hmp-cmds.c    | 4 ++++
 7 files changed, 25 insertions(+), 2 deletions(-)

-- 
2.36.1



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

end of thread, other threads:[~2022-07-05  4:16 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-01 15:59 [PATCH v2 0/3] Zero copy improvements (QIOChannel + multifd) Leonardo Bras
2022-07-01 15:59 ` [PATCH v2 1/3] QIOChannelSocket: Fix zero-copy flush returning code 1 when nothing sent Leonardo Bras
2022-07-01 15:59 ` [PATCH v2 2/3] Add zero-copy-copied migration stat Leonardo Bras
2022-07-04  6:18   ` Markus Armbruster
2022-07-04  9:06     ` Daniel P. Berrangé
2022-07-04 11:33       ` Markus Armbruster
2022-07-04 11:40       ` Dr. David Alan Gilbert
2022-07-04 12:04         ` Markus Armbruster
2022-07-04 12:16           ` Daniel P. Berrangé
2022-07-04 12:59             ` Markus Armbruster
2022-07-04 13:14               ` Daniel P. Berrangé
2022-07-04 18:13                 ` Leonardo Brás
2022-07-05  4:14                   ` Markus Armbruster
2022-07-01 15:59 ` [PATCH v2 3/3] migration/multifd: Warn user when zerocopy not working Leonardo Bras

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.