diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2014-12-16 13:21:43 -0800 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2015-01-09 15:44:26 +0100 |
commit | 34a716bc345ba06c34aa33d09536fcb607523818 (patch) | |
tree | def7a933326d96cb3415c0de1f7b75edeeeba4fe /fs | |
parent | storvsc: in responce to a scan event, scan the host (diff) | |
download | linux-dev-34a716bc345ba06c34aa33d09536fcb607523818.tar.xz linux-dev-34a716bc345ba06c34aa33d09536fcb607523818.zip |
storvsc: force discovery of LUNs that may have been removed.
The host asks the guest to scan when a LUN is removed or added.
The only way a guest can identify the removed LUN is when an I/O is
attempted on a removed LUN - the SRB status code indicates that the LUN
is invalid. We currently handle this SRB status and remove the device.
Rather than waiting for an I/O to remove the device, force the discovery of
LUNs that may have been removed prior to discovering LUNs that may have
been added.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Long Li <longli@microsoft.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions