From: K. Y. Srinivasan Date: Tue, 16 Dec 2014 21:21:43 +0000 (-0800) Subject: storvsc: force discovery of LUNs that may have been removed. X-Git-Tag: fixes-v4.0-rc1~143^2~94 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34a716bc345ba06c34aa33d09536fcb607523818;p=pandora-kernel.git 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 Reviewed-by: Long Li Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed