Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OS-8115 Add support for zfs.sync.change-key channel program #3

Merged
merged 2 commits into from Feb 24, 2020

Conversation

jasonbking
Copy link
Contributor

With the corresponding illumos-joyent ticket, the LUA interface was changed slightly in anticipation of upstreaming -- specifically a third argument was added to support either 'raw' or 'hex' keys. While you cannot pass a raw binary string to a LUA channel program, the 'raw' support is preserved in case the channel program itself wishes to generate a binary key through some means.

Since kbmd passes key values as hex, we can simplify things a bit and just pass the hex value directly to zfs.sync.change_key.

@jasonbking jasonbking merged commit ff00fa6 into master Feb 24, 2020
@jasonbking jasonbking deleted the OS-8115 branch February 24, 2020 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants