HomeFreeBSD

Removing old code for k(un)map_atomic

Description

Removing old code for k(un)map_atomic

It used to be required to pass a enum km_type to kmap_atomic() and
kunmap_atomic(), however this is no longer necessary and the wrappers
zfs_k(un)map_atomic removed these. This is confusing in the ABD code as
the struct abd_iter member iter_km no longer exists and the wrapper
macros simply compile them out.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Adam Moss <c@yotes.com>
Signed-off-by: Brian Atkinson <batkinson@lanl.gov>
Closes #11768

Details

Provenance
Brian Atkinson <batkinson@lanl.gov>Authored on Mar 20 2021, 5:38 AM
GitHub <noreply@github.com>Committed on Mar 20 2021, 5:38 AM
Parents
rG793c958f6f16: Initialize metaslab range trees in metaslab_init
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGf52124dce8f6: Removing old code for k(un)map_atomic (authored by Brian Atkinson <batkinson@lanl.gov>).Mar 20 2021, 5:38 AM