disk enumerator should make protocol/label prop mutable
Currently the disk topo enumerator sets the protocol/label property via the topo_node_label_set() interface, which defaults to making the label property immutable. The problem with this is that the labels are often sourced from string data read directly from firmware and sometimes these strings can be incorrect or not in a format we prefer. The normal way we'd workaround this would be to override the label via a platform-specific XML file. But because the property has been created with the TOPO_PROP_IMMUTABLE flag, we're not able to fix it up.
So this issue is to track changing the disk enumerator such that it sets the protocol/label property to be mutable on any topo nodes it creates. A similar issue issue exists in the ses enumerator and fixing that is tracked by illumos#10280.
Updated by Electric Monk 12 months ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 36f5a109a7ea7c74a4d90af4f589df489e7537c0 Author: Rob Johnston <email@example.com> Date: 2019-03-13T00:08:55.000Z 10321 disk enumerator should make protocol/label prop mutable Reviewed by: Jordan Hendricks <firstname.lastname@example.org> Reviewed by: Robert Mustacchi <email@example.com> Reviewed by: Igor Kozhukhov <firstname.lastname@example.org> Reviewed by: Gergő Doma <email@example.com> Approved by: Richard Lowe <firstname.lastname@example.org>