Skip to content

Commit

Permalink
do not allow sync_task_nowait(vdev_raidz_attach_sync) to fail with EN…
Browse files Browse the repository at this point in the history
…OSPC
  • Loading branch information
ahrens committed Aug 31, 2020
1 parent fe2ca28 commit 3539ac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/zfs/spa.c
Original file line number Diff line number Diff line change
Expand Up @@ -6775,7 +6775,7 @@ spa_vdev_attach(spa_t *spa, uint64_t guid, nvlist_t *nvroot, int replacing,
if (raidz) {
dmu_tx_t *tx = dmu_tx_create_assigned(spa->spa_dsl_pool, txg);
dsl_sync_task_nowait(spa->spa_dsl_pool, vdev_raidz_attach_sync,
newvd, 0, ZFS_SPACE_CHECK_EXTRA_RESERVED, tx);
newvd, 0, ZFS_SPACE_CHECK_NONE, tx);
dmu_tx_commit(tx);
} else {
vdev_dtl_dirty(newvd, DTL_MISSING, TXG_INITIAL,
Expand Down

0 comments on commit 3539ac6

Please sign in to comment.