Skip to content

Disk encryption status handling

Blazej Kucman linux-raid 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 4 repliesIn review
  2. v15 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- add separate patch for change location of pr_vrb(),
- add example results for usage of new feature to commit message in patch 5,
- adjust commit messages to 75 characters,
- general fixes after review.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6mdadm: Move pr_vrb define to mdadm.hmdadm.h super-intel.c+2 -20 replies
2/6Add reading Opal NVMe encryption informationMakefile drive_encryption.c drive_encryption.h+396 -23 replies
3/6Add reading SATA encryption informationdrive_encryption.c drive_encryption.h mdadm.h +1 more+351 -00 replies
4/6Add key ENCRYPTION_NO_VERIFY to confconfig.c drive_encryption.c mdadm.conf.5.in +1 more+50 -50 replies
5/6imsm: print disk encryption informationdrive_encryption.c drive_encryption.h mdadm.conf.5.in +1 more+79 -40 replies
6/6imsm: drive encryption policy implementationsuper-intel.c+73 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/6] Disk encryption status handling

The purpose of this series is to add functionality of reading information about the encryption status of OPAL NVMe/SATA and SATA drives and use this information for purposes of IMSM metadata, which introduces restrictions on the possibility of mixing disks with encryption enabled and disabled because of security reasons.

Changes in V2:
- add separate patch for change location of pr_vrb(),
- add example results for usage of new feature to commit message in patch 5,
- adjust commit messages to 75 characters,
- general fixes after review.

Blazej Kucman (6):
mdadm: Move pr_vrb define to mdadm.h
Add reading Opal NVMe encryption information
Add reading SATA encryption information
Add key ENCRYPTION_NO_VERIFY to conf
imsm: print disk encryption information
imsm: drive encryption policy implementation

 Makefile           |   4 +-
 config.c           |  25 +-
 drive_encryption.c | 724 +++++++++++++++++++++++++++++++++++++++++++++
 drive_encryption.h |  37 +++
 mdadm.conf.5.in    |  16 +
 mdadm.h            |   4 +
 super-intel.c      | 117 +++++++-
 sysfs.c            |  29 ++
 8 files changed, 947 insertions(+), 9 deletions(-)
 create mode 100644 drive_encryption.c
 create mode 100644 drive_encryption.h
Signature · 1 line
2.35.3