Drivers: hv: vss: Introduce timeout for communication with userspace
authorVitaly Kuznetsov <vkuznets@redhat.com>
Thu, 6 Nov 2014 17:21:24 +0000 (18:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Nov 2014 03:00:32 +0000 (19:00 -0800)
commit649142074d86afebe0505431a93957505d244dd6
tree4e135e9056ba74312a3536c112c83531604a62de
parent1a3c724afd07a485c7066140f67d466f39263dc6
Drivers: hv: vss: Introduce timeout for communication with userspace

In contrast with KVP there is no timeout when communicating with
userspace VSS daemon. In case it gets stuck performing freeze/thaw
operation no message will be sent to the host so it will take very
long (around 10 minutes) before backup fails. Introduce 10 second
timeout using schedule_delayed_work().

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/hv_snapshot.c