Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147588056
D38607.1783822566.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
733 B
Referenced Files
None
Subscribers
None
D38607.1783822566.diff
View Options
diff --git a/sys/geom/vinum/geom_vinum_events.c b/sys/geom/vinum/geom_vinum_events.c
--- a/sys/geom/vinum/geom_vinum_events.c
+++ b/sys/geom/vinum/geom_vinum_events.c
@@ -39,6 +39,8 @@
#include <geom/vinum/geom_vinum_var.h>
#include <geom/vinum/geom_vinum.h>
+static bool deprecation_printed;
+
void
gv_post_event(struct gv_softc *sc, int event, void *arg1, void *arg2,
intmax_t arg3, intmax_t arg4)
@@ -179,6 +181,13 @@
gv_setup_objects(sc);
gv_set_drive_state(d, GV_DRIVE_UP, 0);
+ /* Emit deprecation notice. */
+ if (!deprecation_printed) {
+ gone_in(15, "gvinum volume manager");
+ deprecation_printed = true;
+ }
+ G_VINUM_DEBUG(1, "drive '%s' relies on deprecated gvinum", d->name);
+
return;
failed:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jul 12, 2:16 AM (1 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29087223
Default Alt Text
D38607.1783822566.diff (733 B)
Attached To
Mode
D38607: gvinum: add deprecation notice upon drive tasting
Attached
Detach File
Event Timeline
Log In to Comment