Please sign in to comment.
Fix zio leak in dbuf_read()
Currently, dbuf_read() may decide to create a zio_root which is used as a parent for any child zios created in dbuf_read_impl(). However, if there is an error in dbuf_read_impl(), this zio is never executed and ends up leaked. This patch simply ensures that we always execute the root zio, even i it has no real work to do. Signed-off-by: Tom Caputi <firstname.lastname@example.org>
- Loading branch information...