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

Possible regression when unmounting encrypted datasets. #16269

Open
asomers opened this issue Jun 14, 2024 · 2 comments
Open

Possible regression when unmounting encrypted datasets. #16269

asomers opened this issue Jun 14, 2024 · 2 comments
Labels
Component: Encryption "native encryption" feature Type: Defect Incorrect behavior (e.g. crash, hang)

Comments

@asomers
Copy link
Contributor

asomers commented Jun 14, 2024

PR #7795 changed the way that ZFS unmounts in order to fix a corruption problem with encrypted datasets. PR #9115 essentially reverted it, but the commit message didn't suggest any knowledge of the problem that #7795 fixed, and the original author of #7795 did not review #9115. So there's a risk that it restored the original bug.

So it would be good if @tcaputi could retrospectively review #9115 .

System information

All

Describe the problem you're observing

No problem is observed; I just caught this potential problem by reading through old commits.

@asomers asomers added the Type: Defect Incorrect behavior (e.g. crash, hang) label Jun 14, 2024
@rincebrain rincebrain added the Component: Encryption "native encryption" feature label Jun 14, 2024
@rincebrain
Copy link
Contributor

Since he hasn't done ZFS development in years at this point, I believe, someone else is probably a better option here.

@amotin
Copy link
Member

amotin commented Jun 14, 2024

I haven't looked too deep, but looking on original panic in #7753 I suspect there may be a race between last dnode of dataset being synced in dmu_objset_sync_dnodes() and userquota_updates_task() actually completed in another task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Encryption "native encryption" feature Type: Defect Incorrect behavior (e.g. crash, hang)
Projects
None yet
Development

No branches or pull requests

3 participants