[PATCH 2/2] nvmet: Add port transport active flag
Johannes Thumshirn
jthumshirn at suse.de
Mon Mar 19 03:56:49 PDT 2018
On Mon, Mar 19, 2018 at 12:48:15PM +0200, Max Gurtovoy wrote:
>
>
> 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).
No I was thinking of a nvmetcli command to administratively toggle the
tractive flag from within nvmetcli.
It is exported via configfs 'CONFIGFS_ATTR(nvmet_, tractive);' so
what's the purpose of a user controllable knob that can't be
controlled by the tool that usually configures these?
Byte,
Johannes
--
Johannes Thumshirn Storage
jthumshirn at suse.de +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850
More information about the Linux-nvme
mailing list