[PATCHv2 0/7] nvmet: debugfs support

Hannes Reinecke hare at suse.de
Wed Mar 20 23:55:12 PDT 2024


On 3/21/24 00:07, Sagi Grimberg wrote:
> 
> 
> On 20/03/2024 16:40, Hannes Reinecke wrote:
>> Hi all,
>>
>> taking up the original patchset for nvmet debugfs
>> I've improved upon that submission by modifying
>> the layout:
>>
>> /dev/kernel/debug/nvmet
>>    <subsysnqn>
>>      ctrl<cntlid>
>>        port
>>        state
>>        hostnqn
>>        kato
>>        queue<qnum>
>>          host_traddr
> 
> Why is host_traddr per queue?

Blame TCP. We're having one connection per queue, and as such the
peer address is a per-queue thingie.
And it really felt daft to look for queue 0 to get the peer address
of the controller.
Unless we declare TCP the odd man out, and store the peer address
per controller. Certainly would make sense for FC and loop.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                  Kernel Storage Architect
hare at suse.de                                +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich




More information about the Linux-nvme mailing list