Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make zvol update volsize operation synchronous. There is a race condition when new transaction group is added to dp->dp_dirty_datasets list by the zap_update in the zvol_update_volsize. Meanwhile, before these dirty data are synchronized, the receive process can cause that dmu_recv_end_sync is executed. Then finally dirty data are going to be synchronized but the synchronization ends with the NULL pointer dereference error.
- Loading branch information
This should be called after
dmu_tx_assign()
. Prior to this the tx isn't part of any txg.