Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clear PG_writeback for sync I/O error case
Commit 2b28613 accidentally introduced this issue by only conditionally registering the commit callback in the async case. The error handing code for the dmu_tx_assign() failure case relied on there always being a registered commit callback to clear the PG_writeback bit. Since that is no longer strictly true for the synchronous case we must explicitly invoke the callback. Signed-off-by: Brian Behlendorf <[email protected]> Closes #961
- Loading branch information