1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00
Zdenek Kabelac 5ea426e656 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
2021-10-06 15:42:53 +02:00
..
2018-06-08 13:40:53 +01:00
2018-06-08 13:40:53 +01:00
2021-09-22 17:18:50 +02:00
2021-03-15 11:13:24 +01:00
2021-10-06 15:39:58 +02:00
2021-09-27 18:56:14 +02:00
2021-09-15 15:24:56 +02:00
2021-03-19 23:21:18 +01:00
2021-02-08 23:53:41 +01:00
2018-06-08 13:40:53 +01:00
2021-02-08 23:43:38 +01:00
2018-06-08 13:40:53 +01:00
2021-02-17 11:21:35 +01:00
2021-02-08 23:53:41 +01:00
2018-06-08 13:40:53 +01:00
2021-07-13 11:11:23 -05:00