Re: [PATCH v4 06/14] device-dax: ensure dev_dax->pgmap is valid for dynamic devices

2021-11-05 Thread Joao Martins
On 11/5/21 16:46, Dan Williams wrote: > On Fri, Nov 5, 2021 at 5:10 AM Joao Martins wrote: >> >> On 11/5/21 00:31, Dan Williams wrote: >>> On Fri, Aug 27, 2021 at 7:59 AM Joao Martins >>> wrote: Right now, only static dax regions have a valid @pgmap pointer in its struct dev_dax.

Re: [PATCH v4 06/14] device-dax: ensure dev_dax->pgmap is valid for dynamic devices

2021-11-05 Thread Dan Williams
On Fri, Nov 5, 2021 at 5:10 AM Joao Martins wrote: > > On 11/5/21 00:31, Dan Williams wrote: > > On Fri, Aug 27, 2021 at 7:59 AM Joao Martins > > wrote: > >> > >> Right now, only static dax regions have a valid @pgmap pointer in its > >> struct dev_dax. Dynamic dax case however, do not. > >> > >

Re: [PATCH v4 07/14] device-dax: compound devmap support

2021-11-05 Thread Dan Williams
On Fri, Nov 5, 2021 at 7:10 AM Joao Martins wrote: > > On 11/5/21 00:38, Dan Williams wrote: > > On Fri, Aug 27, 2021 at 7:59 AM Joao Martins > > wrote: > >> > >> Use the newly added compound devmap facility which maps the assigned dax > >> ranges as compound pages at a page size of @align. Curr

Re: [PATCH v4 06/14] device-dax: ensure dev_dax->pgmap is valid for dynamic devices

2021-11-05 Thread Joao Martins
On 11/5/21 12:09, Joao Martins wrote: > On 11/5/21 00:31, Dan Williams wrote: >> On Fri, Aug 27, 2021 at 7:59 AM Joao Martins >> 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 de

Re: [PATCH v4 07/14] device-dax: compound devmap support

2021-11-05 Thread Joao Martins
On 11/5/21 00:38, Dan Williams wrote: > On Fri, Aug 27, 2021 at 7:59 AM Joao Martins > wrote: >> >> Use the newly added compound devmap facility which maps the assigned dax >> ranges as compound pages at a page size of @align. Currently, this means, >> that region/namespace bootstrap would take c

Re: [PATCH v4 06/14] device-dax: ensure dev_dax->pgmap is valid for dynamic devices

2021-11-05 Thread Joao Martins
On 11/5/21 00:31, Dan Williams wrote: > On Fri, Aug 27, 2021 at 7:59 AM Joao Martins > 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 devmap support, make sure tha