Skip to content

Commit

Permalink
Fix ddt continuous eviction not calculating right
Browse files Browse the repository at this point in the history
Signed-off-by: Bryant G. Ly <bly@catalogicsoftware.com>
  • Loading branch information
Bryant G. Ly authored and Bryant G. Ly committed Apr 19, 2023
1 parent 4e55d79 commit d56bcfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/zfs/ddt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1289,7 +1289,7 @@ ddt_sync_table(ddt_t *ddt, dmu_tx_t *tx, uint64_t txg)
ASSERT0(rmdde.dde_phys[u].ddp_refcnt);
}
}
ddt_stat_update(ddt, &rmdde, -1);
ddt_stat_update(ddt, &rmdde, -1ULL);
VERIFY0(ddt_object_remove(ddt,
DDT_TYPE_CURRENT, DDT_CLASS_UNIQUE,
&rmdde, tx));
Expand Down

0 comments on commit d56bcfe

Please sign in to comment.