• Dan Williams's avatar
    libnvdimm, namespace: unify blk and pmem label scanning · 8a5f50d3
    Dan Williams authored
    In preparation for allowing multiple namespace per pmem region, unify
    blk and pmem label scanning.  Given that blk regions already support
    multiple namespaces, teaching that path how to do pmem namespace
    scanning is an incremental step towards multiple pmem namespace support.
    This should be functionally equivalent to the previous state in that
    stops after finding the first valid pmem label set.
    Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
    8a5f50d3
namespace_devs.c 53.2 KB