RE: [RFC] hv_storvsc: error handling.

2017-03-07 Thread KY Srinivasan
t;; Dexuan Cui <de...@microsoft.com>; Long > Li <lon...@microsoft.com>; Josh Poulson <jopou...@microsoft.com>; Adrian > Suhov (Cloudbase Solutions SRL) <v-ads...@microsoft.com>; linux- > s...@vger.kernel.org; Haiyang Zhang <haiya...@microsoft.com> > Subjec

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

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
; Long > Li <lon...@microsoft.com>; Josh Poulson <jopou...@microsoft.com>; Adrian > Suhov (Cloudbase Solutions SRL) <v-ads...@microsoft.com>; linux- > s...@vger.kernel.org; Haiyang Zhang <haiya...@microsoft.com> > Subject: Re: [RFC] hv_storvsc: error handli

Re: [RFC] hv_storvsc: error handling.

2017-03-06 Thread Stephen Hemminger
On Sat, 4 Mar 2017 21:03:41 + KY Srinivasan wrote: > > -Original Message- > > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > Sent: Friday, March 3, 2017 4:50 PM > > To: James Bottomley > > Cc: Hannes

RE: [RFC] hv_storvsc: error handling.

2017-03-04 Thread KY Srinivasan
ian Suhov (Cloudbase Solutions SRL) > <v-ads...@microsoft.com>; linux-scsi@vger.kernel.org; Haiyang Zhang > <haiya...@microsoft.com> > Subject: RE: [RFC] hv_storvsc: error handling. > > > > > -Original Message- > > From: James Bottomley [mai

RE: [RFC] hv_storvsc: error handling.

2017-03-04 Thread KY Srinivasan
pou...@microsoft.com>; Adrian Suhov (Cloudbase Solutions SRL) > <v-ads...@microsoft.com>; linux-scsi@vger.kernel.org; Haiyang Zhang > <haiya...@microsoft.com> > 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
On Sat, 2017-03-04 at 21:03 +, KY Srinivasan wrote: > > > -Original Message- > > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > Sent: Friday, March 3, 2017 4:50 PM > > To: James Bottomley > > Cc: Hannes Reinecke ;

RE: [RFC] hv_storvsc: error handling.

2017-03-04 Thread KY Srinivasan
> -Original Message- > From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Friday, March 3, 2017 4:50 PM > To: James Bottomley > Cc: Hannes Reinecke ; Christoph Hellwig ; > James Bottomley

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