Skip to content

Commit

Permalink
dax: Add block size note to documentation
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Matthew Wilcox authored and Al Viro committed Jul 4, 2015
1 parent 5ba97d2 commit 44f4c05
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Documentation/filesystems/dax.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ Usage
-----

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


Implementation Tips for Block Driver Writers
Expand Down

0 comments on commit 44f4c05

Please sign in to comment.