svn commit: r356108 - head/sys/geom/vinum
Brooks Davis
brooks at freebsd.org
Fri Jan 3 17:26:37 UTC 2020
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20200103/ca8b6e8b/attachment.sig>
More information about the svn-src-all
mailing list