From: Karel Zak Date: Mon, 9 Apr 2018 11:14:25 +0000 (+0200) Subject: docs: update TODO (lsblk) X-Git-Tag: v2.33-rc1~318 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e6bd9ad6a22c8b8b91cc99ca36689fef9bacd13;p=thirdparty%2Futil-linux.git docs: update TODO (lsblk) * remove NVMe-multipath lsblk issue (already fixed by kernel) * add lsblk rewrite Signed-off-by: Karel Zak --- 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]