Re: [PATCH 1/2] libnvdimm, pfn: use size is enough

2019-02-12 Thread Wei Yang
On Tue, Jan 22, 2019 at 05:28:39PM -0800, Dan Williams wrote: >On Mon, Jan 21, 2019 at 6:49 PM Wei Yang wrote: >> >> When trying to see whether current nd_region intersects with others, we >> have already calculated the *size* to be expanded to SECTION size. >> >> So just pass size is enough. >> >

Re: [PATCH 1/2] libnvdimm, pfn: use size is enough

2019-01-22 Thread Wei Yang
On Tue, Jan 22, 2019 at 05:28:39PM -0800, Dan Williams wrote: >On Mon, Jan 21, 2019 at 6:49 PM Wei Yang wrote: >> >> When trying to see whether current nd_region intersects with others, we >> have already calculated the *size* to be expanded to SECTION size. >> >> So just pass size is enough. >> >

Re: [PATCH 1/2] libnvdimm, pfn: use size is enough

2019-01-22 Thread Dan Williams
On Mon, Jan 21, 2019 at 6:49 PM Wei Yang wrote: > > When trying to see whether current nd_region intersects with others, we > have already calculated the *size* to be expanded to SECTION size. > > So just pass size is enough. > > Signed-off-by: Wei Yang > --- > drivers/nvdimm/pfn_devs.c | 2 +- >

[PATCH 1/2] libnvdimm, pfn: use size is enough

2019-01-21 Thread Wei Yang
When trying to see whether current nd_region intersects with others, we have already calculated the *size* to be expanded to SECTION size. So just pass size is enough. Signed-off-by: Wei Yang --- drivers/nvdimm/pfn_devs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drive