]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
docs: update TODO (lsblk)
authorKarel Zak <kzak@redhat.com>
Mon, 9 Apr 2018 11:14:25 +0000 (13:14 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 9 Apr 2018 11:14:25 +0000 (13:14 +0200)
* remove NVMe-multipath lsblk issue (already fixed by kernel)
* add lsblk rewrite

Signed-off-by: Karel Zak <kzak@redhat.com>
Documentation/TODO

index 14226dc114b694e0f537d31d150587d2e816acee..6bc58f63aab37be2ea03a20438df3c8d09b7fa76 100644 (file)
@@ -40,20 +40,11 @@ script
 
 lsblk
 -----
-   The problem is NVMe-multipath driver where in /sys/.../slaves/ are nodes
-   that should be probably hidden for userspace. Note that kernel developers
-   promised to fix this issue in kernel *** so hold off from that for now***
-   [Mar 1, 2018].
-
-   Anyway, possible userspace solution is:
-
-   - verify that slave/holder nodes points to the real block devices
-     (/sys/dev/block/<maj:min> for the node exists), otherwise silently ignore
-     the slave/holder node -- see set_cxt().
-
-   - the same verification we necessary for nodes in /sys/block/<name>. It means
-     verify result from sysfs_devname_to_devno() in set_cxt().
+   - rewrite lsblk to read all devices tree to memory to make it more extendable. Now
+     it always keep in memory just one device (only final output is buffered by
+     libsmartcols, but this stuff are output strings, nothing else).
 
+     See fopr example: https://github.com/karelzak/util-linux/issues/616
 
 
 cleanup lib/path.c: [Karel Zak for v2.33]