]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r337191:
authormav <mav@FreeBSD.org>
Wed, 3 Oct 2018 14:48:55 +0000 (14:48 +0000)
committermav <mav@FreeBSD.org>
Wed, 3 Oct 2018 14:48:55 +0000 (14:48 +0000)
commit6f393c7876b337e1a071124c85e9ed98489a0741
tree87d8439c6566045b5b834a8605445bbcf7f4470c
parent7c3b10acaf13ff315189e243ed5aa7a4121d577a
MFC r337191:
MFV r337190: 9486 reduce memory used by device removal on fragmented pools

In the most fragmented real-world cases, this reduces memory used by the
mapping from ~1GB to ~50MB of RAM per 1TB of storage removed. Less
fragmented cases will typically also see around 50-100MB of RAM per 1TB
of storage.

illumos/illumos-gate@cfd63e1b1bcf7ba4bf72f55ddbd87ce008d2986d

Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Serapheim Dimitropoulos <serapheim.dimitro@delphix.com>
Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed by: Tim Chase <tim@chase2k.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author:     Matthew Ahrens <mahrens@delphix.com>
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/range_tree.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/range_tree.h
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/vdev_removal.h
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_label.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_removal.c