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)
Wed, Aug 5, 8:34 AM
Unknown Object (File)
Wed, Aug 5, 7:06 AM
Unknown Object (File)
Tue, Aug 4, 9:10 AM
Unknown Object (File)
Jul 4 2026, 6:51 AM
Unknown Object (File)
Jul 2 2026, 11:28 PM
Unknown Object (File)
Jul 2 2026, 7:17 AM
Unknown Object (File)
Apr 17 2026, 6:57 AM
Unknown Object (File)
Apr 12 2026, 6:37 PM
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.