On 7/28/21 8:30 AM, Dan Williams wrote: > On Wed, Jul 14, 2021 at 12:36 PM Joao Martins <joao.m.martins@xxxxxxxxxx> wrote: >> >> 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.