summaryrefslogtreecommitdiff
path: root/sys/kern/kern_bufq.c
AgeCommit message (Expand)Author
2015-08-28fairly simple sizes for free(); ok teduTheo de Raadt
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-01-09save the bufq pointer from the buf before we turn it loose so it won'tTed Unangst
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-06-27Do not KASSERT an unsigned value being >= 0 after decrementing it; instead,Miod Vallat
2013-11-20now that all the direct users of disksort have been removed, we can nowDavid Gwynne
2013-04-10Fix various glitches in queue macro usage.Philip Guenther
2013-03-18nscan only operates in a single direction, remove leftover dir variable.Ted Unangst
2012-10-17use wakeup here, not wakeup_one - avoids problem of not waking up writersBob Beck
2012-10-09Capilization in comment, and document leftoverroom, + knf nit, spotted by theoBob Beck
2012-10-09Add nscan as a disk queueing algorithm, and make it the default withBob Beck
2012-10-09bufq write limitingBob Beck
2010-09-03thib insists i take responsibility tooDavid Gwynne
2010-09-02Inline bufq_impl_disksort and bufq_impl_fifo's definitions intoMatthew Dempsky
2010-09-01There is no point doing wakeups in bufq_done() unless we're actually in theMark Kettenis
2010-09-01Clarify why we can walk the list of bufqs without holding a mutex with aMark Kettenis
2010-09-01make struct bufq a member of the softc for devices that use it,David Gwynne
2010-07-19Avoid interleaving of mutexes that would leave is with the wrong spl afterMark Kettenis
2010-07-08dont count requeued io as outstanding io. there is a 1:1 mappingDavid Gwynne
2010-07-07minor whitespace tweaks and clean up extra ;David Gwynne
2010-06-30Call msleep(9) with PNORELOCK rather than calling mtx_leave()Matthew Dempsky
2010-06-30Switch bufq FIFO disclipline from using TAILQs to SIMPLEQs.Matthew Dempsky
2010-06-29Introduce bufq_quiesce(), which will block I/O ifrom getting on the queues,Mark Kettenis
2010-06-27garbage collect the debugging gooThordur I. Bjornsson
2010-06-27Add missing $OpenBSD$.Mark Kettenis
2010-06-21No need to include mutex.h twice.Thordur I. Bjornsson
2010-05-30Tweak bufq code to handle corner cases. Makes upcoming cd(4)Kenneth R Westerback
2010-05-26Trying this again. Mixing anoncvs with cvs is _not_ a good idea.Thordur I. Bjornsson
2009-06-17Revert bufq's. this is inline with the major midlayer reverts thatThordur I. Bjornsson
2009-06-04add $OpenBSD$ tagThordur I. Bjornsson
2009-06-03add a flexible buffer queue (bufq) api, based on the never usedThordur I. Bjornsson