#
6b7bbefa |
| 27-Jun-2008 |
Matthew Dillon <dillon@dragonflybsd.org> |
Apply patch supplied in FreeBSD-PR to ata-raid code:
"A drive that was once part of an ataraid device, when added back to the machine that it was on, shows up as a new ataraid device. This new atara
Apply patch supplied in FreeBSD-PR to ata-raid code:
"A drive that was once part of an ataraid device, when added back to the machine that it was on, shows up as a new ataraid device. This new ataraid device tries to use all the drives that were originally in the RAID. Results can range from a confusion to a real mess."
Obtained-from: http://www.freebsd.org/cgi/query-pr.cgi?pr=121899&cat=kern Author: Stef Walter <stef@memberwebs.com>
show more ...
|
#
978400d3 |
| 06-Jan-2008 |
Sascha Wildner <swildner@dragonflybsd.org> |
Remove bogus checks after kmalloc(M_WAITOK) which never returns NULL.
Reviewed-by: hasso
|
#
1a215404 |
| 17-Jun-2007 |
YONETANI Tomokazu <y0netan1@dragonflybsd.org> |
we do not want to shift by the block size, which is much larger than the number of bits held in bio_offset.
|
#
a688b15c |
| 15-May-2007 |
Matthew Dillon <dillon@dragonflybsd.org> |
Continue untangling the disklabel. Have most disk device drivers fill out and install a generic disk_info structure instead of filling out random fields in the disklabel.
The generic disk_info stru
Continue untangling the disklabel. Have most disk device drivers fill out and install a generic disk_info structure instead of filling out random fields in the disklabel.
The generic disk_info structure uses a 64 bit integer to represent the media size in bytes or total sector count.
show more ...
|
#
d438c7c2 |
| 08-Feb-2007 |
Thomas E. Spanjaard <tgen@dragonflybsd.org> |
Misc cleanups to NATA ata-raid.c to make it compile. Fix malloc/free -> kmalloc/kfree, M_NOWAIT -> M_WAITOK, and various bugfixes and warnings fixes. Note, that this hasn't been tested in actual oper
Misc cleanups to NATA ata-raid.c to make it compile. Fix malloc/free -> kmalloc/kfree, M_NOWAIT -> M_WAITOK, and various bugfixes and warnings fixes. Note, that this hasn't been tested in actual operation, that's something for next week when I have the time + hardware.
show more ...
|
#
5e8604ce |
| 06-Feb-2007 |
Thomas E. Spanjaard <tgen@dragonflybsd.org> |
Misc cleanups for NATA ataraid, and write ata_raid_dump() to look like something that will actually work. I did not take the same approach as with ad_dump() here, because that takes just too much cod
Misc cleanups for NATA ataraid, and write ata_raid_dump() to look like something that will actually work. I did not take the same approach as with ad_dump() here, because that takes just too much code duplication between ata_raid_strategy() and ata_raid_dump().
show more ...
|
#
e3869ec7 |
| 22-Dec-2006 |
Sascha Wildner <swildner@dragonflybsd.org> |
Rename printf -> kprintf in sys/ and add some defines where necessary (files which are used in userland, too).
|
#
f8c7a42d |
| 20-Dec-2006 |
Matthew Dillon <dillon@dragonflybsd.org> |
Rename sprintf -> ksprintf Rename snprintf -> knsprintf
Make allowances for source files that are compiled for both userland and the kernel.
|
#
c1b3d7c5 |
| 04-Dec-2006 |
Thomas E. Spanjaard <tgen@dragonflybsd.org> |
Initial import of the port of the new(er) FreeBSD ATA code.
Note this code has not yet been hooked into the build as such, unless you (unwisely) specify the devices in your kernel config according t
Initial import of the port of the new(er) FreeBSD ATA code.
Note this code has not yet been hooked into the build as such, unless you (unwisely) specify the devices in your kernel config according to sys/conf/files. The modules are also excluded from the module build due to not having a SUBDIR entry in sys/dev/disk/Makefile. The PCI code isn't yet operation pending a patch for sys/bus/pci/pci.c I will send to kernel@ shortly. It short-circuits lazy resource allocation for PCI ATA controllers in legacy mode (i.e. on legacy ISA ATA addresses, which are not configured in the PCI BARs).
The userland utility used to control nata ('natacontrol') and documentation will follow later. Also, be aware only nata, natapci, natadisk and natapicd have seen testing on real hardware so far. nataraid, natausb and natacam are probably not compilable yet, I need to clean those up.
show more ...
|
#
b5d7061d |
| 24-Sep-2010 |
Matthew Dillon <dillon@apollo.backplane.com> |
kernel - Work through some memory leaks in dsched
* Add a uninitbufbio() function to complement initbufbio(). Also move BUF_LOCKINIT() into initbufbio() and BUF_LOCKFREE() into uninitbufbio().
*
kernel - Work through some memory leaks in dsched
* Add a uninitbufbio() function to complement initbufbio(). Also move BUF_LOCKINIT() into initbufbio() and BUF_LOCKFREE() into uninitbufbio().
* There are several device drivers and other places where the struct buf is still being allocated manually (verses using getpbuf()). These were kfree()ing the buffer without dealing with e.g. dsched_exit_buf().
Have uninitbufbio() call dsched_exit_buf() and adjust the various manual allocations/frees of struct buf to call uninitbufbio() before kfree()ing. Also remove various manual calls to BUF_LOCKFREE() (which is now done inside uninitbufbio()).
* This should hopefully deal with the memory leaks but there could be a few left.
Reported-by: "Steve O'Hara-Smith" <steve@sohara.org>
show more ...
|
#
287a8577 |
| 30-Aug-2010 |
Alex Hornung <ahornung@gmail.com> |
spinlocks - Rename API to spin_{try,un,}lock
* Rename the API to spin_trylock, spin_unlock and spin_lock instead of spin_lock_wr, spin_unlock_wr and spin_trylock_wr now that we only have exclusi
spinlocks - Rename API to spin_{try,un,}lock
* Rename the API to spin_trylock, spin_unlock and spin_lock instead of spin_lock_wr, spin_unlock_wr and spin_trylock_wr now that we only have exclusive spinlocks.
* 99% of this patch was generated by a semantic coccinelle patch
show more ...
|
#
da44240f |
| 29-Aug-2010 |
Matthew Dillon <dillon@apollo.backplane.com> |
kernel - gcc -Os/-O2 warnings pass
* This is just a partial pass on the code to start cleaning up gcc warnings at higher optimization levels.
|
#
b24cd69c |
| 06-Dec-2009 |
Alex Hornung <ahornung@gmail.com> |
dump - Make use of the new dumping
* Adapt our dumping infrastructure to the new dump type.
* Update all disk/raid dump methods (except aac) to work with the new dumps. These now don't take matte
dump - Make use of the new dumping
* Adapt our dumping infrastructure to the new dump type.
* Update all disk/raid dump methods (except aac) to work with the new dumps. These now don't take matters into their own hands and just write what they are told to.
show more ...
|