diff options
author | jeff <jeff@FreeBSD.org> | 2013-04-06 22:21:23 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2013-04-06 22:21:23 +0000 |
commit | fa887dba7b511d88568bd53f128474c5635f9264 (patch) | |
tree | f92f1ee66b920b82d9dc8a70d926782646206139 /sys/kern/kern_ctf.c | |
parent | 440815b543293719279de0cbf109c7ab03f7caa0 (diff) | |
download | FreeBSD-src-fa887dba7b511d88568bd53f128474c5635f9264.zip FreeBSD-src-fa887dba7b511d88568bd53f128474c5635f9264.tar.gz |
Prepare to replace the buf splay with a trie:
- Don't insert BKGRDMARKER bufs into the splay or dirty/clean buf lists.
No consumers need to find them there and it complicates the tree.
These flags are all FFS specific and could be moved out of the buf
cache.
- Use pbgetvp() and pbrelvp() to associate the background and journal
bufs with the vp. Not only is this much cheaper it makes more sense
for these transient bufs.
- Fix the assertions in pbget* and pbrel*. It's not safe to check list
pointers which were never initialized. Use the BX flags instead. We
also check B_PAGING in reassignbuf() so this should cover all cases.
Discussed with: kib, mckusick, attilio
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'sys/kern/kern_ctf.c')
0 files changed, 0 insertions, 0 deletions