diff options
author | Mike Snitzer <snitzer@redhat.com> | 2011-04-12 21:59:01 +0000 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2011-04-12 21:59:01 +0000 |
commit | fdc8670327c7d11b4a23d47324ecd18e6168973f (patch) | |
tree | c92f231d430126a1d992479241c6e78eb45cab72 /doc/example.conf.in | |
parent | 116362d11b9ba9975d1418cc5d50185627bbf825 (diff) | |
download | lvm2-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.in | 8 |
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 |