diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-07-05 00:00:08 -0400 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-07-22 21:02:12 -0400 |
commit | 773bc4f3b6898634a80a41c72a1f34cb89992dcd (patch) | |
tree | ee6f12c0fbfa959a79861904498d04db8d899cc2 /Documentation/filesystems/nilfs2.txt | |
parent | 325020477a51ffa849418b3e38189fd266f2ae20 (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/filesystems/nilfs2.txt')
-rw-r--r-- | Documentation/filesystems/nilfs2.txt | 5 |
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 | |||
49 | NILFS2 supports the following mount options: | 49 | NILFS2 supports the following mount options: |
50 | (*) == default | 50 | (*) == default |
51 | 51 | ||
52 | nobarrier Disables barriers. | 52 | barrier(*) This enables/disables the use of write barriers. This |
53 | nobarrier requires an IO stack which can support barriers, and | ||
54 | if nilfs gets an error on a barrier write, it will | ||
55 | disable again with a warning. | ||
53 | errors=continue Keep going on a filesystem error. | 56 | errors=continue Keep going on a filesystem error. |
54 | errors=remount-ro(*) Remount the filesystem read-only on an error. | 57 | errors=remount-ro(*) Remount the filesystem read-only on an error. |
55 | errors=panic Panic and halt the machine if an error occurs. | 58 | errors=panic Panic and halt the machine if an error occurs. |