summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Correct an error of omission in r202897: Now that amd64 uses the direct mapalc2010-05-161-0/+14
| | | | | | | to access the message buffer, we must explicitly request that the underlying physical pages are included in a crash dump. Reported by: Benjamin Kaduk
* Relocate interrupt sense setting for K2 SATA from the ATA driver to thenwhitehorn2010-05-162-15/+25
| | | | | | | OFW PCI layer and read the sense directly from the device tree instead of guessing. MFC after: 1 week
* This adds back the Iterator to the sctprrs2010-05-169-332/+235
| | | | | | | | | code base. We now properly have ONE thread that services all VNET's. Also we purge out the old timer based iterator code which had multiple LOR's and other issues. MFC after: 3 days
* Add a comment about the proper use of vm_object_page_remove().alc2010-05-161-1/+2
| | | | MFC after: 1 week
* On PowerMac11,2 and (presumably) PowerMac12,1, we need to quiesce thenwhitehorn2010-05-166-0/+72
| | | | | | | | | | firmware in order to take over control of the SMU. Without doing this, the firmware background process doing fan control will run amok as we take over the system and crash the management chip. This is limited to these two machines because our kernel is heavily dependent on firmware accesses, and so quiescing firmware can cause nasty problems.
* On SMP G5 systems, sometimes the power-mode-data property is only foundnwhitehorn2010-05-161-0/+5
| | | | on CPU 0, so look there if it is not otherwise available.
* Add support for the U4 PCI-Express bridge chipset used in late-generationnwhitehorn2010-05-169-864/+1491
| | | | | | | | | | Powermac G5 systems. MSI and several other things are not presently supported. The U3/U4 internal device support portions of this change were contributed by Andreas Tobler. MFC after: 1 week
* Allow to configure UMA usage for ZIO data via loader and turn it on bypjd2010-05-161-29/+31
| | | | | | | default for amd64. On i386 I saw performance degradation when UMA was used, but for amd64 it should help. MFC after: 3 days
* Add task structure to zio and use it instead of allocating one.pjd2010-05-164-10/+80
| | | | | | | | | This eliminates the only place where we can sleep when calling zio_interrupt(). As a side-effect this can actually improve performance a little as we allocate one less thing for every I/O. Prodded by: kib MFC after: 1 week
* Add the ofw_bus_if.h dependency introduced with r207585.marius2010-05-161-1/+5
|
* The whole point of having dedicated worker thread for each leaf VDEV was topjd2010-05-161-105/+22
| | | | | | | | | | | | | | | avoid calling zio_interrupt() from geom_up thread context. It turns out that when provider is forcibly removed from the system and we kill worker thread there can still be some ZIOs pending. To complete pending ZIOs when there is no worker thread anymore we still have to call zio_interrupt() from geom_up context. To avoid this race just remove use of worker threads altogether. This should be more or less fine, because I also thought that zio_interrupt() does more work, but it only makes small UMA allocation with M_WAITOK. It also saves one context switch per I/O request. PR: kern/145339 Reported by: Alex Bakhtin <Alex.Bakhtin@gmail.com> MFC after: 1 week
* Use setresuid/setresgid to drop privilegeskevlo2010-05-161-2/+8
|
* Fix deadlock between zfs_dirent_lock and zfs_rmdirmm2010-05-164-4/+50
| | | | | | | | OpenSolaris onnv revision: 11321:506b7043a14c Approved by: pjd, delphij (mentor) Obtained from: OpenSolaris (Bug ID 6847615) MFC after: 3 days
* Fix perfomance problem with ZFS prefetch caching [1]mm2010-05-163-16/+92
| | | | | | | | | | | Add statistics for ZFS prefetch (sysctl kstat.zfs.misc.zfetchstats) Partial import of OpenSolaris onnv revision 10474:0e96dd3b905a Reported by: jhell@dataix.net (private e-mail) [1] Approved by: pjd, delphij (mentor) Obtained from: OpenSolaris (Bug ID 6859997, 6868951) MFC after: 3 days
* Correct compilation error introduced in last commit.mjacob2010-05-161-2/+2
| | | | | | | | X-MFC: 208119 MFC after: 1 week Sponsored By: Panasas Pointy Hat to: Me Noticed by: Rob
* Disable bypass for the vop_advlockpurge(). The vop is called afterkib2010-05-161-0/+1
| | | | | | vop_revoke(), the v_data is already destroyed. Reported and tested by: ed
* - fixes a bug that it didn't initialize the ratectl after association;weongyo2010-05-151-3/+9
| | | | | | | | | | | so ni_txrate returned 0 which is a invalid result. - The fourth argument of ieee80211_ratectl_tx_complete() could be not NULL. Reported by: Gustau P?rez <gperez at entel.upc.edu> Tested by: Gustau P?rez <gperez at entel.upc.edu>, Ian FREISLICH <ianf at clue.co.za> MFC after: 3 days
* Whap. Hook up some wires that were forgotten a few months ago and restoremjacob2010-05-152-18/+15
| | | | | | | the zombie device timeout code and the loop down time code and the fabric hysteresis code. MFC after: 1 week Sponsored By: Panasas
* Fix a mismerge in r206001.marius2010-05-151-3/+3
| | | | | | PR: 146614 Approved by: jfv (implicit) MFC afer: 3 days
* Change the commented msgs examples in profile/csh.login from -f to -q.jilles2010-05-152-4/+4
| | | | | | | | | | | Starting something that wants input on login seems strange and can be dangerous. In some configurations, causing output can be bad, but it is not as dangerous. I do not expect this msgs invocation to be uncommented often. PR: conf/96015 MFC after: 4 days
* Apply a patch that has been lingering in my inbox for far too long:phk2010-05-151-4/+13
| | | | | | | | | | | | | | | | | | | | On a soekris Net5501, if you do a watchdog -t 16, followed by a watchdog -t 0 to disable the watchdog, and then after some time (16s) re-enable the watchdog the box reboots immediatly. This prevents also to stop and restart watchdogd(8). This is because when you stop the watchdog, the timer is not stoped, only the hard reset is disabled. So when the timer has elapsed, the C2 event of the timer is set. But when the hard reset is re-enabled, the event is not cleared and the box reboots. The attached patch stops and resets the counter when the watchdog is disabled and do not disable the hard reset of the timer (if the timer has elapsed it's too late). Submitted by: Patrick Lamaizière
* Do not attempt to render a logrecord with length byte, until we havephk2010-05-151-0/+2
| | | | decompressed all the bytes required.
* Small changes preparing for MFC, need to conditionalizejfv2010-05-143-2/+6
| | | | | the buf_ring_free call, and lem is missing the WOL change put into em.
* A few minor fixes:jfv2010-05-141-8/+11
| | | | | | | | | | - add a moderation value to the Link vector - allow disabling HW RSC on the 82599 if LRO is not enabled. - correct error in the stats code - change optic type on the 82598 DA device Thanks to Andrew Boyer for the changes.
* Yet another potential dereference of a dead provider.mjacob2010-05-141-1/+1
| | | | | Sponsored by: Panasas MFC after: 1 week
* Fix an issue with the dynamic pcpu/vnet data allocators.bz2010-05-142-2/+2
| | | | | | | | | | | | | | | We cannot expect that modspace is the last entry in the linker set and thus that modspace + possible extra space up to PAGE_SIZE would be contiguous. For the moment do not support more than *_MODMIN space and ignore the extra space (*). (*) We know how to get it back but it'll need testing. Discussed with: jeff, rwatson (briefly) Reviewed by: jeff Sponsored by: The FreeBSD Foundation Sponsored by: CK Software GmbH MFC after: 4 days
* - Add versioned symbols to liblzmadelphij2010-05-144-2/+209
| | | | | | | - Use default SHLIB_MAJOR. Approved by: mm X-MFC with: lzma library MFC
* Document the led(4) interface to the identification LEDs.marius2010-05-142-2/+42
| | | | MFC after: 3 days
* - Enable DMA write parity error interrupts on Schizo with a workingmarius2010-05-143-41/+91
| | | | | | | | | | | | implementation. - Revert the Sun Fire V890 WAR of r205254. Instead let schizo_pci_bus() only panic in case of fatal errors as the interrupt triggered by the error the firmware of these and also Sun Fire 280R with version 7 Schizo caused may happen as late as using the HBA and not only prior to touching the PCI bus (in the former case the actual error still is fatal but we clear it before touching the PCI bus). While at it count and export non-fatal error interrupts via sysctl(9). - Remove unnecessary locking from schizo_ue().
* Remove duplicatedougb2010-05-141-1/+0
|
* Hide the creation and population of the temprootdougb2010-05-141-5/+5
|
* If controller received bad frames make sure to update newly addedyongari2010-05-141-2/+7
| | | | | | | | | | | | | | | | | | | RFA. Also drop frames that have either CRC error or alignment error. Normally bad frames are not received at all. But controllers running in promiscuous mode will receive bad frames. 82557 will also receive bad frames to receive VLAN oversized frames. While I'm here mark RNR condition if driver happen to see RNR in RFA status and restart RU to receive frames again. Because driver checks all received frames in RX loop, RNR condition could be set in the middle of RX processing. Just relying on RNR interrupt was not enough. This change fixes "Memory modified after free" issue when fxp(4) is running as a member of if_bridge(4). Tested by: Larry Baird <lab <> gta dot com> MFC after: 5 days
* Dont' allow dma map load deferring. fxp(4) is not able to handleyongari2010-05-141-1/+1
| | | | EINPROGRESS.
* Make sure to check that the active provider pointer points to something beforemjacob2010-05-141-1/+1
| | | | | | | dereferencing the pointer. Sponsored by: Pansas MFC after: 1 week
* Controller updates RFA via DMA so driver needs synchronization.yongari2010-05-141-2/+2
| | | | Add missing BUS_DMASYNC_POSTWRITE and BUS_DMASYNC_PREREAD.
* Document the 'short preamble' capability for 802.11bg.bz2010-05-141-1/+9
| | | | | Reviewed by: sam MFC after: 4 days
* Sync apmd(8) with DragonflyBSD, bringing WARNS to 3uqs2010-05-146-40/+68
| | | | Reviewed by: ed (partial, long time ago)
* fsirand(8): make WARNS=3 cleanuqs2010-05-142-18/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Drop bogus quad_t cast for di_gen, it is a 32bit type - Print di_gen with leading zeros, to get consistent output Before this change, amd64 would print: ino 18 gen 616ca2bd ino 19 gen ffffffff95c2a3ff ino 20 gen 25c3a3d5 ino 21 gen 8dc1472 ino 22 gen 3797056b ino 23 gen 1d47853a ino 24 gen ffffffff82d26995 After the change ino 18 gen 616ca2bd ino 19 gen 95c2a3ff ino 20 gen 25c3a3d5 ino 21 gen 08dc1472 ino 22 gen 3797056b ino 23 gen 1d47853a ino 24 gen 82d26995 PR: bin/139994 (sort of) Reviewed by: mckusick
* Remove trailing white space. No functional changes.dougb2010-05-1424-62/+62
|
* Wording fixes.brueffer2010-05-141-2/+2
| | | | | | PR: 143454 Submitted by: Warren Block <wblock@wonkity.com> MFC after: 3 days
* List /var/cron/tabs in FILES and add descriptions for the other entries.brueffer2010-05-141-1/+5
| | | | | | | PR: 145912 Submitted by: Julian H. Stacey <jhs@berklix.com> Obtained from: OpenBSD MFC after: 1 week
* Mention LSI Logic FC949E.brueffer2010-05-141-1/+2
| | | | | | PR: 110359 Submitted by: Vivek Khera <vivek@khera.org> MFC after: 3 days
* Catchup with new prototype for db_printf().cognet2010-05-141-1/+1
|
* Fix ZIL-related panic on zfs rollback.mm2010-05-135-61/+44
| | | | | | | | OpenSolaris onnv-revision: 8746:e1d96ca6808c Approved by: pjd, delphij (mentor) Obtained from: OpenSolaris (Bug ID 6796377) MCF after: 1 week
* Allow the USB_REQ_DEBUG to be enabled in the kernel conf.thompsa2010-05-131-0/+1
| | | | Requested by: HPS
* Import OpenSolaris revision 7837:001de5627df3mm2010-05-1323-1580/+712
| | | | | | | | | | | | | | | | | | | It includes the following changes: - parallel reads in traversal code (Bug ID 6333409) - faster traversal for zfs send (Bug ID 6418042) - traversal code cleanup (Bug ID 6725675) - fix for two scrub related bugs (Bug ID 6729696, 6730101) - fix assertion in dbuf_verify (Bug ID 6752226) - fix panic during zfs send with i/o errors (Bug ID 6577985) - replace P2CROSS with P2BOUNDARY (Bug ID 6725680) List of OpenSolaris Bug IDs: 6333409, 6418042, 6757112, 6725668, 6725675, 6725680, 6725698, 6729696, 6730101, 6752226, 6577985, 6755042 Approved by: pjd, delphij (mentor) Obtained from: OpenSolaris (multiple Bug IDs) MFC after: 1 week
* do a proper fixkmacy2010-05-131-1/+1
| | | | | | Pointed out by: np@ MFC after: 3 days
* fix compile error on some builds by doing the equivalent ofkmacy2010-05-131-1/+1
| | | | | | an "extern VNET_DEFINE" without "__used" MFC after: 3 days
* Increase the target buffer for performing NGM_ASCII2BINARY conversionzec2010-05-131-1/+1
| | | | | | | | | | | from 2000 bytes to 20 Kbytes, which now matches the buffer size used for NGM_BINARY2ASCII conversions. The aim of this change is to allow for bigger binary structures to be managed via netgraph ASCII messages, until we come up with an API improvement which would get rid of such arbitrary hardcoded limits. MFC after: 3 days
* Update authors and history.trasz2010-05-131-1/+6
| | | | MFC after: 1 week
OpenPOWER on IntegriCloud