bdev_dax_supported (9) - Linux Manuals
bdev_dax_supported: Check if the device supports dax for filesystem
NAME
bdev_dax_supported - Check if the device supports dax for filesystem
SYNOPSIS
-
int bdev_dax_supported(struct super_block
* sb, intblocksize);
ARGUMENTS
sb
-
- The superblock of the device
blocksize
- The block size of the device
DESCRIPTION
This is a library function for filesystems to check if the block device can be mounted with dax option.
RETURN
negative errno if unsupported, 0 if supported.
COPYRIGHT