---
name: "bdev_dax_supported"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/bdev_dax_supported"
---

# bdev\_dax\_supported(9)

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***, int** *blocksize***);**

## 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
