]> git.ipfire.org Git - thirdparty/mdadm.git/commit
imsm: Change the way of printing nvme drives in detail-platform.
authorBlazej Kucman <blazej.kucman@intel.com>
Mon, 2 Dec 2019 09:52:05 +0000 (10:52 +0100)
committerJes Sorensen <jsorensen@fb.com>
Mon, 2 Dec 2019 21:06:27 +0000 (16:06 -0500)
commit6da53c0e2aab200605722795798b1e4f2352cd64
treecd58309c926590cc34afbc00890e89b706096c81
parentb771faef931c798a4553db0a8c1366aff90079c6
imsm: Change the way of printing nvme drives in detail-platform.

Change NVMe controller path to device node path
in mdadm --detail-platform and print serial number.
The method imsm_read_serial always trimes serial to
MAX_RAID_SERIAL_LEN, added parameter 'serial_buf_len'
will be used to check the serial fit
to passed buffor, if not, will be trimed.

Signed-off-by: Blazej Kucman <blazej.kucman@intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
super-intel.c