diff options
author | Serapheim Dimitropoulos <serapheim@delphix.com> | 2022-12-09 18:48:33 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-09 18:48:33 +0000 |
commit | 7bf4c97a3696663959d1891c5890b2667761dd58 (patch) | |
tree | 8ef2996a93a134a1bed2b2f57467ec7dc2e5c9b2 /module/zfs/vdev_removal.c | |
parent | 5f73bbba436748654bf4fd6596c9cdba1a9914f3 (diff) | |
download | src-7bf4c97a3696663959d1891c5890b2667761dd58.tar.gz src-7bf4c97a3696663959d1891c5890b2667761dd58.zip |
Diffstat (limited to 'module/zfs/vdev_removal.c')
-rw-r--r-- | module/zfs/vdev_removal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/zfs/vdev_removal.c b/module/zfs/vdev_removal.c index 53592dbfdfa0..aaa88eb89e10 100644 --- a/module/zfs/vdev_removal.c +++ b/module/zfs/vdev_removal.c @@ -1168,11 +1168,11 @@ spa_vdev_copy_segment(vdev_t *vd, range_tree_t *segs, metaslab_class_t *mc = mg->mg_class; if (mc->mc_groups == 0) mc = spa_normal_class(spa); - int error = metaslab_alloc_dva(spa, mc, size, &dst, 0, NULL, txg, 0, - zal, 0); + int error = metaslab_alloc_dva(spa, mc, size, &dst, 0, NULL, txg, + METASLAB_DONT_THROTTLE, zal, 0); if (error == ENOSPC && mc != spa_normal_class(spa)) { error = metaslab_alloc_dva(spa, spa_normal_class(spa), size, - &dst, 0, NULL, txg, 0, zal, 0); + &dst, 0, NULL, txg, METASLAB_DONT_THROTTLE, zal, 0); } if (error != 0) return (error); |