Re: [PATCH 4/6] target: Send UA on ALUA target port group change

2015-06-23 Thread Nicholas A. Bellinger
On Fri, 2015-06-19 at 15:05 +0200, Christoph Hellwig wrote: > > --- a/drivers/target/target_core_alua.c > > +++ b/drivers/target/target_core_alua.c > > @@ -1880,12 +1880,19 @@ static void core_alua_put_tg_pt_gp_from_name( > > static void __target_attach_tg_pt_gp(struct se_lun *lun, > >

Re: [PATCH 4/6] target: Send UA on ALUA target port group change

2015-06-19 Thread Christoph Hellwig
On Fri, Jun 19, 2015 at 03:09:34PM +0200, Hannes Reinecke wrote: > This harks back to my previous mail: > Under which circumstances will there be more than one se_dev_entry > structures in lun_deve_list? > Isn't there a 1:1 relationship? No. See my answer to your previous mail. -- To unsubscribe

Re: [PATCH 4/6] target: Send UA on ALUA target port group change

2015-06-19 Thread Hannes Reinecke
On 06/19/2015 03:05 PM, Christoph Hellwig wrote: >> --- a/drivers/target/target_core_alua.c >> +++ b/drivers/target/target_core_alua.c >> @@ -1880,12 +1880,19 @@ static void core_alua_put_tg_pt_gp_from_name( >> static void __target_attach_tg_pt_gp(struct se_lun *lun, >> struct t10_alu

Re: [PATCH 4/6] target: Send UA on ALUA target port group change

2015-06-19 Thread Christoph Hellwig
> --- a/drivers/target/target_core_alua.c > +++ b/drivers/target/target_core_alua.c > @@ -1880,12 +1880,19 @@ static void core_alua_put_tg_pt_gp_from_name( > static void __target_attach_tg_pt_gp(struct se_lun *lun, > struct t10_alua_tg_pt_gp *tg_pt_gp) > { > + struct se_dev_entr

[PATCH 4/6] target: Send UA on ALUA target port group change

2015-06-11 Thread Hannes Reinecke
When the ALUA target port group changes an INQUIRY DATA CHANGE UA needs to be sent. Signed-off-by: Hannes Reinecke --- drivers/target/target_core_alua.c | 7 +++ drivers/target/target_core_ua.h | 2 ++ 2 files changed, 9 insertions(+) diff --git a/drivers/target/target_core_alua.c b/driv