summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use consistent punctuation.trasz2014-04-161-3/+4
| | | | Sponsored by: The FreeBSD Foundation
* Use proper terminology in debug messages.trasz2014-04-161-3/+3
| | | | Sponsored by: The FreeBSD Foundation
* Constify.trasz2014-04-162-10/+13
| | | | Sponsored by: The FreeBSD Foundation
* Properly pass the initiator address when running in proxy mode.trasz2014-04-168-37/+56
| | | | Sponsored by: The FreeBSD Foundation
* Use socket address from accept(2) instead of retrieving it viatrasz2014-04-161-11/+13
| | | | | | getpeername(2). Sponsored by: The FreeBSD Foundation
* Rework the way we enable CTL iSCSI port. Previously conf_apply()trasz2014-04-163-8/+16
| | | | | | | | | | | needed it to be already enabled, because listening in proxy mode requires it; however, it's conf_apply() that opens pidfiles, so it resulted in port being enabled before pidfile was opened. This was not so bad, but it was also disabled when pidfile couldn't be opened due to ctld already running; this means that starting second ctld instance screwed up the first. Sponsored by: The FreeBSD Foundation
* Make it possible to interrupt login when running in proxy mode.trasz2014-04-161-6/+21
| | | | Sponsored by: The FreeBSD Foundation
* Properly identify target portal when running in proxy mode. While here,trasz2014-04-168-63/+74
| | | | | | remove CTL_ISCSI_CLOSE, it wasn't used or implemented anyway. Sponsored by: The FreeBSD Foundation
* Add some stuff to make it easier to figure out for the system administratortrasz2014-04-163-2/+25
| | | | | | whether the ICL_KERNEL_PROXY stuff got compiled in correctly. Sponsored by: The FreeBSD Foundation
* Make it possible for the iSCSI target side to operate in both normaltrasz2014-04-165-125/+164
| | | | | | | and ICL_KERNEL_PROXY mode, and fix some bit rot so the latter actually works again. Sponsored by: The FreeBSD Foundation
* Backout r257223,r257224,r257225,r257246,r257710. The changes causedglebius2014-04-162-355/+84
| | | | | | | some regressions in ICMP handling, and right now me and Baptiste are out of time on analyzing them. PR: 188253
* Remove _IP_VHL* macros and related ifdefs.ae2014-04-162-24/+0
| | | | MFC after: 1 week
* Fix armv6 build failure: "armv6-freebsd-gcc: not found"gjb2014-04-151-1/+1
| | | | | Help from: imp Sponsored by: The FreeBSD Foundation
* Vlan did not set the value of if_hw_tsomax, so when vlanrmacklem2014-04-151-0/+2
| | | | | | | | | | was stacked on top of a network interface that set if_hw_tsomax, tcp_output() would see the default value instead of the value set by the network interface. This patch modifies vlan so that it sets if_hw_tsomax to the value of the parent interface. Reviewed by: glebius MFC after: 2 weeks
* Don't spindown the BSP if it executes hlt with the APIC disabled. Ajhb2014-04-151-3/+5
| | | | | | | guest that doesn't use the APIC at all can trigger this, plus the BSP always needs to execute as it should trigger a reset, etc. Reviewed by: tychon
* Document WITHOUT_GPL_DTC too.imp2014-04-151-0/+3
|
* Correct a typo in a device description added in r264257.marius2014-04-151-1/+1
|
* Local APIC access via 32-bit naturally-aligned loads is merelytychon2014-04-151-3/+5
| | | | | | | suggested in the SDM. Since some OSes have implemented otherwise don't be too rigorous in enforcing it. Approved by: grehan (co-mentor)
* Correct sorting.brueffer2014-04-151-1/+1
|
* Mention Capsicum.brueffer2014-04-151-1/+7
| | | | MFC after: 1 week
* Make sure not to do I/O for more than MAXPHYS bytes. Doing so can causemarcel2014-04-151-5/+22
| | | | | | | | | | | | | | | | | | | problems in our providers, such as a KASSERT in md(4). We can initiate I/O for more than MAXPHYS bytes if we've been given a BIO for MAXPHYS bytes, the blocks from which we're reading couldn't be compressed and we had compression in preceeding blocks resulting in misalignment of the blocks we're trying to read relative to the sector. We're forced to round up the I/O length to make it an multiple of the sector size. When we detect the condition, we'll reduce the block count and perform a "short" read. In g_uzip_done() we need to consider the original I/O length and stop early if we're about to deflate a block that we didn't read. By using bio_completed in the cloned BIO and not bio_length to check for this, we automatically and gracefully handle short reads that our providers may be doing on top of the short reads we may initiate ourselves. Obtained from: Juniper Networks, Inc.
* Add support for emulating the byte move and sign extend instructions:tychon2014-04-151-5/+37
| | | | | | "movsx r/m8, r32" and "movsx r/m8, r64". Approved by: grehan (co-mentor)
* Stop treating LUN 0 as mandatory. There is no reason to do that.trasz2014-04-151-7/+6
| | | | | | Suggested by: mav@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Make g_access() KASSERT() more useful.bdrewery2014-04-151-2/+3
| | | | | | Sponsored by: EMC / Isilon Storage Division Obtained from: Isilon OneFS MFC after: 2 weeks
* Fix build for non-INET that was broken by r264469.rmacklem2014-04-151-1/+5
| | | | MFC after: 2 weeks
* Use SMB_QUERY_FS_SIZE_INFO request to populate statfs structure.ae2014-04-153-18/+64
| | | | | | | When server doesn't support this request, try to use SMB_INFO_ALLOCATION. And use SMB_COM_QUERY_INFORMATION_DISK request as fallback. MFC after: 2 weeks
* Add a missing break in option parsing.brueffer2014-04-151-0/+1
| | | | | | CID: 1011452 Found with: Coverity Prevent(tm) MFC after: 1 week
* When merging docsinstall and zfsboot updates to stable/9 it was discovereddteske2014-04-152-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that the slightly older dialog(1) requires --separate-output when using the --checklist widget to force response to produce unquoted values (whereas in stable/10 --checklist widget without --separate-output will only quote the checklist labels in the response if the label is multi-word (contains any whitespace). Since these enhancements (see revisions 263956 and 264437) were developed originally on 10, the --separate-output option was omitted. When merged to stable/9, we (Allan Jude) and I found during testing that the "always- quoting" of the response was causing things like struct interpolation to fail (`f_struct device_$dev' would produce `f_struct device_\"da0\"' for example -- literal quotes inherited from dialog(1) --checklist response). To see the behavior, execute the following on stable/9 versus stable/10: dialog --checklist disks: 0 0 0 da0 "" off da1 "" off Check both items and hit enter. On stable/10, the response is: da0 da1 On stable/9 the response is: "da0" "da1" If you use the --separate-output option, the response is the same for both: da0 da1 So applying --separate-output on every platform until either one of two things occurs 1) dialog(1,3) gets synchronized between stable/9, higher or 2) we drop support for stable/9. MFC after: 3 days Reviewed by: Allan Jude
* Replace a few Solarisisms with their corresponding FreeBSDisms to make a fewmarkj2014-04-156-6/+6
| | | | printf tests pass.
* Use the correct format specifiers for wide characters and strings of widemarkj2014-04-151-0/+5
| | | | | | characters. MFC after: 1 week
* Update the ath(4) manpage with .. well, updated information.adrian2014-04-151-10/+10
| | | | MFC after: 3 days
* Re-indent break statement.brueffer2014-04-141-1/+1
| | | | MFC after: 1 week
* Add dwarf annotations to the amd64 _rtld_bind_start to allow debuggerskib2014-04-141-0/+43
| | | | | | | to unwind around the calls from PLT to binder. Sponsored by: The FreeBSD Foundation MFC after: 1 week
* mergemaster: Avoid "/var/tmp/temproot disappeared" if there is nothing tojilles2014-04-141-1/+1
| | | | | | | | | | | | | | | | | | compare. Because of the change to find in SVN r253886, the entire temproot would be deleted if it became empty, leading to a confusing message "*** FATAL ERROR: The temproot directory ${TEMPROOT} has disappeared!" Note that mergemaster does not do anything useful in this situation anyway (e.g. put IGNORE_FILES="/etc/group /etc/master.passwd" in /etc/mergemaster.rc and run mergemaster -p). As noted in that commit, add -mindepth 1. PR: bin/188485 Submitted by: David Boyd MFC after: 1 week
* Fix double fclose() in an error case.brueffer2014-04-141-1/+1
| | | | | | CID: 1006120 Found with: Coverity Prevent(tm) MFC after: 1 week
* units(1): don't compare pointers with 0eadler2014-04-141-1/+1
| | | | | | | For better readability, don't compare pointers with 0 or assign 0 to them. Use NULL instead. Inspired by: DragonflyBSD
* units(1): Add 'static' and sort list.eadler2014-04-141-18/+18
| | | | Inspired by: DragonflyBSD
* Refine r264422: set buf to NULL only when we don't allocate memory,brueffer2014-04-141-4/+4
| | | | | | | and free buf unconditionally. Requested by: kib MFC after: 1 week
* units(1): Add v option: verboseeadler2014-04-142-14/+39
| | | | | | | For increased compatibility with GNU units: support a -v option which produces more verbose output when spitting out the answer. GNU -v does additional work in the version, information, and check output which we do not (yet?) replicate.
* Lagg did not set the value of if_hw_tsomax, so when laggrmacklem2014-04-141-1/+8
| | | | | | | | | | | was stacked on top of network interfaces that set if_hw_tsomax, tcp_output() would see the default value instead of the value set by the network interface(s). This patch modifies lagg so that it sets if_hw_tsomax to the minimum of the value(s) for the underlying network interfaces. Reviewed by: glebius MFC after: 2 weeks
* Add support for emulating the slave PIC.tychon2014-04-143-68/+135
| | | | | Reviewed by: grehan, jhb Approved by: grehan (co-mentor)
* Take into account when zpool history block grows exceeding 128KB in zpool(8)delphij2014-04-142-7/+54
| | | | | | | | | and zdb(8) by growing the buffer on demand with a cap of 1GB (specified in spa_history_create_obj()). PR: bin/186574 Submitted by: Andrew Childs <lorne cons org nz> (with changes) MFC after: 2 weeks
* Fix err() usage in libcapsicum(3) example.gjb2014-04-141-2/+2
| | | | | MFC after: 3 days Sponsored by: The FreeBSD Foundation
* Prefer /etc/login.conf for some of these environment values.bdrewery2014-04-142-7/+9
| | | | | | | PR: conf/186085 Reported by: Glen Neff <glen.neff@emc.com> MFC after: 2 weeks Sponsored by: EMC
* units(1): Add U optioneadler2014-04-142-4/+16
| | | | | For increased compatibility with GNU units: support a -U option which tests for the existence of the default units file and prints it to the screen.
* units(1): support reading multiple units fileseadler2014-04-141-9/+12
| | | | | GNU units(1) supports reading up to 25 -f options. We support an arbitrary number.
* Commit various fixes for the SolarFlare drivers, in particulargnn2014-04-145-25/+55
| | | | | | | | | | | | | | | | | | | | | | | | | this set of patches fixes support for systems with > 32 cores. Details include sfxge: RXQ index (not label) comes from FW in flush done/failed events Change the second argument name of the efx_rxq_flush_done_ev_t and efx_rxq_flush_failed_ev_t prototypes to highlight that RXQ index (not label) comes from FW in flush done and failed events. sfxge: TXQ index (not label) comes from FW in flush done event Change the second argument name of the efx_txq_flush_done_ev_t prototype to highlight that TXQ index (not label) comes from FW in flush done event. sfxge: use TXQ type as label to support more than 32 TXQs There are 3 TXQs in event queue 0 and 1 TXQ (with TCP/UDP checksum offload) in all other event queues. Submitted by: Andrew Rybchenko <Andrew.Rybchenko at oktetlabs.ru> Sponsored by: Solarflare Communications, Inc.
* Document the xdev* targets.brueffer2014-04-141-0/+4
| | | | | | | PR: 188519 Submitted by: Idwer Vollering <vidwer at gmail.com> Reviewed by: bapt MFC after: 1 week
* units(1): parse config file after setting defaultseadler2014-04-141-1/+1
| | | | | Parse the config file after setting the defaults to permit the user to change things (e.g., editing mode)
* units(1): add libedit supporteadler2014-04-142-19/+51
| | | | | | Add line editing and history support to units(1) via libedit. Reviewed by: bdrewery
OpenPOWER on IntegriCloud