Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save coypoop/9b35366ad50cac12121da06f9c13c336 to your computer and use it in GitHub Desktop.
Save coypoop/9b35366ad50cac12121da06f9c13c336 to your computer and use it in GitHub Desktop.
@@ -1332,7 +1334,7 @@
minfree -= avail;
while ((wl->wl_error_count == 0) &&
(wl->wl_reclaimable_bytes < minfree)) {
- WAPBL_PRINTF(WAPBL_PRINT_TRUNCATE,
+ WAPBL_PRINTF(WAPBL_PRINT_JOURNAL_TRIM,
("wapbl_truncate: sleeping on %p wl=%p bytes=%zd "
"minfree=%zd\n",
&wl->wl_reclaimable_bytes, wl, wl->wl_reclaimable_bytes,
@@ -1388,7 +1390,7 @@
KASSERT(wl->wl_reclaimable_bytes >= delta);
wl->wl_reclaimable_bytes -= delta;
mutex_exit(&wl->wl_mtx);
- WAPBL_PRINTF(WAPBL_PRINT_TRUNCATE,
+ WAPBL_PRINTF(WAPBL_PRINT_JOURNAL_TRIM,
("wapbl_truncate thread %d.%d truncating %zu bytes\n",
curproc->p_pid, curlwp->l_lid, delta));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment