Skip to content

nvme-discover: Use 'nvme_info' sysfs attribute for fc transport

Hannes Reinecke linux-nvme 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nvme-discover: use ASCII characters in documentationDocumentation/nvme-discover.txt+1 -10 replies
2/2nvme-connect: parse 'nvme_info' sysfs attribute for fc transportDocumentation/nvme-discover.txt fabrics.c+197 -12 replies
2/2nvme-connect: parse 'nvme_info' sysfs attribute for fc transport+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] nvme-discover: Use 'nvme_info' sysfs attribute for fc transport

Hi all,

here's a small patchset to use the 'nvme_info' sysfs attribute from the SCSI host to provide the parameters for 'nvme discover'.
So with this patch it's sufficient to state

nvme discover -t fc

and all discovery log entries are returned.

I know that sysfs attribute is non-standard, but I'll be working on a patch to implement it for qla2xxx, too.

As usual, comments and reviews are welcome.

Hannes Reinecke (2):
nvme-discover: use ASCII characters in documentation
nvme-discover: parse 'nvme_info' sysfs attribute for fc transport

 Documentation/nvme-discover.txt |   7 +-
 fabrics.c                       | 193 +++++++++++++++++++++++++++++++++++++++-
 2 files changed, 198 insertions(+), 2 deletions(-)
Signature · 1 line
2.16.4