HomeFreeBSD

BRT: Limit brt_vdev_dump() to only one vdev

Description

BRT: Limit brt_vdev_dump() to only one vdev

Without this patch on pool of 60 vdevs with ZFS_DEBUG enabled clone
takes much more time than copy, while heavily trashing dbgmsg for
no good reason, repeatedly dumping all vdevs BRTs again and again,
even unmodified ones.

I am generally not sure this dumping is not excessive, but decided
to keep it for now, just restricting its scope to more reasonable.

Reviewed-by: Kay Pedersen <mail@mkwg.de>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored by: iXsystems, Inc.
Closes #15625

Details

Provenance
mavAuthored on Dec 6 2023, 11:37 PM
GitHub <noreply@github.com>Committed on Dec 6 2023, 11:37 PM
Parents
rG2aa3a482abe3: ZIL: Remove 128K into 2x68K LWB split optimization
Branches
Unknown
Tags
Unknown