HomeFreeBSD

Avoid unnecessary metaslab_check_free calling

Description

Avoid unnecessary metaslab_check_free calling

The metaslab_check_free() function only needs to be called in the
GANG|DEDUP|etc case because zio_free_sync() will internally call
metaslab_check_free().

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Signed-off-by: Finix1979 <yancw@info2soft.com>
Closes #13977

Details

Provenance
Finix1979 <yanchongwen@hotmail.com>Authored on Oct 4 2022, 5:55 PM
GitHub <noreply@github.com>Committed on Oct 4 2022, 5:55 PM
Parents
rG383c3eb33db8: Add membar_sync abi change
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG6694ca5539c9: Avoid unnecessary metaslab_check_free calling (authored by Finix1979 <yanchongwen@hotmail.com>).Oct 4 2022, 5:55 PM