Re: [PATCH 2/2] drivers/dax/kmem: give a warning if CONFIG_DEV_DAX_PMEM_COMPAT is enabled

From: Verma, Vishal L
Date: Thu Aug 22 2019 - 15:10:40 EST


On Thu, 2019-08-22 at 14:55 -0400, Jeff Moyer wrote:
>
> When using daxctl to online memory, you already get the following
> message:
>
> libdaxctl: daxctl_dev_disable: dax0.0: error: device model is dax-class
>
> That's still not very helpful. It would be better if the message
> suggested a fix (like using migrate-device-model). Vishal?

Yes, it is on my list to improve this. Currently the man page shows the
above error message, and talks about migrate-device-model, but I
received more feedback to add another bread crumb in the printed message
pointing to migrate-device-model. I'll send a patch for it soon.

Thanks,
-Vishal