Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make a macro instead of #ifdef DEBUG if() printf() #endif; no functional change | 2005-09-13 | 1 | -169/+89 | |
| | |||||
* | remove "0x" in front of %p in printfs. | 2005-05-22 | 1 | -2/+2 | |
| | | | | eyeballed by krw@ | ||||
* | ANSIfy, some KNF and zap a little bit of whitespace. | 2005-05-12 | 1 | -75/+28 | |
| | | | | | | No binary changes. ok mickey@ | ||||
* | Add a bzero() after malloc() when allocating component info in ccdinit(). | 2005-05-12 | 1 | -1/+2 | |
| | | | | | | | This fixes a panic in ccd(4) mirroring where the second component could be wrongly treated as failed, which leads to uvm_fault in write operation. ok mickey@ | ||||
* | init pool after we allocate softc array in case malloc fails | 2005-03-30 | 1 | -7/+7 | |
| | |||||
* | calculate the rpm for a disklabel; implement new io discipline for mirror; this also changes the mirror striping strategy a bit to achieve the scatter-gathering; of course it has been proven that new discipline still makes troubles thus not enabling it yet ); | 2005-03-25 | 1 | -29/+42 | |
| | |||||
* | initialise min arg to uvm_km_suballoc; not currently enabled code path | 2005-03-12 | 1 | -2/+4 | |
| | |||||
* | fix a buffer-done race that makes mirroring work now; | 2005-02-24 | 1 | -113/+130 | |
| | | | | | | use pool instead of malloc/free and this fixes new buffer mode; implement DIOCGPDINFO for disklabel -d; tested by henning@ millert@ fries@ | ||||
* | new arg to disk_unbusy, to record separate read/write statistics. | 2004-02-15 | 1 | -2/+3 | |
| | | | | | looked at by various, testing henning@ mcbride@ dan weeks mostly from netbsd via Pedro Martelletto <pbastos@rdc.puc-rio.br> | ||||
* | remove uvm_extern.h | 2004-01-09 | 1 | -3/+1 | |
| | | | | | | tested on alpha, i386, powerpc, sparc64, m68k. ok miod@ | ||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-02 | 1 | -6/+2 | |
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | ||||
* | sprintf -> snprintf, plus check for overflow in device name. | 2003-04-04 | 1 | -2/+6 | |
| | | | | ok deraadt@ millert@ | ||||
* | In ccdsize(), check for CCDF_INITED before doing the ccdopen(). | 2003-03-28 | 1 | -6/+9 | |
| | | | | Adapted from NetBSD. | ||||
* | Use appropriate VM_MAP constants rather than hardcoded values in | 2002-11-10 | 1 | -2/+3 | |
| | | | | uvm_map_create() and uvm_km_suballoc(). | ||||
* | Make sure that b_iodone handlers are called at splbio (and splassert(IPL_BIO) in all known callers, just to make sure). | 2002-05-24 | 1 | -4/+4 | |
| | |||||
* | protect biodone with splbio. | 2002-05-23 | 1 | -1/+5 | |
| | |||||
* | First round of __P removal in sys | 2002-03-14 | 1 | -19/+19 | |
| | |||||
* | zap some typedefs. | 2001-11-28 | 1 | -2/+2 | |
| | | | | | | | | vm_map_t -> struct vm_map * vm_map_entry_t -> struct vm_map_entry * simple_lock_data_t -> struct simplelock (uvm not done yet, coming in the next commit) | ||||
* | Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary. | 2001-11-06 | 1 | -2/+1 | |
| | | | | (Look ma, I might have broken the tree) | ||||
* | merge vm/vm_kern.h into uvm/uvm_extern.h; art@ ok | 2001-09-19 | 1 | -3/+1 | |
| | |||||
* | zap old vm | 2001-06-27 | 1 | -17/+1 | |
| | |||||
* | Get rid of CLSIZE and all related stuff. | 2001-05-05 | 1 | -9/+8 | |
| | | | | | | | | | CLSIZE -> 1 CLBYTES -> PAGE_SIZE OLOFSET -> PAGE_MASK etc. At the same time some archs needed some cleaning in vmparam.h so that goes in at the same time. | ||||
* | vm_offset_t -> vaddr_t | 1999-11-26 | 1 | -2/+2 | |
| | |||||
* | s/vm_offset_t/vaddr_t/g | 1999-09-11 | 1 | -3/+3 | |
| | |||||
* | roundup(foo, CLBYTES) -> clrnd(round_page(foo)) | 1999-09-10 | 1 | -4/+4 | |
| | |||||
* | uvm compat | 1999-02-26 | 1 | -3/+21 | |
| | |||||
* | Add a "spoofonly" argument to readdisklabel() which will be used to | 1998-10-03 | 1 | -2/+2 | |
| | | | | | implement an ioctl to get a spoofed label even for disks that have a label on them. | ||||
* | don't rely on b_resid being signed | 1998-08-04 | 1 | -3/+3 | |
| | |||||
* | Play nicely with soft updates. Based on a patch from Kirk via FreeBSD--untested | 1998-03-10 | 1 | -1/+3 | |
| | |||||
* | add FS_CCD, make ccd prefer such partitions. It still accespts FS_BSDFFS, and something will change about that soon | 1998-02-06 | 1 | -2/+3 | |
| | |||||
* | typo | 1998-01-25 | 1 | -2/+2 | |
| | |||||
* | Disable the new buffer policy for now | 1998-01-25 | 1 | -1/+4 | |
| | |||||
* | Remove redundant splbio I added yesterday | 1998-01-25 | 1 | -4/+2 | |
| | |||||
* | On the other hand... no need for recursive locks. | 1998-01-24 | 1 | -3/+1 | |
| | |||||
* | Well when MP comes.. we need locks | 1998-01-24 | 1 | -1/+3 | |
| | |||||
* | Protect allocation of ccd physmem of ccd interrupts | 1998-01-24 | 1 | -2/+5 | |
| | |||||
* | Eek, missing splbio, although splx was there. marging two "if"s | 1998-01-24 | 1 | -3/+3 | |
| | |||||
* | remove obsolete comment | 1998-01-21 | 1 | -6/+1 | |
| | |||||
* | Clear buffers on allocation, suggested by csapuntz | 1998-01-09 | 1 | -1/+2 | |
| | |||||
* | DOH! I managed to alloc 0 bytes always for the segment descriptors. | 1998-01-07 | 1 | -3/+4 | |
| | |||||
* | compile w/ DEBUG | 1997-12-15 | 1 | -2/+2 | |
| | |||||
* | Make compile on systems where NBPG is not a constant | 1997-12-12 | 1 | -17/+44 | |
| | |||||
* | Optimized to perform well on small interleaves which makes the ccd driver | 1997-11-26 | 1 | -124/+281 | |
| | | | | | | | really useful as a performance booster. The interleave needs to be a multiple of the software page size (CLBYTES) and not have mirror components if the new optimized policy should be used, otherwise the old policy will be used still. | ||||
* | Updates for VFS Lite 2 + soft update. | 1997-11-06 | 1 | -5/+5 | |
| | |||||
* | back out vfs lite2 till after 2.2 | 1997-10-06 | 1 | -5/+5 | |
| | |||||
* | VFS Lite2 Changes | 1997-10-06 | 1 | -5/+5 | |
| | |||||
* | Change the bounds_check_with_label API to also take a cpu_disklabel | 1997-08-08 | 1 | -3/+4 | |
| | | | | | | | | | | | | | | | | | | | | reference for making transferral of meta-information possible from readdisklabel to bounds_check_with_label. The first (and maybe only) thing that will use this is the multi-disklabel-format code on the alpha where the labelsector is passed via cpu_disklabel so the label write-protection can work correctly no matter what label was found. Also use a new macro DKBAD to get at the dkbad field of the cpu_disklabel implementations that contain it. This too is for multi-disklabel architectures where the "bad" field can be inside a union. Use this macro as a means for a driver to check if an architecture supports dkbad constructs. Remove proto of bounds_check_with_label from all MD disklabel.h as it is in sys/disklabel.h. I have not been able to test the changes everywhere, if I break anything I apologize, and promise to fix it as soon as I become aware of it. | ||||
* | Remove statics to ease DDB debugging | 1997-02-13 | 1 | -23/+23 | |
| | |||||
* | off-by-one in partition indexing, netbsd pr#3161, kleink@layla.inka.de | 1997-01-31 | 1 | -2/+2 | |
| | |||||
* | if error, b_resid = b_bcount | 1997-01-31 | 1 | -1/+2 | |
| |