All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [for-2.9 PATCH 0/3] 9pfs: fix 9p session reset
@ 2017-03-31 11:26 Greg Kurz
  2017-03-31 11:27 ` [Qemu-devel] [for-2.9 PATCH 1/3] 9pfs: clear migration blocker at " Greg Kurz
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Greg Kurz @ 2017-03-31 11:26 UTC (permalink / raw)
  To: qemu-devel; +Cc: Eric Blake, Li Qiang, Greg Kurz

When resetting a 9p session we leak the migration blocker: this makes the
device unmigratable until the guest remounts/unmounts the 9p share again.
We also leak in-flight I/O whose completion will occur in the context of
the new session. This violates the 9p specification [*] and is likely to
confuse clients.

This series fixes both issues.

---

Greg Kurz (3):
      9pfs: clear migration blocker at session reset
      9pfs: cancel active PDUs in virtfs_reset()
      9pfs: drop useless loop in v9fs_reset()


 hw/9pfs/9p.c |   38 ++++++++++++++++++++++++++++----------
 1 file changed, 28 insertions(+), 10 deletions(-)

--
Greg

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

end of thread, other threads:[~2017-04-01  1:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-31 11:26 [Qemu-devel] [for-2.9 PATCH 0/3] 9pfs: fix 9p session reset Greg Kurz
2017-03-31 11:27 ` [Qemu-devel] [for-2.9 PATCH 1/3] 9pfs: clear migration blocker at " Greg Kurz
2017-04-01  1:32   ` 李强
2017-03-31 11:27 ` [Qemu-devel] [for-2.9 PATCH 2/3] 9pfs: cancel active PDUs in virtfs_reset() Greg Kurz
2017-04-01  1:38   ` 李强
2017-03-31 11:27 ` [Qemu-devel] [for-2.9 PATCH 3/3] 9pfs: drop useless loop in v9fs_reset() Greg Kurz
2017-04-01  1:39   ` 李强

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.