summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFV r286224: 5695 dmu_sync'ed holes do not retain birth timedelphij2015-09-141-1/+3
| | | | | | | | (userland portion that was not merged in r286677) Update zdb to also print ltime, type, and level information for these new style holes. Previously, only the logical birth time would be printed.
* MFV r277429:delphij2015-09-142-7/+17
| | | | | | | | | | | | | | | | | Document -S option when zfs inherit fails on quota and in manual pages. Illumos ZFS issues: 5410 Document -S option to zfs inherit https://illumos.org/issues/5410 5412 Mention -S option when zfs inherit fails on quota https://illumos.org/issues/5412 illumos/illumos-gate@5ff8cfa92ec8ea0f8593ad21aa2a04829b0ef5ea MFC after: 2 weeks
* Add preliminary support for RTL8168H, tested by Sreenath Battalahalli.marius2015-09-132-0/+3
| | | | MFC after: 1 week
* - Sanity check that the parent ranges given in the "ranges" propertymarius2015-09-131-11/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | of PCI-EBus-bridges actually match the BARs as specified in and required by [1, p. 113 f.]. Doing so earlier would have simplified diagnosing a bug in QEMU/OpenBIOS getting the mapping of child addresses wrong, which still needs to be fixed there. In theory, we could try to change the BARs accordingly if we hit this problem. However, at least with real machines changing the decoding likely won't work, especially if the PCI-EBus-bridge is beneath an APB one. So implementing such functionality generally is rather pointless. - Actually change the allocation type of EBus resources if they change from SYS_RES_MEMORY to SYS_RES_IOPORT when mapping them to PCI ranges in ebus_alloc_resource() and passing them up to bus_activate_resource(9). This may happen with the QEMU/OpenBIOS PCI-EBus-bridge but not real ones. Still, this is only cleans up the code and the result of resource allocation and activation is unchanged. - Change the remainder of printf(9) to device_printf(9) calls and canonicalize their wording. MFC after: 1 week Peripheral Component Interconnect Input Output Controller, Part No.: 802-7837-01, Sun Microelectronics, March 1997 [1]
* Add negotiation of iSCSIProtocolLevel to 2 (RFC7144).mav2015-09-131-0/+5
| | | | | We may need to pass negotiated value to kernel level, but so far it is not necessary, since it does not use any new features without request.
* Map CLEAR TASK SET and I_T NEXUS RESET for iSCSI.mav2015-09-131-0/+12
| | | | The last should not be called without iSCSIProtocolLevel negotiation.
* Implement iSCSI TARGET COLD RESET task management function.mav2015-09-131-1/+23
| | | | Implement it as CTL_TASK_TARGET_RESET plus termination of all sessions.
* Disable mgmt frame sending in if_rsu.adrian2015-09-131-0/+8
| | | | | | | | | | | | | | | | | | | | | | The firmware in this NIC sends management frames. So far I'm not sure which ones it handles and which ones it doesn't handle - but this is what openbsd does. The association messages are handled by the firmware; the key negotiation for 802.1x and WPA are done as raw frames, not management frames. This successfully allows it to associate to my home networks whereas it didn't work beforehand. Tested: * RTL8712, cut 3, STA mode TODO: * The firmware does send a join response with a status code; that should be logged in a more obvious way to assist with debugging. Ie, the firmware is the thing that is saying "couldn't join, sorry!", not net80211.
* Update em(4) with D3162 after testing further on hardware that failedsbruno2015-09-1324-378/+1263
| | | | | | | | | | | | | | | | | | | | | | | to attach with the last version of this commit. This commit fixes attach failures on "ICH8" class devices via modifications to e1000_init_nvm_params_ich8lan() - Fix compiler warning in 80003es2lan.c - Add return value handler for e1000_*_kmrn_reg_80003es2lan - Fix usage of DEBUGOUT - Remove unnecessary variable initializations. - Removed unused variables (complaints from gcc). - Edit defines in 82571.h. - Add workaround for igb hw errata. - Shared code changes for Skylake/I219 support. - Remove unused OBFF and LTR functions. Tested by some of the folks that reported breakage in previous incarnation. Thanks to AllanJude, gjb, gnn, tijl for tempting fate with their machines. Submitted by: erj@freebsd.org MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D3162
* db/recno: Open with close-on-exec like btree and hash do.jilles2015-09-131-1/+1
|
* Improve read-only support.mav2015-09-135-5/+22
|
* dd DTrace probe points, translators and a corresponding scriptgnn2015-09-139-1/+360
| | | | | | | | | to provide the TCPDEBUG functionality with pure DTrace. Reviewed by: rwatson MFC after: 2 weeks Sponsored by: Limelight Networks Differential Revision: D3530
* Reannounce port to HA peer if LUN map changed after online.mav2015-09-131-6/+12
|
* When updating port, apply only change of LUN map, not whole.mav2015-09-133-3/+11
|
* Report INQUIRY DATA HAS CHANGED for related LUNs on port on-/offline.mav2015-09-134-18/+54
|
* Report CTL_UA_LUN_CHANGE on LUN map change.mav2015-09-131-23/+28
|
* setuid(2): Suggest O_CLOEXEC instead of fcntl(F_SETFD).jilles2015-09-131-7/+2
|
* Make TARGET RESET respect LUN mapping.mav2015-09-131-1/+7
|
* Add ID for Intel Panther Point KT Controllermav2015-09-131-0/+1
| | | | | | | Found on ASUS P8Q77-M motherboard. Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com> MFC after: 2 weeks
* MFV r287623: 5997 FRU field not set during pool creation and neverdelphij2015-09-133-6/+28
| | | | | | | | | | | | | | | | | | | | | | | | | updated ZFS already supports storing the vdev FRU in a vdev property. There is code in libzfs to work with this property, and there is code in the zfs-retire FMA module that looks for that information. But there is no code actually setting or updating the FRU. To address this, ZFS is changed to send a handful of new events whenever a vdev is added, attached, cleared, or onlined, as well as when a pool is created or imported. Note that syseventd is not currently available on FreeBSD and thus some work is needed to actually support the new ZFS events (e.g. in zfsd) to actually use this capability, this changeset is mostly a diff reduction from upstream. illumos/illumos-gate@1437283407f89cab03860accf49408f94559bc34 Illumos issues: 5997 FRU field not set during pool creation and never updated https://www.illumos.org/issues/5997
* Note r286552 as merged and reduce diff against upstream.delphij2015-09-131-0/+1
|
* Add RSSI logging to the event survey results.adrian2015-09-131-2/+3
|
* After reading the linux driver, document what this bit is doingadrian2015-09-131-1/+1
| | | | (doing a full NIC awake.)
* * fiddle with some more of the debugging outputadrian2015-09-131-10/+12
| | | | | | | | | | * yes, when a "sta disconnect" message comes through we should, like, disconnect things. We're not currently generating beacon miss messages, and net80211 isn't disconnecting things via software beacon miss receive. Tested: * RTL8712, cut 3, STA mode
* Merge r286374 from x86:marius2015-09-131-9/+11
| | | | | | | | Formally pair store_rel(&smp_started) with load_acq(&smp_started). Similarly to x86, this change is mostly a NOP due to the kernel being run in total store order. MFC after: 1 week
* if_rsu debug fixes:adrian2015-09-121-28/+99
| | | | | | | | | | * use an ath/iwn style debug bitmap - it's still global rather than per-device, but it's better than debug levels * disable bgscan - it just makes things unstable/unpredictable for now. Tested: * if_rsu - RTL8712 cut 3, STA mode
* - Factor out the common and generic parts of the sparc64 host-PCI-bridgemarius2015-09-1212-966/+615
| | | | | | | | | | | | drivers into the revived sys/sparc64/pci/ofw_pci.c, previously already serving a similar purpose. This has been done with sun4v in mind, which explains a) the otherwise not that obvious scheme employed and b) why reusing sys/powerpc/ofw/ofw_pci.c was even lesser an option. - Add a workaround for QEMU once again not emulating real machines, in this case by not providing the OFW_PCI_CS_MEM64 range. [1] Submitted by: jhb [1] MFC after: 1 week
* Fix compilation issue introduced in r287717.tuexen2015-09-121-1/+1
| | | | | | Thanks to bz@ for making me aware of it. MFC after: 1 week
* Check for obsolete NUL bin in CSCD descriptor.mav2015-09-122-1/+3
|
* Add HA support for CTL_TASK_I_T_NEXUS_RESET.mav2015-09-121-2/+13
|
* Fix false CTL_UA_RES_RELEASE on secondary HA node.mav2015-09-121-3/+5
|
* Address a compile warning.tuexen2015-09-121-2/+2
| | | | MFC after: 1 week
* Decode WRITE ATOMIC(16) command.mav2015-09-121-1/+2
|
* Cleanup the handling of error causes for ERROR chunks. This fixestuexen2015-09-125-156/+82
| | | | | | | an inconsistency of the padding handling. The final padding is now considered to be a chunk padding. MFC after: 1 week
* Do not call mii_mediachg() from NIC interrupt handler.loos2015-09-121-3/+1
| | | | | | This fixes the link instability on banana pi (A20). Suggested by: yongari
* Improve XCOPY error reporting.mav2015-09-122-17/+30
|
* Report that we have no limit on POPULATE TOKEN segment size.mav2015-09-121-2/+1
|
* Correct RTPG bitmask.mav2015-09-121-1/+1
|
* Some HA polishing.mav2015-09-121-56/+89
|
* CTL documentation update, mostly for HA.mav2015-09-123-14/+69
|
* MFV r287699: 6214 zpools going southdelphij2015-09-122-34/+14
| | | | | | | | | | | | | | | | | In r286570 (MFV of r277426) an unprotected write to b_flags to set the compression mode was introduced. This would open a race window where data is partially decompressed, modified, checksummed and written to the pool, resulting in pool corruption due to the partial decompression. Prevent this by reintroducing b_compress illumos/illumos-gate@d4cd038c92c36fd0ae35945831a8fc2975b5272c Illumos issues: 6214 zpools going south https://www.illumos.org/issues/6214
* Fix build (r287703). Lesson learned: no matter how a change looks like andelphij2015-09-121-0/+2
| | | | | | innocent one, always do a build test first. Pointy hat to: delphij
* Point potential geom_fox(4) users to gmultipath(8).trasz2015-09-121-1/+8
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* MFV r287684: 6091 avl_add doesn't assert on non-debug buildsdelphij2015-09-121-3/+7
| | | | | | | | | | | | Use assfail() from libuutil instead of ASSERT() in userland AVL avl_add. illumos/illumos-gate@faa2b6be2fc102adf9ed584fc1a667b4ddf50d78 Illumos issues: 6091 avl_add doesn't assert on non-debug builds https://www.illumos.org/issues/6091
* MFV r287624: 5987 zfs prefetch code needs workdelphij2015-09-128-668/+267
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rewrite the ZFS prefetch code to detect only forward, sequential streams. The following kstats have been added: kstat.zfs.misc.arcstats.sync_wait_for_async How many sync reads have waited for async read to complete. (less is better) kstat.zfs.misc.arcstats.demand_hit_predictive_prefetch How many demand read didn't have to wait for I/O because of predictive prefetch. (more is better) zfetch kstats have been similified to hits, misses, and max_streams, with max_streams representing times when we were not able to create new stream because we already have the maximum number of sequences for a file. The sysctl variable/loader tunable vfs.zfs.zfetch.block_cap have been replaced by vfs.zfs.zfetch.max_distance, which controls maximum bytes to prefetch per stream. illumos/illumos-gate@cf6106c8a0d6598b045811f9650d66e07eb332af Illumos ZFS issues: 5987 zfs prefetch code needs work https://www.illumos.org/issues/5987
* Regression: fix pw usermod -dbapt2015-09-121-0/+1
| | | | | | | | | Mark the user has having been edited if -d option is passed to usermod and so the request change of home directory actually happen PR: 203052 Reported by: lenzi.sergio@gmail.com MFC after: 2 days
* Fixing a memory leak on module unloading.avatar2015-09-111-0/+1
| | | | MFC after: 3 weeks
* Whitespace alignmentdteske2015-09-111-1/+1
| | | | | | MFC after: 3 weeks X-MFC-to: stable/10 X-MFC-with: 287696
* The <arch>/mkisoimages.sh script in release knows how to adddteske2015-09-111-3/+4
| | | | | | | | | | | extra bits from an "xtra-bits-dir". This feature is unusable from release/Makefile. Add an XTRADIR setting to use it. Differential Revision: https://reviews.freebsd.org/D3633 Reviewed by: kmacy MFC after: 3 weeks X-MFC-to: stable/10 Relnotes: yes
* Replace `return' outside of function with exitdteske2015-09-111-1/+1
| | | | | | MFC after: 3 days X-MFC-to: stable/10 Pointy hat to: me
OpenPOWER on IntegriCloud