diff options
author | Dan Williams <dan.j.williams@intel.com> | 2021-08-24 19:05:57 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2021-08-24 22:08:28 +0300 |
commit | de8fa48b9a281e69f944c58ae2adbd8a277787a6 (patch) | |
tree | d17c40b33b178fa9bdc626abd595d6eae44b9446 /drivers/nvdimm/namespace_devs.c | |
parent | f56541a7122c68ef3074e41c2cb14182eb11d3a5 (diff) | |
download | linux-de8fa48b9a281e69f944c58ae2adbd8a277787a6.tar.xz |
libnvdimm/labels: Add blk special cases for nlabel and position helpers
In preparation for LIBNVDIMM to manage labels on CXL devices deploy
helpers that abstract the label type from the implementation. The CXL
label format is mostly similar to the EFI label format with concepts /
fields added, like dynamic region creation and label type guids, and
other concepts removed like BLK-mode and interleave-set-cookie ids.
Finish off the BLK-mode specific helper conversion with the nlabel and
position behaviour that is specific to EFI v1.2 labels and not the
original v1.1 definition.
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/162982115698.1124374.10182273478536799613.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/namespace_devs.c')
0 files changed, 0 insertions, 0 deletions