8727 Native data and metadata encryption for zfs
Review Request #1996 — Created June 12, 2019 and submitted
Information | |
---|---|
jjelinek | |
illumos-gate | |
Reviewers | |
general | |
Work by Jörgen Lundman, any many others over the past couple of years to port the ZoL encryption support to illumos. The full set of ZoL commits included in the changeset are in the bug report.
I modified the following test and commented out parts of it which will not work on illumos
usr/src/test/zfs-tests/tests/functional/rsend/send_encrypted_files.kshThe zpool_import_errata3 and zpool_import_errata4 tests do not currently work on illumos and I left those out of the runfiles.
Lots of misc. testing over the past couple of years. A zfs-test run completes successfully, including the new and updated tests.
-
-
-
-
-
-
-
-
-
-
-
-
usr/src/lib/libzfs/common/libzfs_sendrecv.c (Diff revision 1) "\n " seems odd. Saw "\n\t" at other places in this patch.
-
-
-
-
-
-
-
-
-
-
-
-
The change to usr/src/cmd/mdb/intel/amd64/zfs/Makefile that adds \-I../../../../../common/zfs to CPPFLAGS, needs propagating to sparc, here: usr/src/cmd/mdb/sparc/v9/zfs/Makefile With this, I get a clean build on sparc.
-
The manifest usr/src/pkg/manifests/system-test-zfstest.mf adds file path=opt/zfs-tests/tests/functional/rsend/send_mixed_raw mode=0555 but this file does not appear to be supplied, causing packaging to fail: ==== Validating manifests against proto area ==== Entries present in manifests but not proto area: file NOHASH group=bin mode=0555 owner=root path=opt/zfs-tests/tests/func tional/rsend/send_mixed_raw (This is on sparc, but I'm not sure how that would make any difference.)
Change Summary:
fixed first round of CR feedback
-
-
-
usr/src/uts/common/fs/zfs/zio_crypt.c (Diff revision 1) IIRC, these are very specific to the Linux kernel's module mechanism. Any reason we can't delete them?
Change Summary:
more code review updates
Diff: |
Revision 3 (+19910 -1519)
|
---|
Change Summary:
Latest code review updates, and a fix for a failing test case only under a DEBUG build.
Diff: |
Revision 4 (+19918 -1520)
|
---|
-
-
usr/src/lib/libzpool/common/kernel.c (Diff revision 4) we return int, therefore we should have 0 here. Sorry for missing it.
Change Summary:
Latest rebase, and fix for Tommas' return nit.
Diff: |
Revision 5 (+19965 -1526)
|
---|