Re: [PATCH 14/20] scsi_dh_alua: update all port states

2015-12-31 Thread Hannes Reinecke
On 12/30/2015 02:23 PM, Christoph Hellwig wrote: On Tue, Dec 08, 2015 at 08:37:34AM +0100, Hannes Reinecke wrote: When we read in the target port group state we should be updating all affected port groups, otherwise we risk running out of sync. Why would we ever have multiple alua_port_group

Re: [PATCH 14/20] scsi_dh_alua: update all port states

2015-12-30 Thread Christoph Hellwig
On Tue, Dec 08, 2015 at 08:37:34AM +0100, Hannes Reinecke wrote: > When we read in the target port group state we should be > updating all affected port groups, otherwise we risk > running out of sync. Why would we ever have multiple alua_port_group structures for the same port that we'd need to

[PATCH 14/20] scsi_dh_alua: update all port states

2015-12-07 Thread Hannes Reinecke
When we read in the target port group state we should be updating all affected port groups, otherwise we risk running out of sync. Signed-off-by: Hannes Reinecke --- drivers/scsi/device_handler/scsi_dh_alua.c | 31 +- 1 file changed, 22 insertions(+), 9