瀏覽代碼

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 <willy@linux.intel.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Matthew Wilcox 10 年之前
父節點
當前提交
44f4c054ca
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      Documentation/filesystems/dax.txt

+ 4 - 2
Documentation/filesystems/dax.txt

@@ -18,8 +18,10 @@ Usage
 -----
 -----
 
 
 If you have a block device which supports DAX, you can make a filesystem
 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
 Implementation Tips for Block Driver Writers