Skip to content

Commit 44f4c05

Browse files
Matthew WilcoxAl Viro
authored andcommitted
dax: Add block size note to documentation
For block devices which are small enough, mkfs will default to creating a filesystem with block sizes smaller than page size. Signed-off-by: Matthew Wilcox <[email protected]> Signed-off-by: Al Viro <[email protected]>
1 parent 5ba97d2 commit 44f4c05

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Documentation/filesystems/dax.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ Usage
1818
-----
1919

2020
If you have a block device which supports DAX, you can make a filesystem
21-
on it as usual. When mounting it, use the -o dax option manually
22-
or add 'dax' to the options in /etc/fstab.
21+
on it as usual. The DAX code currently only supports files with a block
22+
size equal to your kernel's PAGE_SIZE, so you may need to specify a block
23+
size when creating the filesystem. When mounting it, use the "-o dax"
24+
option on the command line or add 'dax' to the options in /etc/fstab.
2325

2426

2527
Implementation Tips for Block Driver Writers

0 commit comments

Comments
 (0)