summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_cluster.c
AgeCommit message (Collapse)Author
2011-07-04bread does nothing with its ucred argument. remove it. ok matthewTed Unangst
2007-05-26Dynamic buffer cache. Initial diff from mickey@, okay art@ beck@ toby@Pedro Martelletto
deraadt@ dlg@.
2006-10-16Use daddr64_t for logical blocks, okay krw@ thib@ mickey@Pedro Martelletto
2006-10-03Introduce daddr64_t and use it for physical block numbersPedro Martelletto
Okay weingart@, "I'm game with putting my name on it" dlg@
2005-11-08Use ANSI function declarations and deregister, no binary changePedro Martelletto
2004-10-26stylingPedro Martelletto
2004-04-13useless caddr_t cast removal. same md5s.Ted Unangst
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-01-30Stop using an LFS type for cluster mallocs, use an own type andArtur Grabowski
GC the LFS malloc types until LFS is resurrected. from tedu@stanford.edu
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-05-24cluster_callback is a b_iodone handler. Since it calls functionsArtur Grabowski
that assume splbio, splassert(IPL_BIO) in it.
2002-03-14First round of __P removal in sysTodd C. Miller
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
(Look ma, I might have broken the tree)
2001-06-22KNFTheo de Raadt
2001-05-28cluster_rbuild() have a race between incore and getblk. incore() returnsGrigoriy Orlov
zero indicating that buffer is not in a cache, but getblk() going to sleep: getblk->getnewbuf->tsleep. When getnewbuf() returns after a sleep, getblk() may find B_DONE buffer in hash and return it. When io operation finishes biodone() calls cluster_callback() which moves pages from one big cluster buffer into several component buffers and calls biodone() for every component buffer. Since there are a component buffer with B_DONE already set, biodone() panices: "biodone already". costa@ ok.
2001-05-20fix comments.Grigoriy Orlov
2001-03-21Fix a race which could cause us to write out data belongingArtur Grabowski
to some other buffer.
2001-02-27Move buf_undirty and tbp flags manipulation back before calling theConstantine Sapuntzakis
soft updates code
2001-02-23Change the B_DELWRI flag using buf_dirty and buf_undirty instead ofConstantine Sapuntzakis
manually twiddling it. This allows the buffer cache to more easily keep track of dirty buffers and decide when it is appropriate to speed up the syncer. Insipired by FreeBSD. Look over by art@
2001-02-23Remove the clustering fields from the vnodes and place them in theConstantine Sapuntzakis
file system inode instead
2001-02-21Latest soft updates from FreeBSD/Kirk McKusickConstantine Sapuntzakis
Snapshot-related code has been commented out.
2000-06-23remove obsolete vtrace guts; art@Michael Shalayeff
1999-01-11panic prints a newline for you, don't do it in the panic stringTodd C. Miller
1998-10-13More fixes for huge (>2GB) files.Constantine Sapuntzakis
1998-10-11Fix from Kirk McKusick to make sure that clustering works correctly acrossConstantine Sapuntzakis
the 2GB file boundary.
1998-02-20Please GCC 2.8's harsher view of good styleNiklas Hallqvist
1998-01-08Soft updates bug fix: Set the flags on the buffer describing our intentionsConstantine Sapuntzakis
before we call bioops.io_start. However, don't move buffer memory to parent until bioops.io_start has had a chance to do its thing (otherwise, io_start will be very disappointed went it tries to read the buffer :) Thanks to Todd T. Fries for finding this one!
1997-11-06Updates for VFS Lite 2 + soft update.Constantine Sapuntzakis
1997-10-06back out vfs lite2 till after 2.2Theo de Raadt
1997-10-06VFS Lite2 ChangesConstantine Sapuntzakis
1997-09-27Cleaning up my tree.. that is why nits like this extra blank lineNiklas Hallqvist
gets committed
1997-02-01Correct early termination case of read clustering which could causeNiklas Hallqvist
buffer cache poisoning when bufpages/nbuf is larger than 1. Also correct readahead amount calculation. Optimize page moving when buffers have excess pages.
1997-01-10Correct a panic condition hitting on machines with NBPG != ffs blocksize,Niklas Hallqvist
plus having a large bufpages value compared to nbuf.
1996-06-11Kernel-implementation of update(8) my meThorsten Lockert
1996-05-02sync syscalls, no sys/cpu.hTheo de Raadt
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-03-03From NetBSD: 960217 mergeNiklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt