Page MenuHomeFreeBSD

Clear G_CF_ORPHAN when attaching.
ClosedPublic

Authored by trasz on Sep 4 2017, 11:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 17, 6:57 AM
Unknown Object (File)
Sun, Apr 12, 6:37 PM
Unknown Object (File)
Sat, Apr 11, 1:14 PM
Unknown Object (File)
Tue, Apr 7, 9:13 PM
Unknown Object (File)
Mon, Apr 6, 7:32 AM
Unknown Object (File)
Mon, Apr 6, 6:49 AM
Unknown Object (File)
Thu, Apr 2, 10:42 AM
Unknown Object (File)
Mar 20 2026, 6:33 AM
Subscribers

Details

Summary

Clear G_CF_ORPHAN when attaching. This fixes cases where the same
GEOM consumer can be orphaned, and then reattach to another provider.

From a user point of view, this makes gmountver(4) work again.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I have no specific objections. Probably I was just thinking that consumer should be destroyed and recreated after orphan event happened, but if gmountver does not go it, this indeed may help. I just think whether G_CF_SPOILED should also be cleared there then?

This revision is now accepted and ready to land.Sep 20 2017, 9:20 PM
This revision was automatically updated to reflect the committed changes.