[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <147689338812.9946.11071407155879544366.stgit@dwillia2-desk3.amr.corp.intel.com>
Date: Wed, 19 Oct 2016 09:09:48 -0700
From: Dan Williams <dan.j.williams@...el.com>
To: linux-nvdimm@...ts.01.org
Cc: Haozhong Zhang <haozhong.zhang@...el.com>,
Xiao Guangrong <guangrong.xiao@...ux.intel.com>,
qemu-devel@...gnu.org, linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] libnvdimm: dynamic label support
Allow label support to be dynamically enabled for PMEM regions that are
not aliased with BLK. By default these PMEM regions are surfaced as a
single / label-less namespace. However, if the backing dimm(s) for the
region support labels then PMEM sub-division support can be enabled by
1/ disable the pmem region
2/ write a valid namespace index block to the label area
3/ re-enable the region and create a namespace
See the man page for the "ndctl init-labels" command.
---
Dan Williams (2):
libnvdimm: allow a platform to force enable label support
tools/testing/nvdimm: dynamic label support
drivers/nvdimm/dimm.c | 2 ++
drivers/nvdimm/dimm_devs.c | 7 +++++++
drivers/nvdimm/nd.h | 1 +
tools/testing/nvdimm/test/nfit.c | 30 +++++++++++++++++++++++-------
4 files changed, 33 insertions(+), 7 deletions(-)
Powered by blists - more mailing lists