Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107839003
D7750.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
607 B
Referenced Files
None
Subscribers
None
D7750.diff
View Options
Index: head/sys/geom/mirror/g_mirror.c
===================================================================
--- head/sys/geom/mirror/g_mirror.c
+++ head/sys/geom/mirror/g_mirror.c
@@ -2678,8 +2678,12 @@
int error;
error = g_mirror_clear_metadata(disk);
- if (error != 0)
- return (error);
+ if (error != 0) {
+ G_MIRROR_DEBUG(0,
+ "Device %s: failed to clear metadata on %s: %d.",
+ sc->sc_name, g_mirror_get_diskname(disk), error);
+ break;
+ }
DISK_STATE_CHANGED();
G_MIRROR_DEBUG(0, "Device %s: provider %s destroyed.",
sc->sc_name, g_mirror_get_diskname(disk));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 19, 3:46 PM (18 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15947497
Default Alt Text
D7750.diff (607 B)
Attached To
Mode
D7750: Don't fail disk state change if g_mirror_clear_metadata() fails.
Attached
Detach File
Event Timeline
Log In to Comment