qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/2] Zero copy improvements (QIOChannel + multifd)
@ 2022-06-28  1:09 Leonardo Bras
  2022-06-28  1:09 ` [PATCH v1 1/2] QIOChannelSocket: Fix zero-copy flush returning code 1 when nothing sent Leonardo Bras
  2022-06-28  1:09 ` [PATCH v1 2/2] migration/multifd: Warn user when zerocopy not working Leonardo Bras
  0 siblings, 2 replies; 11+ messages in thread
From: Leonardo Bras @ 2022-06-28  1:09 UTC (permalink / raw)
  To: Daniel P. Berrangé, Juan Quintela, Dr. David Alan Gilbert,
	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 should be applied on top of Juan Quintela's patchset that
reduces the frequency of multifd syncs, or else it could potentially send 
20 warnings per second.
									...
Leonardo Bras (2):
  QIOChannelSocket: Fix zero-copy flush returning code 1 when nothing
    sent
  migration/multifd: Warn user when zerocopy not working

 io/channel-socket.c | 8 +++++++-
 migration/multifd.c | 3 +++
 2 files changed, 10 insertions(+), 1 deletion(-)

-- 
2.36.1



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

end of thread, other threads:[~2022-07-04  9:21 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-28  1:09 [PATCH v1 0/2] Zero copy improvements (QIOChannel + multifd) Leonardo Bras
2022-06-28  1:09 ` [PATCH v1 1/2] QIOChannelSocket: Fix zero-copy flush returning code 1 when nothing sent Leonardo Bras
2022-06-28  1:09 ` [PATCH v1 2/2] migration/multifd: Warn user when zerocopy not working Leonardo Bras
2022-06-28  7:53   ` Daniel P. Berrangé
2022-06-28 12:32     ` Leonardo Bras Soares Passos
2022-06-28 13:02       ` Daniel P. Berrangé
2022-06-28 13:52         ` Dr. David Alan Gilbert
2022-06-28 16:53           ` Leonardo Bras Soares Passos
2022-06-28 16:56             ` Dr. David Alan Gilbert
2022-07-01  6:18               ` Leonardo Brás
2022-07-04  9:19                 ` Dr. David Alan Gilbert

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).