qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/2] libnvdimm: dynamic label support


From: Dan Williams
Subject: [Qemu-devel] [PATCH 0/2] libnvdimm: dynamic label support
Date: Wed, 19 Oct 2016 09:09:48 -0700
User-agent: StGit/0.17.1-9-g687f

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(-)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]