Re: [PATCH 6/6] Invalidate VPD page data

2014-03-20 Thread James Bottomley
On Sat, 2014-03-15 at 09:51 +0100, Hannes Reinecke wrote: > Add a flag 'vpd_invalid' to the SCSI device to indicate that > the VPD data needs to be refreshed. This is required if either > a manual rescan is triggered or if the sense code INQUIRY DATA > HAS CHANGED has been received. > > Signed-off

RE: [PATCH 6/6] Invalidate VPD page data

2014-03-18 Thread Elliott, Robert (Server Storage)
> On 03/17/2014 11:11 PM, Jeremy Linton wrote: > > > > I didn't study the whole code path but does the VPD data get > > updated on a 6/2900? I suspect it should be. I can imagine a > > number of cases where the luns changed check condition gets > > preempted/lost by a device reset. I guess much of

Re: [PATCH 6/6] Invalidate VPD page data

2014-03-18 Thread James Bottomley
On Tue, 2014-03-18 at 07:52 +0100, Hannes Reinecke wrote: > On 03/17/2014 11:11 PM, Jeremy Linton wrote: > > On 3/15/2014 3:51 AM, Hannes Reinecke wrote: > >> Add a flag 'vpd_invalid' to the SCSI device to indicate that > >> the VPD data needs to be refreshed. This is required if > >> either a manu

Re: [PATCH 6/6] Invalidate VPD page data

2014-03-17 Thread Hannes Reinecke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/17/2014 11:11 PM, Jeremy Linton wrote: > On 3/15/2014 3:51 AM, Hannes Reinecke wrote: >> Add a flag 'vpd_invalid' to the SCSI device to indicate that >> the VPD data needs to be refreshed. This is required if >> either a manual rescan is triggere

Re: [PATCH 6/6] Invalidate VPD page data

2014-03-17 Thread Jeremy Linton
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/15/2014 3:51 AM, Hannes Reinecke wrote: > Add a flag 'vpd_invalid' to the SCSI device to indicate that the VPD data > needs to be refreshed. This is required if either a manual rescan is > triggered or if the sense code INQUIRY DATA HAS CHANGED ha

[PATCH 6/6] Invalidate VPD page data

2014-03-15 Thread Hannes Reinecke
Add a flag 'vpd_invalid' to the SCSI device to indicate that the VPD data needs to be refreshed. This is required if either a manual rescan is triggered or if the sense code INQUIRY DATA HAS CHANGED has been received. Signed-off-by: Hannes Reinecke --- drivers/scsi/scsi.c| 91 +++