sunvdc: reconnect ldc after vds service domain restarts
authorDwight Engen <dwight.engen@oracle.com>
Thu, 11 Dec 2014 17:26:17 +0000 (12:26 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Dec 2014 02:52:45 +0000 (18:52 -0800)
commit76e74bbe0a38c6720217425ed64dbb448c643b9d
treee66d6c9c301acf4462e46c713fe072e8e167f907
parent1678c2bd131313b58c7492487c00dca982be7f28
sunvdc: reconnect ldc after vds service domain restarts

This change enables the sunvdc driver to reconnect and recover if a vds
service domain is disconnected or bounced.

By default, it will wait indefinitely for the service domain to become
available again, but will honor a non-zero vdc-timout md property if one
is set. If a timeout is reached, any in-progress I/O's are completed
with -EIO.

Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Reviewed-by: Chris Hyser <chris.hyser@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/block/sunvdc.c