~ubuntu-branches/ubuntu/vivid/lvm2/vivid

« back to all changes in this revision

Viewing changes to doc/example.conf.in

  • Committer: Package Import Robot
  • Author(s): Martin Pitt, https://blueprints.launchpad.net/ubuntu/+spec/core-1311-ssd-trimming
  • Date: 2013-12-13 10:51:54 UTC
  • mfrom: (3.3.1 wheezy)
  • Revision ID: package-import@ubuntu.com-20131213105154-sq6gjjelygjbt15h
Tags: 2.02.98-6ubuntu2
Add enable-issue-discards.patch: Enable "issue_discards" option by default
to trim SSDs when changing PVs. This option has no effect if the kernel or
the drive does not support trimming, so it's safe to enable by default.
[https://blueprints.launchpad.net/ubuntu/+spec/core-1311-ssd-trimming]
(Closes: #717313)

Show diffs side-by-side

added added

removed removed

Lines of Context:
196
196
    # to 1, discards will only be issued if both the storage and kernel provide
197
197
    # support.
198
198
    # 1 enables; 0 disables.
199
 
    issue_discards = 0
 
199
    issue_discards = 1
200
200
}
201
201
 
202
202
# This section allows you to configure the way in which LVM selects