Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify/fix dnode_move() for dn_zfetch.
Previous code tried to keep prefetch streams while moving dnode. But it was at least not updating per-stream zs_fetchback pointers, causing use-after-free on next access. Instead of that I see much easier and cleaner to just drop old prefetch state and start new from scratch. Signed-off-by: Alexander Motin <[email protected]> Sponsored-By: iXsystems, Inc. Closes openzfs#11936
- Loading branch information