aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/spa_log_spacemap.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/zfs/spa_log_spacemap.c')
-rw-r--r--module/zfs/spa_log_spacemap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/zfs/spa_log_spacemap.c b/module/zfs/spa_log_spacemap.c
index ad82e025e..550aa1e3a 100644
--- a/module/zfs/spa_log_spacemap.c
+++ b/module/zfs/spa_log_spacemap.c
@@ -1189,6 +1189,7 @@ out:
if (metaslab_debug_load && m->ms_sm != NULL) {
VERIFY0(metaslab_load(m));
+ metaslab_set_selected_txg(m, 0);
}
mutex_exit(&m->ms_lock);
}