[Stgt-devel] [PATCH 6/7] target reconfiguration

Doron Shoham dorons
Tue Jul 29 13:27:48 CEST 2008


Tomasz Chmielewski wrote:
> Tomasz Chmielewski schrieb:
>> Doron Shoham schrieb:
>>> modifying a target that already exits in tgt, current instance will
>>> be delete
>>> and a new one will be created with the new parameters instead.
>>
>> Hmm, this is not optimal - it offlines, removes and configures each
>> target from scratch even if no changes were made.
> 
> Besides, it doesn't even seem to work properly: all targets get the same
> tid...
> 
> 

You are right.

I suggest we do something like the delete option:

--update <ALL|tid=|targetname>

It would only update the target if it is not in use.
ALL would update all targets which are not in use - 
Targets which have initiators connected will not be updated.


 




More information about the stgt mailing list