mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Various changes to the allocation algorithms: Expect some fallout.
There is a lot to test. Two new config settings added that are intended to make the code behave closely to the way it did before - worth a try if you find problems.
This commit is contained in:
parent
4b8f066c19
commit
92ffcda183
@ -1,5 +1,9 @@
|
|||||||
Version 2.02.85 -
|
Version 2.02.85 -
|
||||||
===================================
|
===================================
|
||||||
|
Extend normal policy to allow mirror logs on same devs as images if necessary.
|
||||||
|
Improve cling policy to recognise devs already allocated in the transaction.
|
||||||
|
Improve normal allocation algorithm to include clinging to existing areas.
|
||||||
|
Add allocation/maximise_cling & mirror_logs_require_separate_pvs to lvm.conf.
|
||||||
Fix metadata balance code to work with recent changes in metadata handling.
|
Fix metadata balance code to work with recent changes in metadata handling.
|
||||||
Add old_uuid field to physical_volume and fix pvchange -u for recent changes.
|
Add old_uuid field to physical_volume and fix pvchange -u for recent changes.
|
||||||
Allow pvresize on a PV with two metadata areas (for PVs not in a VG).
|
Allow pvresize on a PV with two metadata areas (for PVs not in a VG).
|
||||||
|
@ -171,6 +171,19 @@ devices {
|
|||||||
#
|
#
|
||||||
# cling_tag_list = [ "@site1", "@site2" ]
|
# cling_tag_list = [ "@site1", "@site2" ]
|
||||||
# cling_tag_list = [ "@*" ]
|
# cling_tag_list = [ "@*" ]
|
||||||
|
#
|
||||||
|
# Changes made in version 2.02.85 extended the reach of the 'cling'
|
||||||
|
# policies to detect more situations where data can be grouped
|
||||||
|
# onto the same disks. Set this to 0 to revert to the previous
|
||||||
|
# algorithm.
|
||||||
|
#
|
||||||
|
# maximise_cling = 1
|
||||||
|
#
|
||||||
|
# Set to 1 to guarantee that mirror logs will always be placed on
|
||||||
|
# different PVs from the mirror images. This was the default
|
||||||
|
# until version 2.02.85.
|
||||||
|
#
|
||||||
|
# mirror_logs_require_separate_pvs = 0
|
||||||
#}
|
#}
|
||||||
|
|
||||||
# This section that allows you to configure the nature of the
|
# This section that allows you to configure the nature of the
|
||||||
|
@ -79,6 +79,8 @@
|
|||||||
#define DEFAULT_MAX_PV 0
|
#define DEFAULT_MAX_PV 0
|
||||||
#define DEFAULT_MAX_LV 0
|
#define DEFAULT_MAX_LV 0
|
||||||
#define DEFAULT_ALLOC_POLICY ALLOC_NORMAL
|
#define DEFAULT_ALLOC_POLICY ALLOC_NORMAL
|
||||||
|
#define DEFAULT_MIRROR_LOGS_REQUIRE_SEPARATE_PVS 0
|
||||||
|
#define DEFAULT_MAXIMISE_CLING 1
|
||||||
#define DEFAULT_CLUSTERED 0
|
#define DEFAULT_CLUSTERED 0
|
||||||
|
|
||||||
#define DEFAULT_MSG_PREFIX " "
|
#define DEFAULT_MSG_PREFIX " "
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user