Page MenuHomeFreeBSD

Clear G_CF_ORPHAN when attaching.
ClosedPublic

Authored by trasz on Sep 4 2017, 11:08 PM.
Tags
None
Referenced Files
F137167807: D12228.id33626.diff
Fri, Nov 21, 8:37 AM
F137062346: D12228.id32655.diff
Fri, Nov 21, 1:57 AM
F137062191: D12228.id.diff
Fri, Nov 21, 1:57 AM
F137061251: D12228.id33626.diff
Fri, Nov 21, 1:54 AM
F137059990: D12228.diff
Fri, Nov 21, 1:52 AM
Unknown Object (File)
Sun, Nov 16, 6:54 PM
Unknown Object (File)
Sun, Nov 16, 12:03 PM
Unknown Object (File)
Tue, Nov 11, 3:27 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.