]> www.infradead.org Git - users/jedix/linux-maple.git/commit
libnvdimm, dax: reserve space to store labels for device-dax
authorDan Williams <dan.j.williams@intel.com>
Thu, 31 Mar 2016 16:37:11 +0000 (09:37 -0700)
committerDan Duval <dan.duval@oracle.com>
Fri, 9 Dec 2016 22:20:08 +0000 (17:20 -0500)
commitbea85188205c625adf84f03c750f1360322d8202
treece1d5d7baf47e95b9973292662492dd3b1372060
parent2d8e7e78d20a0176e855c73b4731ecfb580ecb2c
libnvdimm, dax: reserve space to store labels for device-dax

Orabug: 22913653

We may want to subdivide a device-dax range into multiple devices so
that each can have separate permissions or naming.  Reserve 128K of
label space by default so we have the capability of making allocation
decisions persistent.  This reservation is not something we can add
later since it would result in the default size of a device-dax range
changing between kernel versions.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Dan Duval <dan.duval@oracle.com>
(cherry picked from commit 52ac23b25eb26511f8dea2382534eeada2fa8244)

Conflict:

drivers/nvdimm/pfn_devs.c
drivers/nvdimm/pfn_devs.c