redhat-plumbers/systemd-rhel8

Memory hotplug: Respect auto_online_blocks value

robert-hoo opened this issue · 2 comments

systemd version

239

Used distribution

CentOS 8.1

Expected behaviour you didn't see

Respect /sys/device/system/memory/auto_online_blocks settings

Unexpected behaviour you saw

Despite /sys/device/system/memory/auto_online_blocks = offline, /lib/udev/rules.d/40-redhat.rules always unconditionally online hotplugged memory blocks.

Steps to reproduce the problem

  1. Create VM
  2. In qemu monitor, hotplug memory
  3. You'll see though by default /sys/device/system/memory/auto_online_blocks = offline, those new memory blocks are onlined by udev.

If it still occurs, please report this issue using our tracking system. We don't support GitHub Issues.