[pve-devel] [PATCH proxmox-backup 0/3] file-restore: set arc limits correctly

Stoiko Ivanov s.ivanov at proxmox.com
Thu Jun 15 12:42:54 CEST 2023


The first two patches fix the setting of zfs_arc_min and zfs_arc_max via
the kernel commandline - afaics they should not have been honored until
now - verification was done in the debug-image by inspecting
`grep '^c_' /proc/spl/kstat/zfs/arcstats`

the first 2 patches can  be squashed - it explicitly split them out for
ease of reviewing

the last patch is more as an rfc, because it puzzled my why a debug-log
message was not printed when running with debug.


Stoiko Ivanov (3):
  file-restore: add zfs. prefix to arc_min/max settings
  file-restore: set zfs_arc_min to current minimum of 32M
  file-restore: set loglevel considering PBS_QEMU_DEBUG

 proxmox-file-restore/src/main.rs        | 7 ++++++-
 proxmox-file-restore/src/qemu_helper.rs | 2 +-
 2 files changed, 7 insertions(+), 2 deletions(-)

-- 
2.30.2






More information about the pve-devel mailing list