summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - Make note of the update of tzdata from 2008h to 2009jedwin2009-08-191-2/+12
| | | | | | | | - Make note of the update of tzcode from 2004a to 2009h Add an extra alert that people who update via source or via freebsd-update will have to run the tzsetup(8) utility. Approved by: re (Kostik)
* If we cannot immediately get the pf_consistency_lock in the purge thread,mlaier2009-08-192-24/+70
| | | | | | | | | | | restart the scan after acquiring the lock the hard way. Otherwise we might end up with a dead reference. Reported by: pfsense Reviewed by: eri Initial patch by: eri Tested by: pfsense Approved by: re (kib)
* - Do not try to reevaluate current RX production index on eachstas2009-08-181-7/+8
| | | | | | | | | | | | loop iteration as it can be updated by the card while we process the RX ring forcing us to process RX descriptors for which DMA synchronisation operation has not been performed. This fixes the bug when bge(4) drops packets under high load. Discussed with: yongari, marius Approved by: re (kib) MFC after: 1 week
* - change the interface to flowtable_lookup so that we don't rely onkmacy2009-08-183-43/+196
| | | | | | | | | | | | | | | | | the mbuf for obtaining the fib index - check that a cached flow corresponds to the same fib index as the packet for which we are doing the lookup - at interface detach time flush any flows referencing stale rtentrys associated with the interface that is going away (fixes reported panics) - reduce the time between cleans in case the cleaner is running at the time the eventhandler is called and the wakeup is missed less time will elapse before the eventhandler returns - separate per-vnet initialization from global initialization (pointed out by jeli@) Reviewed by: sam@ Approved by: re@
* Backout r193289. r193289 restored page select bits to previousyongari2009-08-181-3/+1
| | | | | | | | | | | | | | | | | value instead of blindly resetting it to 0. However, it seems page select bits of some 88E1116 PHY is initialized to invalid one such that restoring page select bits after programming broke MII register access. The correct solution would be reset page select bits to 0 in PHY attach stage but it would require more testing. Since we're in BETA stage such a change would be dangerous so just back it out. This change should fix nfe(4) breakage on NVIDIA MCP55. Reported by: Ryan Rogers < webmaster <> doghouserepair dot com > Sam Fourman Jr. < sfourman <> gmail dot com > Tested by: Ryan Rogers < webmaster <> doghouserepair dot com > Sam Fourman Jr. < sfourman <> gmail dot com > Approved by: re (kib)
* Fix a crash when using one-to-one stlye socket in non-blockingtuexen2009-08-181-1/+2
| | | | | | | mode and there is no listening server. PR: 137795 Approved by: re, rrs (mentor) MFC after:immediately.
* Remove unused taskqueue_find() function.pjd2009-08-183-55/+2
| | | | | Reviewed by: dfr Approved by: re (kib)
* Document MAKE_DVD and xref svn in ports.trhodes2009-08-181-2/+7
| | | | Approved by: re@ (kib)
* Fix copy/paste bug, that requests data read during ATA device probe sequencemav2009-08-181-4/+4
| | | | | | | | | for ATA_SETFEATURES/ATA_SF_SETXFER command which by definition transfers no data. Most of controllers are irrelevant to this bug, but some nVidia's doesn't. Tested on: current@ Approved by: re (kib)
* Fix iSCSI initiator and vpo driver operation, broken by CAM changes.mav2009-08-184-0/+7
| | | | | Reviewed by: scottl, Danny Braniss Approved by: re (rwatson)
* fix netboot issue by disabling flowtable lookups until initialization has ↵kmacy2009-08-171-1/+4
| | | | | | | been run Reviewed by: rwatson@ Approved by: re@
* Document the newly added SVNCMDARGS, SVNROOT, and SVNBRANCH variables.jhb2009-08-171-0/+29
| | | | Approved by: re (kib)
* * Change the scope of the ASSERT_ATOMIC_LOAD() from a generic check toattilio2009-08-175-9/+22
| | | | | | | | | | | | | | | a pointer-fetching specific operation check. Consequently, rename the operation ASSERT_ATOMIC_LOAD_PTR(). * Fix the implementation of ASSERT_ATOMIC_LOAD_PTR() by checking directly alignment on the word boundry, for all the given specific architectures. That's a bit too strict for some common case, but it assures safety. * Add a comment explaining the scope of the macro * Add a new stub in the lockmgr specific implementation Tested by: marcel (initial version), marius Reviewed by: rwatson, jhb (comment specific review) Approved by: re (kib)
* The start of the EFI GPT partition in the PMBR can always be representedmarcel2009-08-171-3/+3
| | | | | | | | | | by CHS addressing. Don't define these fields as 0xff, but rather define them correctly. This prevents boot problems on PCs where GPT is being used. PR: 115406 Submitted by: Kent Hauser <kent@khauser.net> Approved by: re (kib)
* Apply the same patch as r196205 for nfs_upgrade_lock() andrmacklem2009-08-171-15/+12
| | | | | | nfs_downgrade_lock() to the experimental nfs client. Approved by: re (kensmith), kib (mentor)
* Remove the spx_usrreq.c mergeinfo from spx_reass.c. Future changes tojhb2009-08-170-0/+0
| | | | | | | spx_usrreq.c won't be merged to spx_reass.c which is what this would help with. Approved by: re (blanket mergeinfo), rwatson
* Fix parse() so that the partition to boot (load /boot/loader) from canjhay2009-08-171-8/+5
| | | | | | | be set. The syntax as printed in main() is used: 0:ad(0p3)/boot/loader Reviewed by: jhb Approved by: re (kib)
* Purge mergeinfo in sys/ that is either empty or a subset of the parentjhb2009-08-170-0/+0
| | | | | | mergeinfo on sys/ itself. Approved by: re (mergeinfo blanket)
* Correct a critical accounting error in pmap_demote_pde(). Specifically,kib2009-08-171-0/+2
| | | | | | | | | | | | | | | | | | when pmap_demote_pde() allocates a page table page to implement a user-space demotion, it must increment the pmap's resident page count. Not doing so, can lead to an underflow during address space termination that causes pmap_remove() to exit prematurely, before it has destroyed all of the mappings within the specified range. The ultimate effect or symptom of this error is an assertion failure in vm_page_free_toq() because the page being freed is still mapped. This error is only possible when superpage promotion is enabled. Thus, it only affects FreeBSD versions greater than 7.2. Tested by: pho, alc Reviewed by: alc Approved by: re (rwatson) MFC after: 1 week
* Fix a typo in ifdef mesh support. This would make mesh unworkable ifrpaulo2009-08-171-1/+1
| | | | | | TDMA support was compiled out. Approved by: re (kib)
* Correct typo in the previous commit.pjd2009-08-171-1/+1
| | | | | Noticed by: pluknet <pluknet@gmail.com> Approved by: re (kib, implicit)
* getcwd() (when __getcwd() fails) works by stating current directory, going uppjd2009-08-171-0/+43
| | | | | | | | | | | | | | (..), calling readdir and looking for previous directory inode. In case of .zfs/ directory this doesn't work, because .zfs/ is hidden by default, so it won't be visible in readdir output. Fix this by implementing VPTOCNP for snapshot directories, so __getcwd() doesn't fail and getcwd() doesn't have to use readdir method. This fixes /bin/pwd from within .zfs/snapshot/<name>/. Suggested by: kib Approved by: re (rwatson)
* Manage asynchronous vnode release just like Solaris.pjd2009-08-177-132/+50
| | | | | Discussed with: kmacy Approved by: re (kib)
* Fix receive when dataset has no / in its name.pjd2009-08-171-4/+5
| | | | | Submitted by: James R. Van Artsdalen <james-freebsd-current@jrv.org> Approved by: re (kib)
* - Reduce z_teardown_lock lock scope a bit.pjd2009-08-171-7/+7
| | | | | | | - The error variable is int, not bool. - Convert spaces to tabs where needed. Approved by: re (kib)
* If z_buf is NULL, we should free znode immediately.pjd2009-08-171-7/+9
| | | | | Noticed by: avg Approved by: re (kib)
* - We need to recycle vnode instead of freeing znode.pjd2009-08-171-3/+2
| | | | | | | | | Submitted by: avg - Add missing vnode interlock unlock. - Remove redundant znode locking. Approved by: re (kib)
* Fix panic in zfs recv code. The last vnode (mountpoint's vnode) can havepjd2009-08-171-1/+1
| | | | | | | 0 usecount. Reported by: Thomas Backman <serenity@exscape.org> Approved by: re (kib)
* Remove OpenSolaris taskq port (it performs very poorly in our kernel) andpjd2009-08-179-1190/+188
| | | | | | | | replace it with wrappers around our taskqueue(9). To make it possible implement taskqueue_member() function which returns 1 if the given thread was created by the given taskqueue. Approved by: re (kib)
* Because taskqueue_run() can drop tq_mutex, we need to check if thepjd2009-08-171-0/+7
| | | | | | | TQ_FLAGS_ACTIVE flag wasn't removed in the meantime, which means we missed a wakeup. Approved by: re (kib)
* - Fix a race where /dev/zfs control device is created before ZFS is fullypjd2009-08-171-25/+21
| | | | | | | | | | initialized. Also destroy /dev/zfs before doing other deinitializations. - Initialization through taskq is no longer needed and there is a race where one of the zpool/zfs command loads zfs.ko and tries to do some work immediately, but /dev/zfs is not there yet. Reported by: pav Approved by: re (kib)
* Remove files that are no longer used.pjd2009-08-176-1688/+1
| | | | | Discussed with: kmacy Approved by: re (kib)
* Be more precise how to get fsids - 'mount -v' doesn't show fsids unless is runpjd2009-08-171-1/+2
| | | | | | by root. Approved by: re (kib)
* Update the mptutil man page for FreeBSD 8.0scottl2009-08-171-3/+6
| | | | Approved by: re
* Update the man page for manual section 8scottl2009-08-171-1/+1
| | | | Approved by: re
* Update the man page for FreeBSD 8.0scottl2009-08-171-14/+6
| | | | Approved by: re
* Move mfiutil.1 to mfiutil.8 for consistency. Remove superfulous README.scottl2009-08-173-104/+1
| | | | Approved by: re
* Emit a proper error message instead of dumping core when 1)marcel2009-08-161-2/+14
| | | | | | | | | | | GEOM_PART does not exist in the kernel, and 2) the GEOM in question does not exist. Additionally abort in case of programming errors that result in neither the class nor geom not being present in the gctl request. Submitted by: "Andrey V. Elsukov" <bu7cher@yandex.ru> Approved by: re (kib)
* Fix small style regression introduced by the MPSAFE newbus code.ed2009-08-161-1/+1
| | | | Approved by: re (rwatson)
* Change the usb workers from kernel processes to threads, this is mostly athompsa2009-08-162-5/+11
| | | | | | | | | cosmetic change to reduce cruft in the proc table. Also change the idle wait message to `-` like how taskqueues are. Reviewed by: julian Approved by: re (kib)
* Prevent sysinstall from needlessly waiting for confirmation when using an USBrink2009-08-161-1/+2
| | | | | | | | | | | | | device in non-interactive mode. If there are no USB devices, sysinstall gives an error messages, and if there is >1, it'll ask which one is to be used. This change allows a non-interactive install from USB media to succeed without any user interaction if there is exactly one USB disk device in the system it can use. Submitted by: Daniel O'Connor < doconnorat gsoft dot com dot au > Reviewed by: randi Approved by: re (rwatson)
* Fix misalignment in nvpair_native_embedded() caused by the compilermarcel2009-08-161-2/+3
| | | | | | | replacing the bzero(). See also revision 195627, which fixed the misalignment in nvpair_native_embedded_array(). Approved by: re (kensmith)
* Decouple ACPI CPU Ids from FreeBSD's cpuid. The ACPI Ids can bemarcel2009-08-163-20/+19
| | | | | | sparse, which causes a kernel assert. Approved by: re (kensmith)
* Rather than fix questionable ifnet list locking in the implementation ofrwatson2009-08-152-58/+10
| | | | | | | | the kern.polling.enable sysctl, remove the sysctl. It has been deprecated since FreeBSD 6 in favour of per-ifnet polling flags. Reviewed by: luigi Approved by: re (kib)
* Remove unused if_rawoutput() macro; it has been unused since at leastrwatson2009-08-151-1/+0
| | | | | | FreeBSD 2. Approved by: re (kib)
* * Fix a bug where PR-SCTP settings are ignore when using implicittuexen2009-08-157-99/+176
| | | | | | | | | | | | | | | association setup. * Fix a bug where message with illegal stream ids are not deleted. * Fix a crash when reporting back unsent messages from the send_queue. * Fix a bug related to INIT retransmission when the socket is already closed. * Fix a bug where associations were stalled when partial delivery API was enabled. * Fix a bug where the receive buffer size was smaller than the partial_delivery_point. Approved by: re, rrs (mentor) MFC after: One day.
* Port recent IPI enhachements to en:attilio2009-08-151-0/+38
| | | | | | | * Introduce the ipi_nmi_handler() function for the Xen infrastructure * Fixup adeguately the ipi sender functions Approved by: re (kib)
* iostat: add a bit of space between tty in/out columnskeramida2009-08-151-6/+6
| | | | | | | | | The columns for tty input and output may bump against each other if the tty output needs more than 5 columns. Add a bit of space that pushes everything 1 column to the right, but also avoids the problem. Approved by: re (rwatson)
* Add my birthdayfluffy2009-08-151-0/+1
| | | | Approved by: re (rwatson) miwi (mentor)
* - Proprely intialize UART parameters at probe stage, so uart(4)stas2009-08-151-4/+4
| | | | | | | | | will initialize the FIFO memory correctly on attach. Before that this values was intialized in only in at91_usart_bus_attach which is called after the uart(4) memory allocation happens. Approved by: re (kib) MFC after: 1 week
OpenPOWER on IntegriCloud