summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2010-07-05 13:00:08 +0900
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2010-07-13 11:23:45 +0900
commit154073ebca482f5a4d34b17a337fadbc0c6fe522 (patch)
tree06e9d7e4d4a44a456687bfbb7c6c023fab1581dc /Documentation
parent97acd84f9afa6cb89eb1760216e3d03f02dbc896 (diff)
nilfs2: add barrier mount option
Nilfs enables write barriers by default and has "nobarrier" mount option to disable this feature. But it lacks the complementary option and has no way to re-enable the feature on remount. This adds "barrier" option to resolve this imbalance. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/filesystems/nilfs2.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/filesystems/nilfs2.txt b/Documentation/filesystems/nilfs2.txt
index d3e7673995eb..54f61c0ff442 100644
--- a/Documentation/filesystems/nilfs2.txt
+++ b/Documentation/filesystems/nilfs2.txt
@@ -49,7 +49,10 @@ Mount options
NILFS2 supports the following mount options:
(*) == default
-nobarrier Disables barriers.
+barrier(*) This enables/disables the use of write barriers. This
+nobarrier requires an IO stack which can support barriers, and
+ if nilfs gets an error on a barrier write, it will
+ disable again with a warning.
errors=continue Keep going on a filesystem error.
errors=remount-ro(*) Remount the filesystem read-only on an error.
errors=panic Panic and halt the machine if an error occurs.