summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Update vendor-sys/illumos/dist to illumos-gate 14088:3ca4e9e72fe7:delphij2013-07-298-63/+164
| | | | | | | | | | | | | | | Illumos ZFS issues: 3875 panic in zfs_root() after failed rollback
| * | Update vendor-sys/illumos/dist to illumos-gate 14070:d4c9f8eba8famm2013-07-052-5/+27
| | | | | | | | | | | | | | | Illumos ZFS issues: 3836 zio_free() can be processed immediately in the common case
| * | Update vendor/illumos/dist and vendor-sys/illumos/distdelphij2013-06-252-11/+0
| | | | | | | | | | | | | | | | | | | | | to illumos-gate 14060:aeb4e8fef072 Illumos ZFS issues: 3829 fix for 3740 changed behavior of zfs destroy/hold/release ioctl
| * | Update vendor/illumos/dist and vendor-sys/illumos/distdelphij2013-06-126-249/+387
| | | | | | | | | | | | | | | | | | | | | | | | to illumos-gate 14052:1a272fe1337b Illumos ZFS issues: 3740 Poor ZFS send / receive performance due to snapshot hold / release processing
| * | Update vendor-sys/illumos/dist to illumos-gate 14051:849852750426delphij2013-06-114-12/+71
| | | | | | | | | | | | | | | Illumos ZFS issues: 3749 zfs event processing should work on R/O root filesystems
| * | Update vendor/illumos/dist and vendor-sys/illumos/distdelphij2013-06-111-1/+1
| | | | | | | | | | | | | | | | | | | | | to illumos-gate 14050:0c8d9998d589 Illumos ZFS issues: 3747 txg commit callbacks don't work
| * | Update vendor-sys/illumos/dist to illumos-gate 14048:ce96ca723606delphij2013-06-113-20/+32
| | | | | | | | | | | | | | | Illumos ZFS issues: 3744 zfs shouldn't ignore errors unmounting snapshots
| * | Update vendor-sys/illumos/dist to illumos-gate 14047:e8c1f215cb15delphij2013-06-113-16/+30
| | | | | | | | | | | | | | | Illumos ZFS issues: 3743 zfs needs a refcount audit
| * | Update vendor-sys/illumos/dist to illumos-gate 14046:6a5a2f4a47dbdelphij2013-06-1139-269/+242
| | | | | | | | | | | | | | | Illumos ZFS issues: 3742 zfs comments need cleaner, more consistent style
| * | Update vendor/illumos/dist and vendor-sys/illumos/distdelphij2013-06-1111-12/+151
| | | | | | | | | | | | | | | | | | | | | to illumos-gate 14045:9475b3fef59d Illumos ZFS issues: 3741 zfs needs better comments
| * | Update vendor-sys/illumos/dist to illumos-gate 14041:cb4a51285eebdelphij2013-06-083-1/+31
| | | | | | | | | | | | | | | Illumos ZFS issues: 3805 arc shouldn't cache freed blocks
| * | Update vendor-sys/illumos/dist to illumos-gate 14039:6cfd5a5778b9delphij2013-06-067-79/+415
| | | | | | | | | | | | | | | Illumos ZFS issues: 3137 L2ARC compression
| * | Update vendor/illumos/dist and vendor-sys/illumos/distmm2013-05-232-14/+26
| | | | | | | | | | | | | | | | | | | | | | | | to illumos-gate 14031:e4eb37f33d60 Illumos ZFS issues: 3699 zfs hold or release of a non-existent snapshot does not output error 3739 cannot set zfs quota or reservation on pool version < 22
| * | Update vendor-sys/illumos/dist to illumos-gate 14029:11aad50aea32mm2013-05-231-0/+13
| | | | | | | | | | | | No FreeBSD-related changes
| * | Update vendor-sys/illumos/dist to illumos-gate 14020:3843f7c5f635mm2013-04-281-15/+8
| | | | | | | | | | | | | | | Illumos ZFS issues: 3705 stack overflow due to zfs lz4 compression
| * | Update vendor-sys/illumos/dist to illumos-gate 14019:624fa8f61951mm2013-04-245-15/+75
| | | | | | | | | | | | | | | | | | | | | Illumos ZFS issues: 3642 dsl_scan_active() should not issue I/O to determine if async destroying is active 3643 txg_delay should not hold the tc_lock
| * | Update vendor-sys/illumos/dist to illumos-gate 14008:0a1a841641damm2013-04-111-6/+8
| | | | | | | | | | | | | | | | | | Illumos ZFS issues: 3645 dmu_send_impl: possibilty of pool hold leak 3692 Panic on zfs receive of a recursive deduplicated stream
| * | Update vendor/illumos/dist and vendor-sys/illumos/distmm2013-04-104-72/+2
| | | | | | | | | | | | | | | | | | | | | | | | to illumos-gate 14005:55fc53126003 Illumos ZFS issues: 3654 zdb should print number of ganged blocks 3656 remove unused function zap_cursor_move_to_key()
| * | Update vendor-sys/illumos/dist to illumos-gate 13992:313c3db67359mm2013-04-062-3/+35
| | | | | | | | | | | | | | | | | | Illumos ZFS issues: 3639 zpool.cache should skip over readonly pools 3640 want automatic devid updates
| * | Update vendor-sys/illumos/dist to illumos-gate 13990:b04b9a80047amm2013-03-234-12/+13
| | | | | | | | | | | | | | | Illumos ZFS issues: 3618 ::zio dcmd does not show timestamp data
| * | Update vendor/illumos/dist and vendor-sys/illumos/distmm2013-03-1255-859/+875
| | | | | | | | | | | | | | | | | | | | | to illumos-gate 13980:d7059eb1884c Illumos ZFS issues: 3598 want to dtrace when errors are generated in zfs
| * | Update vendor-sys/illumos/dist to illumos-gate 13979:b01a4832cdf9mm2013-03-121-2/+3
| | | | | | | | | | | | | | | Illumos ZFS issues: 3517 importing pool with autoreplace=on and "hole" vdevs crashes syseventd
| * | Update vendor/illumos/dist and vendor-sys/illumos/distmm2013-03-052-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | to illumos-gate 13977:af7f2603d4d7 Illumos ZFS issues: 3603 panic from bpobj_enqueue_subobj() 3604 zdb should print bpobjs more verbosely
| * | Update vendor/illumos/dist and vendor-sys/illumos/distmm2013-03-057-35/+48
| | | | | | | | | | | | | | | | | | | | | | | | to illumos-gate 13975:ef6409bc370f Illumos ZFS issues: 3582 zfs_delay() should support a variable resolution 3584 DTrace sdt probes for ZFS txg states
* | | Fixup cross-device rename checks in ZFS. Add a check for the casedavide2013-09-201-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | where 'fdvp' is a directory, 'tvp' is an already existing directory and they have different mount points. Reported by: avg, pjd Reviewed by: pjd Approved by: re (rodrigc)
* | | Fix callout_init_rm() in the shared case, allocating storage for 'structdavide2013-09-201-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rm_priotracker' directly in the softclock thread. Now consumers can pass CALLOUT_SHAREDLOCK flag to callout initialization routine safely. The choice of the already existing flags instead of special casing shared rmlocks is done to prevent consumer footshooting. Suggested by: jhb Reviewed by: jhb Approved by: re (delphij)
* | | Remove local change leftover, this should never have been part ofdavide2013-09-201-2/+0
| | | | | | | | | | | | | | | | | | | | | r255745. Pointy-hat to: davide Approved by: re (implicit)
* | | Fix lc_lock/lc_unlock() support for rmlocks held in shared mode. Withdavide2013-09-209-47/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | current lock classes KPI it was really difficult because there was no way to pass an rmtracker object to the lock/unlock routines. In order to accomplish the task, modify the aforementioned functions so that they can return (or pass as argument) an uinptr_t, which is in the rm case used to hold a pointer to struct rm_priotracker for current thread. As an added bonus, this fixes rm_sleep() in the rm shared case, which right now can communicate priotracker structure between lc_unlock()/lc_lock(). Suggested by: jhb Reviewed by: jhb Approved by: re (delphij)
* | | Merge Xen PVHVM support into the GENERIC kernel config for bothgibbs2013-09-2011-109/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | amd64 and i386. Submitted by: Roger Pau Monné Sponsored by: Citrix Systems R&D Reviewed by: gibbs Approved by: re (blanket Xen) MFC after: 2 weeks sys/amd64/amd64/mp_machdep.c: sys/amd64/include/cpu.h: sys/i386/i386/mp_machdep.c: sys/i386/include/cpu.h: - Introduce two new CPU hooks for initialization and resume purposes. This allows us to get rid of the XENHVM ifdefs in mp_machdep, and also sets some hooks into common code that can be used by other hypervisor implementations. sys/amd64/conf/XENHVM: sys/i386/conf/XENHVM: - Remove these configs now that GENERIC has builtin support for Xen HVM. sys/kern/subr_smp.c: - Make sure there are no pending IPIs when suspending a system. sys/x86/xen/hvm.c: - Add cpu init and resume vectors that are called from mp_machdep using the new hooks. - Only clear the vcpu_info mapping data on resume. It is already clear for the BSP on a cold boot and is set correctly as APs are started. - Gate xen_hvm_init_cpu only to systems running under Xen. sys/x86/xen/xen_intr.c: - Gate the setup of event channels only to systems running under Xen.
* | | Add some spare fields to structs used by the new iSCSI stack - some justtrasz2013-09-202-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | in case, some for future MC/S support. This requires kernel and world rebuild. Approved by: re (blanket) Sponsored by: FreeBSD Foundation
* | | Fix GCC build for all ARMs. Revert bug introduced in r255613.zbb2013-09-201-4/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | Previous change applied in r255613 fixed build for ARMv6 but broke it for previous architecture revisions. This commit eventually fixes GCC build for all ARM revisions. Approved by: cognet (mentor) Approved by: re (kib)
* | | Substantial rewrite of bxe(4) to add support for the BCM57712 anddavidch2013-09-2051-108197/+178173
| | | | | | | | | | | | | | | | | | | | | BCM578XX controllers. Approved by: re MFC after: 4 weeks
* | | Improve grammar and readability.hiren2013-09-201-3/+3
| | | | | | | | | | | | | | | Reviewed by: sbruno, loos Approved by: re (gjb)
* | | Merge the following changes from projects/bhyve_npt_pmap:neel2013-09-203-7/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add fields to 'struct pmap' that are required to manage nested page tables. - add a parameter to 'vmspace_alloc()' that can be used to override the default pmap initialization routine 'pmap_pinit()'. These changes are pushed ahead of the remaining changes in 'bhyve_npt_pmap' in anticipation of the upcoming KBI freeze for 10.0. Reviewed by: kib@, alc@ Approved by: re (glebius)
* | | Correct stale comments.jhb2013-09-201-3/+1
| | | | | | | | | | | | Approved by: re (joel)
* | | Fix a range check and a display string.hiren2013-09-201-2/+2
| | | | | | | | | | | | | | | | | | Reviewed by: loos Approved by: sbruno (mentor, implicit) Approved by: re (glebius)
* | | Add support for suspend/resume/migration operations when running as agibbs2013-09-2019-122/+420
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Xen PVHVM guest. Submitted by: Roger Pau Monné Sponsored by: Citrix Systems R&D Reviewed by: gibbs Approved by: re (blanket Xen) MFC after: 2 weeks sys/amd64/amd64/mp_machdep.c: sys/i386/i386/mp_machdep.c: - Make sure that are no MMU related IPIs pending on migration. - Reset pending IPI_BITMAP on resume. - Init vcpu_info on resume. sys/amd64/include/intr_machdep.h: sys/i386/include/intr_machdep.h: sys/x86/acpica/acpi_wakeup.c: sys/x86/x86/intr_machdep.c: sys/x86/isa/atpic.c: sys/x86/x86/io_apic.c: sys/x86/x86/local_apic.c: - Add a "suspend_cancelled" parameter to pic_resume(). For the Xen PIC, restoration of interrupt services differs between the aborted suspend and normal resume cases, so we must provide this information. sys/dev/acpica/acpi_timer.c: sys/dev/xen/timer/timer.c: sys/timetc.h: - Don't swap out "suspend safe" timers across a suspend/resume cycle. This includes the Xen PV and ACPI timers. sys/dev/xen/control/control.c: - Perform proper suspend/resume process for PVHVM: - Suspend all APs before going into suspension, this allows us to reset the vcpu_info on resume for each AP. - Reset shared info page and callback on resume. sys/dev/xen/timer/timer.c: - Implement suspend/resume support for the PV timer. Since FreeBSD doesn't perform a per-cpu resume of the timer, we need to call smp_rendezvous in order to correctly resume the timer on each CPU. sys/dev/xen/xenpci/xenpci.c: - Don't reset the PCI interrupt on each suspend/resume. sys/kern/subr_smp.c: - When suspending a PVHVM domain make sure there are no MMU IPIs in-flight, or we will get a lockup on resume due to the fact that pending event channels are not carried over on migration. - Implement a generic version of restart_cpus that can be used by suspended and stopped cpus. sys/x86/xen/hvm.c: - Implement resume support for the hypercall page and shared info. - Clear vcpu_info so it can be reset by APs when resuming from suspension. sys/dev/xen/xenpci/xenpci.c: sys/x86/xen/hvm.c: sys/x86/xen/xen_intr.c: - Support UP kernel configurations. sys/x86/xen/xen_intr.c: - Properly rebind per-cpus VIRQs and IPIs on resume.
* | | sys/i386/xen/mp_machdep.c:gibbs2013-09-202-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sys/i386/xen/mptable.c: Set PCPU apic_id and acpi_id fields in a fasion compatible with both UP and SMP configurations. Suggested by: jhb Submitted by: Roger Pau Monné Sponsored by: Citrix Systems R&D Reviewed by: gibbs Approved by: re (blanket Xen) MFC after: 2 weeks
* | | The pmap function pmap_clear_reference() is no longer used. Remove it.alc2013-09-2013-328/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | pmap_clear_reference() has had exactly one caller in the kernel for several years, more precisely, since FreeBSD 8. Now, that call no longer exists. Approved by: re (kib) Sponsored by: EMC / Isilon Storage Division
* | | Regenerate after addition of WITH_LLDBemaste2013-09-201-1/+16
| | | | | | | | | | | | Approved by: re (blanket)
* | | Add LLDB bmake infrastructureemaste2013-09-2042-10/+1112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This connects LLDB to the build, but it is disabled by default. Add WITH_LLDB= to src.conf to build it. Note that LLDB requires a C++11 compiler so is disabled on platforms using GCC. Approved by: re (gjb) Sponsored by: DARPA, AFRL
* | | Disable LLDB OSX ABI pluginemaste2013-09-201-6/+0
| | | | | | | | | | | | Approved by: re (blanket)
* | | Update arcmsr(4) driver to 1.20.00.28 which fixes mutex recursion indelphij2013-09-191-15/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CCB abort codepath. Many thanks to Areca for continuing to support FreeBSD. Submitted by: 黃清隆 <ching2048 areca com tw> MFC after: 2 weeks Approved by: re (?)
* | | Fix comments.trociny2013-09-191-3/+2
| | | | | | | | | | | | | | | Approved by: re (marius) MFC after: 3 days
* | | When updating the map of dirty extents, most recently used extents aretrociny2013-09-192-9/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | kept dirty to reduce the number of on-disk metadata updates. The sequence of operations is: 1) acquire the activemap lock; 2) update in-memory map; 3) if the list of keepdirty extents is changed, update on-disk metadata; 4) release the lock. On-disk updates are not frequent in comparison with in-memory updates, while require much more time. So situations are possible when one thread is updating on-disk metadata and another one is waiting for the activemap lock just to update the in-memory map. Improve this by introducing additional, on-disk map lock: when in-memory map is updated and it is detected that the on-disk map needs update too, the on-disk map lock is acquired and the on-memory lock is released before flushing the map. Reported by: Yamagi Burmeister yamagi.org Tested by: Yamagi Burmeister yamagi.org Reviewed by: pjd Approved by: re (marius) MFC after: 2 weeks
* | | - calendar uses cpp internally, this diff removes this usage anddb2013-09-196-65/+279
| | | | | | | | | | | | | | | | | | | | | substitutes a limited subset cpp processor internally. PR: src/178463 Approved by: re (gjb)
* | | Use cv_broadcast() instead of cv_signal() when waking up threadstrociny2013-09-192-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | waiting on an empty queue as the queue may have several consumers. Before the fix the following scenario was possible: 2 threads are waiting on empty queue, 2 threads are inserting simultaneously. The first inserting thread detects that the queue is empty and is going to send the signal, but before it sends the second thread inserts too. When the first sends the signal only one of the waiting threads receive it while the other one may wait forever. The scenario above is is believed to be the cause of the observed cases, when ggate_recv_thread() was getting stuck on taking free request, while the free queue was not empty. Reviewed by: pjd Tested by: Yamagi Burmeister yamagi.org Approved by: re (marius) MFC after: 2 weeks
* | | Further refinement to bmake bootstrappingemaste2013-09-191-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Include PROGNAME and DESTDIR in ${MMAKE} so that it doesn't need to be passed to each make invocation. Suggested by: hrs Reviewed by: hrs Approved by: re (gjb)
* | | Remove extra 'MAKE_FLAGS' line.gjb2013-09-191-1/+0
| | | | | | | | | | | | | | | | | | Submitted by: jhb Approved by: re (marius) Sponsored by: The FreeBSD Foundation
* | | Minor mdoc improvements.joel2013-09-192-5/+7
| | | | | | | | | | | | Approved by: re (blanket)
OpenPOWER on IntegriCloud