summaryrefslogtreecommitdiff
path: root/WHATS_NEW
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2021-10-01 16:19:53 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2021-10-06 15:42:53 +0200
commit5ea426e65628218569ede461312d80ba5d1c50fb (patch)
tree678d0505ce7263cb1fd4df5e2c9cfc387d7f6099 /WHATS_NEW
parent98c57f7ce44788f22499f10f8d6c3f320869aa16 (diff)
downloadlvm2-5ea426e65628218569ede461312d80ba5d1c50fb.tar.gz
archiving: refactor code to allocate less memory
Do not store full path with each archived name reduces memory usage if the directory has thousands of entries and just add 'dir' path when needed. Also emit info print message to a user if the total size of archived files for a VG is more then 128MiB or 8192 files. TODO: Consider wheather adding a new 'lvm.conf archive{option}' to support trimming these wild archive sizes can make situation better. We already support retain_min && retain_days - but if user is generating too many and too large archives with minutes - maybe archiving should be disabled by a user - as it's not producing anything largely usable and just slows-down command ?? If we add 'retain_max & retain_max_size' the condition will go against each other and we need to chose priorities. mm
Diffstat (limited to 'WHATS_NEW')
-rw-r--r--WHATS_NEW1
1 files changed, 1 insertions, 0 deletions
diff --git a/WHATS_NEW b/WHATS_NEW
index 0cae2642e..d87cb7e37 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
Version 2.03.14 -
==================================
+ Print info message with too many or too large archived files.
Reduce metadata readings during scanning phase.
Optimize computation of crc32 check sum with multiple PVs.
Enhance recover path on cache creation failure.