aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2010-07-05 01:27:04 -0400
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2010-07-22 21:02:12 -0400
commit802d31775404ee335ca1e97a82e1e706a4c843be (patch)
tree3753263ea97748e6c2b01f29fb7f81c19381eb7b /Documentation
parent773bc4f3b6898634a80a41c72a1f34cb89992dcd (diff)
nilfs2: add nodiscard mount option
Nilfs has "discard" mount option which issues discard/TRIM commands to underlying block device, but it lacks a complementary option and has no way to disable the feature through remount. This adds "nodiscard" 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.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/Documentation/filesystems/nilfs2.txt b/Documentation/filesystems/nilfs2.txt
index 54f61c0ff442..d5c0cef38a71 100644
--- a/Documentation/filesystems/nilfs2.txt
+++ b/Documentation/filesystems/nilfs2.txt
@@ -77,9 +77,10 @@ norecovery Disable recovery of the filesystem on mount.
77 This disables every write access on the device for 77 This disables every write access on the device for
78 read-only mounts or snapshots. This option will fail 78 read-only mounts or snapshots. This option will fail
79 for r/w mounts on an unclean volume. 79 for r/w mounts on an unclean volume.
80discard Issue discard/TRIM commands to the underlying block 80discard This enables/disables the use of discard/TRIM commands.
81 device when blocks are freed. This is useful for SSD 81nodiscard(*) The discard/TRIM commands are sent to the underlying
82 devices and sparse/thinly-provisioned LUNs. 82 block device when blocks are freed. This is useful
83 for SSD devices and sparse/thinly-provisioned LUNs.
83 84
84NILFS2 usage 85NILFS2 usage
85============ 86============