summaryrefslogtreecommitdiffstats
path: root/Manage.c
diff options
context:
space:
mode:
authorBlazej Kucman <blazej.kucman@intel.com>2024-03-22 12:51:16 +0100
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>2024-04-02 08:27:47 +0200
commitcc48406887b3bc439e3462e8e4d20f992e81b87e (patch)
treef84b32c8d92d9f395bb1e5281c0e6534fd04d1ec /Manage.c
parentmdadm: Move pr_vrb define to mdadm.h (diff)
downloadmdadm-cc48406887b3bc439e3462e8e4d20f992e81b87e.tar.xz
mdadm-cc48406887b3bc439e3462e8e4d20f992e81b87e.zip
Add reading Opal NVMe encryption information
For NVMe devices with Opal support, encryption information, status and ability are determined based on Opal Level 0 discovery response. Technical documentation used is given in the implementation. Ability in general describes what type of encryption is supported, Status describes in what state the disk with encryption support is. The current patch includes only the implementation of reading encryption information, functions will be used in one of the next patches. Motivation for adding this functionality is to block mixing of disks in IMSM arrays with encryption enabled and disabled. The main goal is to not allow stealing data by rebuilding array to not encrypted drive which can be read elsewhere. Value ENA_OTHER from enum encryption_ability will be used in the next patch. Signed-off-by: Blazej Kucman <blazej.kucman@intel.com> Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Diffstat (limited to 'Manage.c')
0 files changed, 0 insertions, 0 deletions