]> git.proxmox.com Git - mirror_zfs.git/commit
ABD: Be more assertive in iterators
authorAlexander Motin <mav@FreeBSD.org>
Tue, 24 Oct 2023 21:33:58 +0000 (17:33 -0400)
committerGitHub <noreply@github.com>
Tue, 24 Oct 2023 21:33:58 +0000 (14:33 -0700)
commite007908a1644cd78d39cfe1c28f80c7c46f2e893
treecbeb0845576403df942ad369ad707f3a15c08cfc
parent07345ac2524754cfd3e020298d16d9fb341f028b
ABD: Be more assertive in iterators

Once we verified the ABDs and asserted the sizes we should never
see premature ABDs ends.  Assert that and remove extra branches
from production builds.

Reviewed-by: Brian Atkinson <batkinson@lanl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored by: iXsystems, Inc.
Closes #15428
module/zfs/abd.c