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)
commit8ca243536d21ae2d08f61b1c5af4ac3d4bb697e4
tree05d157736682a5121f26588a6f4254be1b4da2da
parent52721d9d3334c1cb1f76219a161084094ec634dc
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