other versions
- stretch 4.9.168-1
BDEV_DAX_SUPPORTED(9) | The Linux VFS | BDEV_DAX_SUPPORTED(9) |
NAME¶
bdev_dax_supported - Check if the device supports dax for filesystemSYNOPSIS¶
int bdev_dax_supported(struct super_block * sb, int blocksize);
ARGUMENTS¶
sbThe 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¶
April 2019 | Kernel Hackers Manual 4.9. |