diff options
author | Alasdair Kergon <agk@redhat.com> | 2011-11-28 20:37:51 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2011-11-28 20:37:51 +0000 |
commit | 8dd6036da485780e59028a019c0d4df5a68f1880 (patch) | |
tree | 7a665fea52acd1cfa3cb32e664d8b05545dee43e /doc | |
parent | b4a39a569a989dd2bf35adc65cedc75d50f955d0 (diff) | |
download | lvm2-8dd6036da485780e59028a019c0d4df5a68f1880.tar.gz lvm2-8dd6036da485780e59028a019c0d4df5a68f1880.tar.xz lvm2-8dd6036da485780e59028a019c0d4df5a68f1880.zip |
Add activation/use_linear_target enabled by default. (prajnoha)
LVM metadata knows only of striped segments - not linear ones.
The activation code detects segments with a single stripe and switches
them to use the linear target.
If the new lvm.conf setting is set to 0 (e.g. in a test script), this
'optimisation' is turned off.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/example.conf.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/example.conf.in b/doc/example.conf.in index 2dd18089..72005e98 100644 --- a/doc/example.conf.in +++ b/doc/example.conf.in @@ -490,6 +490,11 @@ activation { # or snapshotted volumes is likely to result in data corruption. missing_stripe_filler = "error" + # The linear target is an optimised version of the striped target + # that only handles a single stripe. Set this to 0 to disable this + # optimisation and always use the striped target. + use_linear_target = 1 + # How much stack (in KB) to reserve for use while devices suspended # Prior to version 2.02.89 this used to be set to 256KB reserved_stack = 64 |