HomeFreeBSD

tests: add test for vdev_disk page alignment check

Description

tests: add test for vdev_disk page alignment check

This provides a test driver and a set of test vectors for the page
alignment check callback function vdev_disk_check_pages_cb().

Because there's no good facility for exposing this function to a
userspace test right now, for now I'm just duplicating the function and
adding commentary to remind people to keep them in sync.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Closes #16076

Details

Provenance
rob.norris_klarasystems.comAuthored on Apr 10 2024, 1:19 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Apr 11 2024, 9:42 PM
Parents
rG44f337be30e1: Illumos#16463 zfs_ioc_recv leaks nvlist
Branches
Unknown
Tags
Unknown