Name

bdev_dax_supported — Check if the device supports dax for filesystem

Synopsis

int bdev_dax_supported (struct super_block * sb,
 int blocksize);
 

Arguments

struct super_block * sb

The superblock of the device

int 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.