diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2011-08-11 17:46:13 +0000 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2011-08-11 17:46:13 +0000 |
commit | cf98c05082c71aa134b697894f0a92aa10d7be24 (patch) | |
tree | ddf0e570c07255e84feda6332947d189cb0c6322 /doc | |
parent | 031c986ea89d2221ebc5dd940112787742c54326 (diff) | |
download | lvm2-cf98c05082c71aa134b697894f0a92aa10d7be24.tar.gz lvm2-cf98c05082c71aa134b697894f0a92aa10d7be24.tar.xz lvm2-cf98c05082c71aa134b697894f0a92aa10d7be24.zip |
Add detect_internal_vg_cache_corruption to lvm.conf
Add config option to enable crc checking of VG structures.
Currently it's disabled by default.
For the internal test-suite this check it is enabled.
Note: In the case the internal error is detected, debug build with
compile option DEBUG_ENFORCE_POOL_LOCKING helps to catch the source
of the problem.
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 7fe8d596..5788060c 100644 --- a/doc/example.conf.in +++ b/doc/example.conf.in @@ -402,6 +402,11 @@ global { # encountered the internal error. Please only enable for debugging. abort_on_internal_errors = 0 + # Check whether CRC is matching when parsed VG is used multiple times. + # This is useful to catch unexpected internal cached volume group + # structure modification. Please only enable for debugging. + detect_internal_vg_cache_corruption = 0 + # If set to 1, no operations that change on-disk metadata will be permitted. # Additionally, read-only commands that encounter metadata in need of repair # will still be allowed to proceed exactly as if the repair had been |