On Fri, Dec 27, 2019 at 01:36:53AM +0000, Alexander Motin wrote: > Author: mav > Date: Fri Dec 27 01:36:53 2019 > New Revision: 356108 > URL: https://svnweb.freebsd.org/changeset/base/356108 > > Log: > Reimplement gvinum orphanization. > > gvinum was the only GEOM class, using consumer nstart/nend fields. Making > it do its own accounting for orphanization purposes allows in perspective > to remove burden of that expensive for SMP accounting from GEOM. > > Also the previous implementation spinned in a tight event loop, waiting > for all active BIOs to complete, while the new one knows exactly when it > is possible to close the consumer.
Do you know if there are other cases of gvinum being a weird GEOM class? If it's going to require more rounds of major refactoring, maybe we should look into deprecating it for 14. -- Brooks
signature.asc
Description: PGP signature
