]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - Documentation/filesystems/btrfs.txt
btrfs: Add nodiscard mount option.
[mirror_ubuntu-bionic-kernel.git] / Documentation / filesystems / btrfs.txt
index e87609a4e21c4675aa6e2a14e8e3ffa3b00dcc64..7254cf5013917cdeb447273916b346d7cfa6e985 100644 (file)
@@ -98,9 +98,12 @@ Options with (*) are default options and will not show in the mount options.
        can be avoided.  Especially useful when trying to mount a multi-device
        setup as root.  May be specified multiple times for multiple devices.
 
+  nodiscard(*)
   discard
-       Issue frequent commands to let the block device reclaim space freed by
-       the filesystem.  This is useful for SSD devices, thinly provisioned
+       Disable/enable discard mount option.
+       Discard issues frequent commands to let the block device reclaim space
+       freed by the filesystem.
+       This is useful for SSD devices, thinly provisioned
        LUNs and virtual machine images, but may have a significant
        performance impact.  (The fstrim command is also available to
        initiate batch trims from userspace).