freebsd-dev/sys/geom/label
Conrad Meyer 5b9b571cb3 geom_label: Use provider aliasing to alias upstream geoms
For synthetic aliases (just pseudonyms inferred from metadata like GPT or
UFS labels, GPT UUIDs, etc), use the GEOM provider aliasing system to create
a symlink to the real device instead of creating an independent device.
This makes it more clear which labels and devices correspond, and we can
safely have multiple labels to a single device accessed at once.

The confusingly named geom_label on-disk construct continues to behave
identically to how it did before.

This requires teaching GEOM's provider aliasing about the possibility
that aliases might be added later in time, and GEOM's devfs interaction
layer not to worry about existing aliases during retaste.

Discussed with:	imp
Relnotes:	sure, if we don't end up reverting it
Differential Revision:	https://reviews.freebsd.org/D24968
2020-06-05 16:12:21 +00:00
..
g_label_disk_ident.c Squash error from geom by sizing ident strings to DISK_IDENT_SIZE. 2018-04-05 13:56:40 +00:00
g_label_ext2fs.c GEOM: Reduce unnecessary log interleaving with sbufs 2019-08-07 19:28:35 +00:00
g_label_flashmap.c Support device-independent labels for geom_flashmap slices. 2019-03-24 19:11:45 +00:00
g_label_gpt.c
g_label_iso9660.c GEOM: Reduce unnecessary log interleaving with sbufs 2019-08-07 19:28:35 +00:00
g_label_msdosfs.c GEOM: Reduce unnecessary log interleaving with sbufs 2019-08-07 19:28:35 +00:00
g_label_msdosfs.h
g_label_ntfs.c
g_label_reiserfs.c GEOM: Reduce unnecessary log interleaving with sbufs 2019-08-07 19:28:35 +00:00
g_label_ufs.c GEOM: Reduce unnecessary log interleaving with sbufs 2019-08-07 19:28:35 +00:00
g_label.c geom_label: Use provider aliasing to alias upstream geoms 2020-06-05 16:12:21 +00:00
g_label.h Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00