aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorMatthew Ahrens <[email protected]>2021-03-26 11:19:35 -0700
committerGitHub <[email protected]>2021-03-26 11:19:35 -0700
commit2b56a634579e4cdab8d84ccba138e701a6d3bc64 (patch)
tree55314e7c98899656160baa6591b362271cb25f32 /man
parentb85f47efd094dc9ebe210c364e235c6ef99f8417 (diff)
Use a helper function to clarify gang block size
For gang blocks, `DVA_GET_ASIZE()` is the total space allocated for the gang DVA including its children BP's. The space allocated at each DVA's vdev/offset is `vdev_psize_to_asize(vd, SPA_GANGBLOCKSIZE)`. This commit makes this relationship more clear by using a helper function, `vdev_gang_header_asize()`, for the space allocated at the gang block's vdev/offset. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Matthew Ahrens <[email protected]> Closes #11744
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions