Created
May 7, 2016 21:03
-
-
Save coypoop/9b35366ad50cac12121da06f9c13c336 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -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