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

dnode_sync is careless with range tree #10823

Merged
merged 1 commit into from
Aug 27, 2020
Merged

Commits on Aug 26, 2020

  1. dnode_sync is careless with range tree

    Because dnode_sync_free_range() must drop dn_mtx during its processing,
    using it as a callback to range_tree_vacate() is not safe.  No other
    operations (besides destroy) are allowed once range_tree_vacate() has
    begun, and dropping dn_mtx would leave a window open for another thread
    to observe that invalid (and unsafe) state via dnode_block_freed().
    
    Signed-off-by: Patrick Mooney <pmooney@oxide.computer>
    Closes openzfs#10708
    pfmooney committed Aug 26, 2020
    Configuration menu
    Copy the full SHA
    188e839 View commit details
    Browse the repository at this point in the history