+11
−1
Loading
The DKIOCGETBLOCKSIZE ioctl does not present in FreeBSD, looks it came from OSX. Add FreeBSD specified DIOCGSECTORSIZE ioctl to avoid zero block length returning in case of block devices. Change-Id: I162070ffd911e542630fad3d2c0de67e8160c629 Signed-off-by:Fedor Uporov <fuporov.vstack@gmail.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/18497 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Community-CI: Mellanox Build Bot