]> git.baikalelectronics.ru Git - kernel.git/commit
Drivers: hv: Notify the host of permanent hot-add failures
authorK. Y. Srinivasan <kys@microsoft.com>
Mon, 18 Mar 2013 20:51:38 +0000 (13:51 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Mar 2013 16:03:21 +0000 (09:03 -0700)
commit8b864e81022ee0da0b8f3d5d26b4e9a4c85216ea
treed5cd944948730df766a41bf54d96d8986866ba45
parente44b540cfe5fb89d272ffea5e84044545dd57cf8
Drivers: hv: Notify the host of permanent hot-add failures

If memory hot-add fails with the error -EEXIST, then this is a permanent
failure. Notify the host of this information, so the host will not attempt
hot-add again. If the failure were a transient failure, host will attempt
a hot-add after some delay.

In this version of the patch, I have added some additional comments
to clarify how the host treats different failure conditions.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/hv_balloon.c