bdev_dax_supported(9)

bdev_dax_supported9

Check if the device supports dax for filesystem

Usage

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

Arguments

sb

The superblock of the device

blocksize

The block size of the device

Overview

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.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.