Page MenuHomeFreeBSD

Clear G_CF_ORPHAN when attaching.
ClosedPublic

Authored by trasz on Sep 4 2017, 11:08 PM.
Tags
None
Referenced Files
F173590447: D12228.id32655.diff
Sun, Sep 27, 1:07 AM
F173577363: D12228.id33626.diff
Sat, Sep 26, 11:09 PM
F173575548: D12228.diff
Sat, Sep 26, 10:52 PM
F173567870: D12228.diff
Sat, Sep 26, 9:46 PM
Unknown Object (File)
Mon, Sep 14, 12:40 AM
Unknown Object (File)
Sun, Sep 13, 8:24 AM
Unknown Object (File)
Sun, Sep 13, 12:30 AM
Unknown Object (File)
Sat, Sep 12, 11:50 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.