aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Use direct custom implementations instead of g_handleattr() for CFI and NANDAlexander Motin2013-06-122-24/+27
| | | | | | | | | d_getattr(). Since these drivers use disk(9) KPI and not directly GEOM, use of that function means KPI layering violation, causing extra g_io_deliver() call for the request. Notes: svn path=/head/; revision=251651
* Add missing copyright notice.Nathan Whitehorn2013-06-121-2/+27
| | | | Notes: svn path=/head/; revision=251650
* Acquire periph reference when handling d_getattr() method call.Alexander Motin2013-06-122-0/+6
| | | | | | | | | | | While GEOM in general has provider opened while sending BIO_GETATTR, GEOM DISK does not really need to open disk to read medium-unrelated attributes for own use. Proposed by: ken Notes: svn path=/head/; revision=251649
* style(9)Greg Lehey2013-06-121-1/+0
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=251648
* Handle some expression regressions.Greg Lehey2013-06-126-71/+113
| | | | | | | | | | | | | | | Explicitly use GNU cpp for preprocessing. Remove explicit debugging code. Change some variable names to be less confusing. Improve some comments. Improve indentation. PR: 162211 168785 MFC after: 2 weeks Notes: svn path=/head/; revision=251647
* MFV r251644:Xin LI2013-06-1213-386/+548
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Poor ZFS send / receive performance due to snapshot hold / release processing (by smh@) Illumos ZFS issues: 3740 Poor ZFS send / receive performance due to snapshot hold / release processing MFC after: 2 weeks Notes: svn path=/head/; revision=251646
| * Update vendor/illumos/dist and vendor-sys/illumos/distXin LI2013-06-1213-386/+548
| | | | | | | | | | | | | | | | | | | | | | to illumos-gate 14052:1a272fe1337b Illumos ZFS issues: 3740 Poor ZFS send / receive performance due to snapshot hold / release processing Notes: svn path=/vendor-sys/illumos/dist/; revision=251644
* | Remove the AR9285 specific structure for LNA diversity and use the HAL.Adrian Chadd2013-06-123-19/+13
| | | | | | | | | | | | | | | | The AR9300 HAL update included the LNA diversity configuration information so it can be used in the AR9485 configuration code. Notes: svn path=/head/; revision=251643
* | Merge latest NetBSD changes.Eitan Adler2013-06-111-37/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds some new NetBSD releases and makes some simple formatting changes. With this commit NetBSD and FreeBSD should have identical files. DragonflyFBSD has the version immediately prior to this commit. When committing to this file please try to coordinate with all three groups. Submitted by: Alan Barrett <apb@cequrux.com> Notes: svn path=/head/; revision=251640
* | pthread_testcancel(3): Update list of cancellation points.Jilles Tjoelker2013-06-111-4/+37
| | | | | | | | | | | | | | | | This should be a fairly complete list of cancellation points in libc, libthr and librt, including standard as well as non-standard functions. Notes: svn path=/head/; revision=251639
* | cxgbe/tom: Allow caller to select the queue (control or data) used toNavdeep Parhar2013-06-113-9/+9
| | | | | | | | | | | | | | | | | | send the CPL_SET_TCB_FIELD request in t4_set_tcb_field(). MFC after: 1 week Notes: svn path=/head/; revision=251638
* | Borrow the algorithm from kvm_getprocs() to fix procstat_getprocs() toJohn Baldwin2013-06-111-7/+11
| | | | | | | | | | | | | | | | | | | | handle the case where the process tables grows in between the calls to fetch the size and fetch the table. MFC after: 1 week Notes: svn path=/head/; revision=251637
* | MFV r251626:Xin LI2013-06-114-12/+71
|\| | | | | | | | | | | | | | | | | | | | | | | ZFS event processing should work on R/O root filesystems Illumos ZFS issues: 3749 zfs event processing should work on R/O root filesystems MFC after: 2 weeks Notes: svn path=/head/; revision=251636
| * Update vendor-sys/illumos/dist to illumos-gate 14051:849852750426Xin LI2013-06-114-12/+71
| | | | | | | | | | | | | | | | Illumos ZFS issues: 3749 zfs event processing should work on R/O root filesystems Notes: svn path=/vendor-sys/illumos/dist/; revision=251626
* | MFV r251624:Xin LI2013-06-112-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | txg commit callbacks don't work Illumos ZFS issues: 3747 txg commit callbacks don't work MFC after: 2 weeks Notes: svn path=/head/; revision=251635
| * Update vendor/illumos/dist and vendor-sys/illumos/distXin LI2013-06-112-2/+2
| | | | | | | | | | | | | | | | | | | | to illumos-gate 14050:0c8d9998d589 Illumos ZFS issues: 3747 txg commit callbacks don't work Notes: svn path=/vendor-sys/illumos/dist/; revision=251624
* | MFV r251623:Xin LI2013-06-112-24/+29
|\| | | | | | | | | | | | | | | | | | | | | | | zpool create should treat -O mountpoint and -m the same Illumos ZFS issues: 3745 zpool create should treat -O mountpoint and -m the same MFC after: 2 weeks Notes: svn path=/head/; revision=251634
| * Update vendor/illumos/dist to illumos-gate 14049:4a7f6353bcf0Xin LI2013-06-112-24/+29
| | | | | | | | | | | | | | | | Illumos ZFS issues: 3745 zpool create should treat -O mountpoint and -m the same Notes: svn path=/vendor/illumos/dist/; revision=251623
* | MFV r251622:Xin LI2013-06-113-21/+33
|\| | | | | | | | | | | | | | | | | | | | | | | ZFS shouldn't ignore errors unmounting snapshots Illumos ZFS issues: 3744 zfs shouldn't ignore errors unmounting snapshots MFC after: 2 weeks Notes: svn path=/head/; revision=251633
| * Update vendor-sys/illumos/dist to illumos-gate 14048:ce96ca723606Xin LI2013-06-113-20/+32
| | | | | | | | | | | | | | | | Illumos ZFS issues: 3744 zfs shouldn't ignore errors unmounting snapshots Notes: svn path=/vendor-sys/illumos/dist/; revision=251622
* | MFV r251621:Xin LI2013-06-113-16/+30
|\| | | | | | | | | | | | | | | | | | | | | | | ZFS needs a refcount audit Illumos ZFS issues: 3741 zfs needs a refcount audit MFC after: 2 weeks Notes: svn path=/head/; revision=251632
| * Update vendor-sys/illumos/dist to illumos-gate 14047:e8c1f215cb15Xin LI2013-06-113-16/+30
| | | | | | | | | | | | | | | | Illumos ZFS issues: 3743 zfs needs a refcount audit Notes: svn path=/vendor-sys/illumos/dist/; revision=251621
* | MFV r251620:Xin LI2013-06-1139-270/+243
|\| | | | | | | | | | | | | | | | | | | | | | | ZFS comments need cleaner, more consistent style Illumos ZFS issues: 3741 zfs comments need cleaner, more consistent style MFC after: 2 weeks Notes: svn path=/head/; revision=251631
| * Update vendor-sys/illumos/dist to illumos-gate 14046:6a5a2f4a47dbXin LI2013-06-1139-269/+242
| | | | | | | | | | | | | | | | Illumos ZFS issues: 3742 zfs comments need cleaner, more consistent style Notes: svn path=/vendor-sys/illumos/dist/; revision=251620
* | Bump the CPU/WCPU column width by one so that it fits values from 100% upJohn Baldwin2013-06-111-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | to 999.99% CPU. It still won't be aligned if you have a multithreaded process using more than 1000% CPU (e.g. idle process on an idle 12-way system), but 100% is a common case. Submitted by: Jeremy Chadwick (partial) MFC after: 1 week Notes: svn path=/head/; revision=251630
* | MFV r251619:Xin LI2013-06-1112-12/+156
|\| | | | | | | | | | | | | | | | | | | | | | | ZFS needs better comments. Illumos ZFS issues: 3741 zfs needs better comments MFC after: 2 weeks Notes: svn path=/head/; revision=251629
| * Update vendor/illumos/dist and vendor-sys/illumos/distXin LI2013-06-1112-12/+156
| | | | | | | | | | | | | | | | | | | | to illumos-gate 14045:9475b3fef59d Illumos ZFS issues: 3741 zfs needs better comments Notes: svn path=/vendor-sys/illumos/dist/; revision=251619
* | Add the name of the file that could not be opened to the error messageGuy Helmer2013-06-111-1/+1
| | | | | | | | | | | | | | | | | | regarding the failure. Suggested while working on PR bin/113239. Notes: svn path=/head/; revision=251627
* | Prevent races running the queue by serializing access to theGuy Helmer2013-06-111-0/+4
| | | | | | | | | | | | | | | | | | queue directory. PR: bin/113239 Notes: svn path=/head/; revision=251625
* | Move the check whether the clear flag is set. This has 2 advantagesFlorian Smeets2013-06-111-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - When operating on a core file (-M) and -c is specified we don't clear the message buffer of the running system. - If we don't have permission to clear the buffer print the error message only. That's what Linux does in this case, where this feature was ported from, and it ensures that the error message doesn't get lost in the noise. Discussed with: antoine, cognet Approved by: cognet Notes: svn path=/head/; revision=251618
* | Store a reference to the vnode associated with a file descriptor in theJohn Baldwin2013-06-112-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | linux_file structure and use it instead of directly accessing td_fpop when destroying the linux_file structure. The td_fpop pointer is not valid when a cdevpriv destructor is run, and the type-specific close method has already been called, so f_vnode may not be valid (and the vnode might have been recycled without our own reference). Tested by: Julian Stecklina <jsteckli@os.inf.tu-dresden.de> MFC after: 1 week Notes: svn path=/head/; revision=251617
* | Don't update provider properties and don't set DISKFLAG_OPEN if d_open()Alexander Motin2013-06-111-0/+2
| | | | | | | | | | | | | | | | disk method call returned error. GEOM considers devices in such case as still closed, and won't call symmetric d_close() for them. Notes: svn path=/head/; revision=251616
* | Make the default choice for FTP media access use "auto".Devin Teske2013-06-112-2/+2
| | | | | | | | Notes: svn path=/head/; revision=251613
* | s/file system/filesystem/gPedro F. Giffuni2013-06-113-8/+8
| | | | | | | | | | | | | | | | | | Based on r96755 from UFS. MFC after: 3 days Notes: svn path=/head/; revision=251612
* | Add another comment about WB195 (AR9285+AR3011) when using ASPM.Adrian Chadd2013-06-101-0/+4
| | | | | | | | Notes: svn path=/head/; revision=251606
* | There is a one-to-one correspondence between the MSI-X vector # and the ↵David C Somayajulu2013-06-101-7/+1
| | | | | | | | | | | | | | | | | | Status Descriptor Ring Index. Hence there is no need to check the Interrupt Source Register. Approved by: George Neville-Neil Notes: svn path=/head/; revision=251605
* | Revert r251590. It unexpectedly broke the build and there were someMarcel Moolenaar2013-06-102-14/+0
| | | | | | | | | | | | | | | | questions on locking. As part of commit-bit grooming, I'd like Steve to handle this, but can't leave things broken in the mean time. Notes: svn path=/head/; revision=251604
* | Handle options that override other optionsEd Maste2013-06-101-5/+18
| | | | | | | | | | | | | | | | | | This is a workaround for WITH_LDNS_UTILS forcing BIND_UTILS off. It can be reverted when we no longer have these conflicting options, or made more general if we grow more cases like this. Notes: svn path=/head/; revision=251601
* | Avoid unnecessary controller reinitialization by checking driverPyun YongHyeon2013-06-101-6/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | running state. fxp(4) requires controller reinitialization for the following cases. o RX lockup condition on i82557 o promiscuous mode change o multicast filter change o WOL configuration o TSO/VLAN hardware tagging/checksum offloading configuration o MAC reprogramming after speed/duplex/flow-control resolution o Any events that result in MAC reprogramming(link UP/DOWN, remote link partner's restart of auto-negotiation etc) o Microcode loading/unloading Apart from above cases which come from hardware limitation, upper stack also blindly reinitializes controller whenever an IP address is assigned. After r194573, fxp(4) no longer needs to reinitialize the controller to program multicast filter after upping the interface. So keeping track of driver running state should remove all unnecessary controller reinitializations. This change will also address endless controller reinitialization triggered by dhclient(8). Tested by: hrs, Alban Hertroys <haramrae@gmail.com> Notes: svn path=/head/; revision=251600
* | Add implementations of acoshl(), asinhl(), and atanhl(). This is aDavid Schultz2013-06-1012-48/+344
| | | | | | | | | | | | | | merge of the work done by bde and myself. Notes: svn path=/head/; revision=251599
* | Fix some bugs in the complex trig tests so that they test both doubleDavid Schultz2013-06-101-33/+68
| | | | | | | | | | | | | | and float precision properly. Notes: svn path=/head/; revision=251598
* | Regen.Rui Paulo2013-06-101-2/+229
| | | | | | | | Notes: svn path=/head/; revision=251597
* | Use STRUCT_USB_HOST_ID to make sure we have the right ELF section.Rui Paulo2013-06-101-1/+1
| | | | | | | | Notes: svn path=/head/; revision=251596
* | Revise the interface between vm_object_madvise() and vm_page_dontneed() soAlan Cox2013-06-103-31/+30
| | | | | | | | | | | | | | | | | | | | that pointless calls to pmap_is_modified() can be easily avoided when performing madvise(..., MADV_FREE). Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=251591
* | Add vfs_mounted and vfs_unmounted events so that components can be informedMarcel Moolenaar2013-06-092-0/+14
| | | | | | | | | | | | | | | | | | | | | | about mount and unmount events. This is used by Juniper to implement a more optimal implementation of NetBSD's veriexec. Submitted by: stevek@juniper.net Obtained from: Juniper Networks, Inc Notes: svn path=/head/; revision=251590
* | - The method introduced as part of r234898 for not altering the boot pathMarius Strobl2013-06-091-24/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when booting from ZFS turned out to also cause the boot path not being adjusted if booting from CD-ROM with firmware versions that do not employ the "cdrom" alias in that case. So shuffle the code around instead in order to achieve the original intent. Ideally, we shouldn't fiddle with the boot path when booting from UFS on a disk either; unfortunately, there doesn't seem to be an universal way of telling disks and CD-ROMs apart, though. [1] - Use NULL instead of 0 for pointers. PR: 179289 MFC after: 1 week Notes: svn path=/head/; revision=251589
* | Change the set and unset ctlreqs by making the index argument optional.Marcel Moolenaar2013-06-096-39/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows setting attributes on tables. One simply does not provide an index in that case. Otherwise the entry corresponding the index has the attribute set or unset. Use this change to fix a relatively longstanding bug in our GPT scheme that's the result of rev 198097 (relatively harmless) followed by rev 237057 (damaging). The damaging part being that our GPT scheme always has the active flag set on the PMBR slice. This is in violation with EFI. Existing EFI implementions for both x86 and ia64 reject the GPT. As such, GPT disks created by us aren't usable under EFI because of that. After this change, GPT disks never have the active flag set on the PMBR slice. In order to make the GPT disk bootable under some x86 BIOSes, the reason of rev 198097, one must now set the active attribute on the gpt table. The kernel will apply this to the PMBR slice For (S)ATA: gpart set -a active ada0 To fix an existing GPT disk that has the active flag set in the PMBR, and that does not need the flag, use (again for (S)ATA): gpart unset -a active ada0 The EBR, MBR & PC98 schemes, which also impement at least 1 attribute, now check to make sure the entry passed is valid. They do not have attributes that apply to the table. Notes: svn path=/head/; revision=251588
* | Remove stub implementation.Marcel Moolenaar2013-06-091-11/+0
| | | | | | | | Notes: svn path=/head/; revision=251587
* | Increase the maximum KVM available on TI chips. Not sure why we suddenly needOlivier Houchard2013-06-091-3/+3
| | | | | | | | | | | | | | that much, but that lets me boot with 1GB of RAM. Notes: svn path=/head/; revision=251586
* | Modify nfsstat.c so that it prints out an error when a non-rootRick Macklem2013-06-091-0/+3
| | | | | | | | | | | | | | | | | | | | user attempts to use the "-m" option and it fails. Requested by: danny@cs.huji.ac.il MFC after: 2 weeks Notes: svn path=/head/; revision=251585