summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_bio.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-10-31 14:20:39 +0000
committerpeter <peter@FreeBSD.org>1998-10-31 14:20:39 +0000
commitca67637f92b5c4417d2dc83c651c95cde7eb8f81 (patch)
treeb56c717e7b003029049ac5388857272ebecae99d /sys/kern/vfs_bio.c
parentd6088b92e75dc1639fe9bc531fe4724c95644afa (diff)
downloadFreeBSD-src-ca67637f92b5c4417d2dc83c651c95cde7eb8f81.zip
FreeBSD-src-ca67637f92b5c4417d2dc83c651c95cde7eb8f81.tar.gz
Convert lists for bufs attached to vnodes from a LIST to a TAILQ.
- Use TAILQ_* macros extensively instead of internal names - use b_xflags instead of the NOLIST magic number hack in the next pointer - clean bufs are inserted at the tail rather than the head. - redo dirty buffer insert so that metadata (negative lbn) goes to the tail directly rather than at the HEAD. This makes a difference when inserting dirty data blocks in lbn sorted order since data block insertion will not have to bypass all the metadata cruft. data is lbn sorted since it makes sense for clustering and writeback ordering, while metadata sorting doesn't help much since the lbn's are meaningless when walking the list for writebacks. Small systems will not notice much (if any) benefit from this, but really busy systems with large dirty block lists should get a lot more. I've tested this with softdep, and it doesn't seem to mind the change of queueing of metadata. Reviewed (in princible) by: dg Obtained from: partly from John Dyson's work-in-progress patches in June.
Diffstat (limited to 'sys/kern/vfs_bio.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud