Skip to content

Conversation

@LukeBeirne
Copy link

Adds a function that returns the
correct block device handle from
the vdev_disk_t struct defined
in vdev_disk.c.

The purpose of this addition is
to use this function to get the
block device handle to pass to
zia_disk_open from zia_open_vdevs,
which currently just casts a
vdev_disk_t object to a block device *,
leading to failure if the operation
does not fallback.

Adds a function that returns the correct block device handle from the vdev_disk_t struct defined in vdev_disk.c. The purpose of this addition is to use this function to get the block device handle to pass to zia_disk_open from zia_open_vdevs, which currently just casts a vdev_disk_t object to a block device *, leading to failure if the operation does not fallback. Signed-off-by: Luke Beirne <lbeirne@lanl.gov>
@calccrypto calccrypto merged commit be42ee0 into hpc:zia Jul 8, 2025
4 checks passed
@LukeBeirne LukeBeirne deleted the get_bdev branch July 8, 2025 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants