mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Make use of ZFS_DEBUG consistent within kmod sources
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Matt Macy <mmacy@FreeBSD.org> Closes #10623
This commit is contained in:
@@ -675,7 +675,7 @@ space_map_write_impl(space_map_t *sm, range_tree_t *rt, maptype_t maptype,
|
||||
|
||||
space_map_write_intro_debug(sm, maptype, tx);
|
||||
|
||||
#ifdef DEBUG
|
||||
#ifdef ZFS_DEBUG
|
||||
/*
|
||||
* We do this right after we write the intro debug entry
|
||||
* because the estimate does not take it into account.
|
||||
@@ -736,7 +736,7 @@ space_map_write_impl(space_map_t *sm, range_tree_t *rt, maptype_t maptype,
|
||||
|
||||
dmu_buf_rele(db, FTAG);
|
||||
|
||||
#ifdef DEBUG
|
||||
#ifdef ZFS_DEBUG
|
||||
/*
|
||||
* We expect our estimation to be based on the worst case
|
||||
* scenario [see comment in space_map_estimate_optimal_size()].
|
||||
|
||||
Reference in New Issue
Block a user