]> 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)
commit3dfc794b9bbdfb12a2c5673bc71a9e2de73eb191
treed5cd944948730df766a41bf54d96d8986866ba45
parent091aab7eec9be1c59d7b26f6e6696e3089a14b4b
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