aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorMartin George <martinus.gpy@gmail.com>2026-09-30 21:06:58 +0530
committerKeith Busch <kbusch@kernel.org>2026-10-13 08:34:26 -0700
commit53283a76180388c2bfc46eca2ef3ff2c131f5fc7 (patch)
tree3bcb041c8cf0158ffd7b8b2da4dfaa82746970c6 /scripts/Makefile.thinlto
parentnvme-rdma: don't complete a request after a bogus remote invalidation (diff)
nvme-multipath: report "none" iopolicy for discovery subsystems
A discovery subsystem never exposes namespaces, so it has no multipath head and no I/O paths to select between. Nevertheless the per-subsystem iopolicy attribute is registered unconditionally and reads back the driver-wide default which is 'numa' for the discovery subsystems too. This can be misleading as it suggests a path selection policy is in effect when nothing is ever selected, and writing the attribute silently mutates state that can never be used. Report "none" instead for a discovery subsystem, and reject writes with -EOPNOTSUPP. Report "none" from iopolicies as well, so that the value read from iopolicy always remains a member of the set advertised by iopolicies; otherwise userspace validating the current policy against the available ones would reject its own subsystem. And while at it, document iopolicies too, which was not covered when it was added previously. Reviewed-by: Laurence Oberman <loberman@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin George <marting@netapp.com> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions