Skip to content

Drivers: hv: kvp,vss: improve kernel-userspace communication in failure case

Vitaly Kuznetsov lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Drivers: hv: vss: Introduce timeout for communication with userspacedrivers/hv/hv_snapshot.c+18 -20 replies
2/2Drivers: hv: kvp,vss: Fast propagation of userspace communication failuredrivers/hv/hv_kvp.c drivers/hv/hv_snapshot.c+15 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Drivers: hv: kvp,vss: improve kernel-userspace communication in failure case

This series addresses two issues:
- There is no timeout when communicating with userspace VSS daemon.
- In case we fail to send a message to VSS or KVP userspace daemons we can report the failure to the host right away avoiding the timeout.

Newly introduced 10 second timeout is something worth discussing. In theory freeze/thaw ioctls should be fast. In case someone thinks 10 seconds is not enough we can easily increase it as we cover the most common failure scenario (when the daemon was stopped) with the second patch of this series.

Vitaly Kuznetsov (2):
Drivers: hv: vss: Introduce timeout for communication with userspace
Drivers: hv: kvp,vss: Fast propagation of userspace communication
failure

 drivers/hv/hv_kvp.c      |  9 ++++++++-
 drivers/hv/hv_snapshot.c | 28 +++++++++++++++++++++++++---
 2 files changed, 33 insertions(+), 4 deletions(-)
Signature · 1 line
1.9.3