From 4e6bd9ad6a22c8b8b91cc99ca36689fef9bacd13 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 9 Apr 2018 13:14:25 +0200 Subject: [PATCH] docs: update TODO (lsblk) * remove NVMe-multipath lsblk issue (already fixed by kernel) * add lsblk rewrite Signed-off-by: Karel Zak --- Documentation/TODO | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/Documentation/TODO b/Documentation/TODO index 14226dc114..6bc58f63aa 100644 --- a/Documentation/TODO +++ b/Documentation/TODO @@ -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/ for the node exists), otherwise silently ignore - the slave/holder node -- see set_cxt(). - - - the same verification we necessary for nodes in /sys/block/. 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] -- 2.47.3