[PATCH 2/2] nvmet: Add port transport active flag

Max Gurtovoy maxg at mellanox.com
Mon Mar 19 03:48:15 PDT 2018



On 3/19/2018 12:11 PM, Johannes Thumshirn wrote:
> On Mon, Mar 19, 2018 at 09:47:47AM +0000, Israel Rukshin wrote:
>> tractive port flag means that nvmet transport is active and ready for
>> receiving requests from host.
>> It differ from enabled port state (port with subsystem symbolic link)
> differs^
> 
> 
> Also, this would need an accompanying nvmetcli change as well.

Are you reffereing to the current implementation ?
Which change is in your mind ?

Currently the tractive flag will become true if the initial port 
configuration will succeed (also using nvmetcli).
One can create a service/timer/script to check periodically the tractive 
flag and echo 1 to it in case needed (for persistent target configuration).

> 
> Anyways,
> Reviewed-by: Johannes Thumshirn <jthumshirn at suse.de>
> 



More information about the Linux-nvme mailing list