summaryrefslogtreecommitdiffstats
path: root/doc/example.conf.in
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2011-04-12 21:59:01 +0000
committerMike Snitzer <snitzer@redhat.com>2011-04-12 21:59:01 +0000
commitfdc8670327c7d11b4a23d47324ecd18e6168973f (patch)
treec92f231d430126a1d992479241c6e78eb45cab72 /doc/example.conf.in
parent116362d11b9ba9975d1418cc5d50185627bbf825 (diff)
downloadlvm2-fdc8670327c7d11b4a23d47324ecd18e6168973f.tar.gz
lvm2-fdc8670327c7d11b4a23d47324ecd18e6168973f.tar.xz
lvm2-fdc8670327c7d11b4a23d47324ecd18e6168973f.zip
Add "devices/issue_discards" to lvm.conf.
Issue discards on lvremove if enabled and both storage and kernel have support.
Diffstat (limited to 'doc/example.conf.in')
-rw-r--r--doc/example.conf.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/example.conf.in b/doc/example.conf.in
index f154ca57..cf318553 100644
--- a/doc/example.conf.in
+++ b/doc/example.conf.in
@@ -151,6 +151,14 @@ devices {
# Example: Ignore devices smaller than 2MB (i.e. floppy drives).
# pv_min_size = 2048
pv_min_size = 512
+
+ # Issue discards to an LV's underlying PV(s) when the LV is removed.
+ # Discards inform the storage that a region is no longer in use. If set
+ # to 1, discards will only be issued if both the storage and kernel provide
+ # support. Not all storage will support or benefit from discards but SSDs
+ # or thinly provisioned LUNs generally do.
+ # 1 enables; 0 disables.
+ issue_discards = 0
}
# This section allows you to configure the way in which LVM selects