diff options
author | Alan Adamson <alan.adamson@oracle.com> | 2025-05-08 15:38:00 -0700 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2025-05-14 07:33:10 +0200 |
commit | a21675ee3b1ba094e229ae4cd8bddf7d215ab1b9 (patch) | |
tree | be74ef7418a17fca6353d695ba0dc1bf54451e8f /scripts/gdb/linux/utils.py | |
parent | 8113d610a79885db5d53b5e01138ed4159e05ce9 (diff) |
nvme: multipath: enable BLK_FEAT_ATOMIC_WRITES for multipathing
A change to QEMU resulted in all nvme controllers (single and
multi-controller subsystems) to have its CMIC.MCTRS bit set which
indicates the subsystem supports multiple controllers and it is possible
a namespace can be shared between those multiple controllers in a
multipath configuration.
When a namespace of a CMIC.MCTRS enabled subsystem is allocated, a
multipath node is created. The queue limits for this node are inherited
from the namespace being allocated. When inheriting queue limits, the
features being inherited need to be specified. The atomic write feature
(BLK_FEAT_ATOMIC_WRITES) was not specified so the atomic queue limits
were not inherited by the multipath disk node which resulted in the sysfs
atomic write attributes being zeroed. The fix is to include
BLK_FEAT_ATOMIC_WRITES in the list of features to be inherited.
Signed-off-by: Alan Adamson <alan.adamson@oracle.com>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions