Re: [PATCH v3 11/14] device-dax: ensure dev_dax->pgmap is valid for dynamic devices
From: Joao Martins <hidden>
Date: 2021-07-28 15:56:58
Also in:
linux-mm, nvdimm
From: Joao Martins <hidden>
Date: 2021-07-28 15:56:58
Also in:
linux-mm, nvdimm
On 7/28/21 8:30 AM, Dan Williams wrote:
On Wed, Jul 14, 2021 at 12:36 PM Joao Martins [off-list ref] wrote:quoted
Right now, only static dax regions have a valid @pgmap pointer in its struct dev_dax. Dynamic dax case however, do not. In preparation for device-dax compound pagemap support, make sure that dev_dax pgmap field is set after it has been allocated and initialized.I think this is ok to fold into the patch that needs it.
OK, I've squashed that in.