Skip to content

Commit

Permalink
Merge pull request #3 from KlaraSystems/klara-spp-10.1.16
Browse files Browse the repository at this point in the history
Allow to cancel export
  • Loading branch information
davidkinghorn authored Nov 30, 2023
2 parents e7d4353 + 1d77dcd commit 9e4aac1
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 @@ -6599,7 +6599,7 @@ spa_export_common(const char *pool, int new_state, nvlist_t **oldconfig,
*/
if (!force_removal && spa->spa_sync_on) {
error = txg_wait_synced_tx(spa->spa_dsl_pool, 0,
NULL, TXG_WAIT_F_NOSUSPEND);
NULL, TXG_WAIT_F_NOSUSPEND | TXG_WAIT_F_SIGNAL);
if (error != 0)
goto fail;
spa_evicting_os_wait(spa);
Expand Down

0 comments on commit 9e4aac1

Please sign in to comment.