]> www.infradead.org Git - users/jedix/linux-maple.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 Duval <dan.duval@oracle.com>
Wed, 7 Dec 2016 17:19:06 +0000 (12:19 -0500)
commitdbd109c5c90ae6d2a22d46a0199d5f525ea93294
treebd8e0802a2d153787100d311de4d86120a50a861
parent48bc371c7cc8f6db8e366a0370c6c723bc271b78
libnvdimm: fix namespace seed creation

Orabug: 22913653

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>
(cherry picked from commit 8ca243536d21ae2d08f61b1c5af4ac3d4bb697e4)
Signed-off-by: Dan Duval <dan.duval@oracle.com>
drivers/nvdimm/region_devs.c