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)
Dec 31 2023, 8:49 PM
Unknown Object (File)
Dec 20 2023, 3:57 AM
Unknown Object (File)
Aug 16 2023, 4:31 PM
Unknown Object (File)
Aug 16 2023, 7:51 AM
Unknown Object (File)
Aug 7 2023, 8:38 PM
Unknown Object (File)
Aug 7 2023, 8:38 PM
Unknown Object (File)
Aug 7 2023, 8:36 PM
Unknown Object (File)
Aug 4 2023, 10:08 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.