Checked Kernel config "auto onlines hot plugged memory" enabled and online and it was online then i have made it offline then again reconfigured the dax device it reconfigured successfully.
there may be udev rules that interfere with memory onlining. They may race to online memory into ZONE_NORMAL rather than movable.
Is this working as expected? or leading to bug when we reconfigure device dax memory?
Observation:
=============
When reconfiguring dax devices then we are seeing below auto onlines hot plugged memory error
root@ubuntu: /home/ubuntu# daxctl reconfigure-device -m system-ram dax0.0 -u
dax0.0: error: kernel policy will auto-online memory, aborting.
error reconfiguring devices: Device or resource busy
reconfigured 0 devices.
Checked Kernel config "auto onlines hot plugged memory" enabled and online and it was online then i have made it offline then again reconfigured the dax device it reconfigured successfully.
there may be udev rules that interfere with memory onlining. They may race to online memory into ZONE_NORMAL rather than movable.
Is this working as expected? or leading to bug when we reconfigure device dax memory?