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, Mar 20, 6:33 AM
Unknown Object (File)
Fri, Mar 20, 6:19 AM
Unknown Object (File)
Thu, Mar 19, 7:12 AM
Unknown Object (File)
Thu, Mar 19, 12:03 AM
Unknown Object (File)
Thu, Mar 19, 12:01 AM
Unknown Object (File)
Wed, Mar 11, 12:11 PM
Unknown Object (File)
Sat, Feb 28, 1:00 AM
Unknown Object (File)
Feb 21 2026, 11:49 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.