From 56f4d6ce0d6fe45dabfc6b6094adffaa98044e78 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 1 Mar 2018 12:35:59 +0100 Subject: docs: add note about NVMe-multipath to TODO Signed-off-by: Karel Zak --- Documentation/TODO | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'Documentation/TODO') diff --git a/Documentation/TODO b/Documentation/TODO index 7b61ce72a..6dc1c4fcf 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 -- cgit v1.2.3-55-g7522