RE: [RFC] hv_storvsc: error handling.

2017-03-07 Thread KY Srinivasan
s > ; Martin K. Petersen > ; Dexuan Cui ; Long > Li ; Josh Poulson ; Adrian > Suhov (Cloudbase Solutions SRL) ; linux- > s...@vger.kernel.org; Haiyang Zhang > Subject: Re: [RFC] hv_storvsc: error handling. > > > Was the invalid LUN in the LUN0 position. Inquiry of LUN0 suppor

Re: [RFC] hv_storvsc: error handling.

2017-03-07 Thread Christoph Hellwig
> Was the invalid LUN in the LUN0 position. Inquiry of LUN0 support (when LUN0 > is not populated) > was added only recently to address host side issue. How does HyperV expect device scanning to happen for a not populated LUN? REPORT SUPPORTED LUNS but nothing else on LUN 0? Maybe a TEST UNIT R

Re: [RFC] hv_storvsc: error handling.

2017-03-06 Thread Stephen Hemminger
> > I will try it, but it can't work for two reasons. > > First, the INVALID_LUN error is masked off on INQUIRY in current code. > > Second, the scsi_device is instantiated already as part of scan probe > > process > > before it gets here. > > Was the invalid LUN in the LUN0 position. Inquiry

RE: [RFC] hv_storvsc: error handling.

2017-03-06 Thread KY Srinivasan
n K. Petersen > ; Dexuan Cui ; Long > Li ; Josh Poulson ; Adrian > Suhov (Cloudbase Solutions SRL) ; linux- > s...@vger.kernel.org; Haiyang Zhang > Subject: Re: [RFC] hv_storvsc: error handling. > > On Sat, 4 Mar 2017 21:03:41 + > KY Srinivasan wrote: > > > &

Re: [RFC] hv_storvsc: error handling.

2017-03-06 Thread Stephen Hemminger
t; > James Bottomley ; Jens Axboe > > ; Linus Torvalds ; > > Martin K. Petersen ; KY Srinivasan > > ; Dexuan Cui ; Long Li > > ; Josh Poulson ; Adrian > > Suhov (Cloudbase Solutions SRL) ; linux- > > s...@vger.kernel.org; Haiyang Zhang > > Subject: [RFC]

RE: [RFC] hv_storvsc: error handling.

2017-03-04 Thread KY Srinivasan
Dexuan Cui ; Long Li ; Josh > Poulson ; Adrian Suhov (Cloudbase Solutions SRL) > ; linux-scsi@vger.kernel.org; Haiyang Zhang > > Subject: RE: [RFC] hv_storvsc: error handling. > > > > > -Original Message- > > From: James Bottomley [mailto:j...@linux.vnet.ib

RE: [RFC] hv_storvsc: error handling.

2017-03-04 Thread KY Srinivasan
Petersen ; > Dexuan Cui ; Long Li ; Josh > Poulson ; Adrian Suhov (Cloudbase Solutions SRL) > ; linux-scsi@vger.kernel.org; Haiyang Zhang > > Subject: Re: [RFC] hv_storvsc: error handling. > > On Sat, 2017-03-04 at 21:03 +, KY Srinivasan wrote: > > > > &

Re: [RFC] hv_storvsc: error handling.

2017-03-04 Thread James Bottomley
> > James Bottomley ; Jens Axboe > > ; Linus Torvalds ; > > Martin K. Petersen ; KY Srinivasan > > ; Dexuan Cui ; Long Li > > ; Josh Poulson ; > > Adrian > > Suhov (Cloudbase Solutions SRL) ; linux- > > s...@vger.kernel.org; Haiyang Zhang > > S

RE: [RFC] hv_storvsc: error handling.

2017-03-04 Thread KY Srinivasan
KY Srinivasan > ; Dexuan Cui ; Long Li > ; Josh Poulson ; Adrian > Suhov (Cloudbase Solutions SRL) ; linux- > s...@vger.kernel.org; Haiyang Zhang > Subject: [RFC] hv_storvsc: error handling. > > Needs more testing but this does fix the observed problem. > > From: Steph

Re: [RFC] hv_storvsc: error handling.

2017-03-04 Thread Hannes Reinecke
On 03/04/2017 01:50 AM, Stephen Hemminger wrote: Needs more testing but this does fix the observed problem. From: Stephen Hemminger Subject: [PATCH] hv_storvsc: fix error handling The Hyper-V storvsc SCSI driver was hiding all errors in INQUIRY and MODE_SENSE commands. This caused the scan pr

[RFC] hv_storvsc: error handling.

2017-03-03 Thread Stephen Hemminger
Needs more testing but this does fix the observed problem. From: Stephen Hemminger Subject: [PATCH] hv_storvsc: fix error handling The Hyper-V storvsc SCSI driver was hiding all errors in INQUIRY and MODE_SENSE commands. This caused the scan process to incorrectly think devices were present and