Page MenuHomeFreeBSD

D40978.diff
No OneTemporary

D40978.diff

diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -67,6 +67,7 @@
#include <sys/mutex.h>
#include <sys/kernel.h>
#include <sys/kthread.h>
+#include <sys/pctrie.h>
#include <sys/proc.h>
#include <sys/racct.h>
#include <sys/refcount.h>
@@ -5152,7 +5153,9 @@
rw_init(BO_LOCKPTR(bo), "bufobj interlock");
bo->bo_private = private;
TAILQ_INIT(&bo->bo_clean.bv_hd);
+ pctrie_init(&bo->bo_clean.bv_root);
TAILQ_INIT(&bo->bo_dirty.bv_hd);
+ pctrie_init(&bo->bo_dirty.bv_root);
}
void

File Metadata

Mime Type
text/plain
Expires
Thu, Mar 19, 2:51 AM (9 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29940730
Default Alt Text
D40978.diff (578 B)

Event Timeline