libnvdimm, namespace: sort namespaces by dpa at init
authorDan Williams <dan.j.williams@intel.com>
Wed, 5 Oct 2016 21:04:15 +0000 (14:04 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 7 Oct 2016 16:20:53 +0000 (09:20 -0700)
commit6ff3e912d32ece4e9cf8708da796e9e2e7979ffe
tree690a3f33c527aa16150ab208b535c42d97ea5cb3
parent0e3b0d123c8fd5c42f364aea3ab663b1f18dad39
libnvdimm, namespace: sort namespaces by dpa at init

Add more determinism to initial namespace device-name assignments by
sorting the namespaces by starting dpa.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/namespace_devs.c
include/linux/nd.h