aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/vdev_raidz_math_avx2.c
diff options
context:
space:
mode:
authorMatthew Ahrens <[email protected]>2021-01-30 10:04:42 -0800
committerGitHub <[email protected]>2021-01-30 10:04:42 -0800
commit2d4bbd14fca11fd5d990fca537d2f7cc9b32d6a7 (patch)
treefc5e3cea5ce7da0ea4568bcd76297573c6381c7a /module/zfs/vdev_raidz_math_avx2.c
parentcf0a6dd3ede987212cad7f7c0afed64e54bd9975 (diff)
The abd child/parent relationship does not need to be tracked
ABD's currently track their parent/child relationship. This applies to `abd_get_offset()` and `abd_borrow_buf()`. However, nothing depends on knowing this relationship, it's only used for consistency checks to verify that we are not destroying an ABD that's still in use. When we are creating/destroying ABD's frequently, the performance impact of maintaining these data structures (in particular the atomic increment/decrement operations) can be measurable. This commit removes this verification code on production builds, but keeps it when ZFS_DEBUG is set. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Brian Atkinson <[email protected]> Signed-off-by: Matthew Ahrens <[email protected]> Closes #11535
Diffstat (limited to 'module/zfs/vdev_raidz_math_avx2.c')
0 files changed, 0 insertions, 0 deletions