]>
git.proxmox.com Git - ceph.git/blob - ceph/src/pmdk/src/libpmem2/pmem2_utils_none.c
1 // SPDX-License-Identifier: BSD-3-Clause
2 /* Copyright 2020, Intel Corporation */
8 #include "pmem2_utils.h"
12 * pmem2_device_dax_alignment -- checks the alignment of a given
13 * dax device from given source
16 pmem2_device_dax_alignment(const struct pmem2_source
*src
, size_t *alignment
)
18 ERR("Cannot read Device Dax alignment - ndctl is not available");
20 return PMEM2_E_NOSUPP
;
24 * pmem2_device_dax_size -- checks the size of a given dax device from
28 pmem2_device_dax_size(const struct pmem2_source
*src
, size_t *size
)
30 ERR("Cannot read Device Dax size - ndctl is not available");
32 return PMEM2_E_NOSUPP
;