]> git.baikalelectronics.ru Git - kernel.git/commit
libnvdimm: fix namespace seed creation
authorDan Williams <dan.j.williams@intel.com>
Sat, 25 Jul 2015 03:42:34 +0000 (23:42 -0400)
committerDan Williams <dan.j.williams@intel.com>
Sat, 25 Jul 2015 16:57:56 +0000 (09:57 -0700)
commit54e13bd41f0175b401d35d09fd44ddad8a3dced5
tree05d157736682a5121f26588a6f4254be1b4da2da
parent46958271124c28fd3f4ec6dde3071e436c717f22
libnvdimm: fix namespace seed creation

A new BLK namespace "seed" device is created whenever the current seed
is successfully probed.  However, if that namespace is assigned to a BTT
it may never directly experience a successful probe as it is a
subordinate device to a BTT configuration.

The effect of the current code is that no new namespaces can be
instantiated, after the seed namespace, to consume available BLK DPA
capacity.  Fix this by treating a successful BTT probe event as a
successful probe event for the backing namespace.

Reported-by: Nicholas Moulin <nicholas.w.moulin@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/region_devs.c