From: Karel Zak Date: Thu, 1 Mar 2018 11:35:59 +0000 (+0100) Subject: docs: add note about NVMe-multipath to TODO X-Git-Tag: v2.32-rc2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56f4d6ce0d6fe45dabfc6b6094adffaa98044e78;p=thirdparty%2Futil-linux.git docs: add note about NVMe-multipath to TODO Signed-off-by: Karel Zak --- diff --git a/Documentation/TODO b/Documentation/TODO index 7b61ce72ac..6dc1c4fcf0 100644 --- a/Documentation/TODO +++ b/Documentation/TODO @@ -1,6 +1,24 @@ Note that items with (!) have high priority. +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(). + + + cleanup lib/path.c: [Karel Zak for v2.33] ------------------ - always return rc from all functions