HomeFreeBSD

virstor: write large maps in chunks during label

Description

virstor: write large maps in chunks during label

During the initial label of a virstor device, write out the allocation
map in chunks if it is large (> 1 MB) in order to avoid large mallocs.

Even though the kernel virstor geom may still do a large malloc to
represent the allocation map, this may still be useful to avoid a
ulimit.

Reviewed by: markj
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D45517

Details

Provenance
rlibbyAuthored on Tue, Jun 11, 12:36 AM
Reviewer
markj
Differential Revision
D45517: virstor: write large maps in chunks during label
Parents
rG0f409d2673f2: BSD.tests.dist: add entry for virstor test
Branches
Unknown
Tags
Unknown