summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC r268075: MFV r267565:delphij2014-07-1555-292/+1630
| | | | | 4757 ZFS embedded-data block pointers ("zero block compression") 4913 zfs release should not be subject to space checks
* MFC r260142: MFV r258972:delphij2014-07-152-4/+123
| | | | 4373 add block contents print to zstreamdump
* MFC r266771: MFV r266766:delphij2014-07-157-24/+125
| | | | | | | | | | | | | | | | | | | Add a new zfs property, "redundant_metadata" which can have values "all" or "most". The default will be "all", which is the current behavior. When set to all, ZFS stores an extra copy of all metadata. If a single on-disk block is corrupt, at worst a single block of user data (which is recordsize bytes long) can be lost. Setting to "most" will cause us to only store 1 copy of level-1 indirect blocks of user data files. This can improve performance of random writes, because less metadata has to be written. In practice, at worst about 100 blocks (of recordsize bytes each) of user data can be lost if a single on-disk block is corrupt. The exact behavior of which metadata blocks are stored redundantly may change in future releases. Illumos issue: 3835 zfs need not store 2 copies of all metadata
* MFC r267572: MFV r249332 (illumos-gate 14005:55fc53126003)delphij2014-07-151-1/+38
| | | | | Illumos ZFS issues: 3654 zdb should print number of ganged blocks
* Revert r268629:pfg2014-07-141-6/+5
| | | | This was supposed to go to head first :(
* fsck_msdosfs: be a bit more permissivepfg2014-07-141-5/+6
| | | | | | | | | | | | | The free space value in the FSInfo block is merely unitialized when it is 0xffffffff. This fixes a bug found in NetBSD. It must be noted that we never supported all the checks that NetBSD does as some of them would cause failures with a freshly created FAT32 from MS-Windows. While here, bring some space fixes. Obtained from: NetBSD (rev. 1.22)
* MFC r268538:pfg2014-07-141-1/+1
| | | | | | | | | | Avoid hardcoding "gcc" in the DTrace tests. At least one test doesn't work yet without gcc, however gcc is not always available in base. Using the environment compiler is more trustable and will also work with an external compiler. Reviewed by: markj
* MFC r268354:hselasky2014-07-142-0/+5
| | | | | Improve support for Intel Lynx Point USB 3.0 controllers by masking the port routing bits like done in Linux.
* MFC r268290:pfg2014-07-131-14/+64
| | | | | | | | | | | | | Merge from OpenSolaris (24-Jul-2010): 6679140 asymmetric alloc/dealloc activity can induce dynamic variable drops 6679193 dtrace_dynvar walker produces flood of dtrace_dynhash_sink This finishes a set of merges from the older OpenSolaris releases. Still the FreeBSD port has many differences that are difficult to account for but that seems normal given that the kernels are different. Obtained from: OpenSolaris (through Illumos)
* MFC 267963:jhb2014-07-131-1/+1
| | | | | | | | | | The latest versoin of file/libmagic identifes a filesystem image is identified as "DOS/MBR boot sector" as opposed to "x86 boot sector". This trips up vmrun.sh when using the new file(1) and makes it want to boot into the installer instead. Fix this by just looking for "boot sector" instead.
* MFC r268487:kevlo2014-07-131-3/+5
| | | | | | Enable 8051 before downloading firmware. Tested by: Carlos Jacobo Puga Medina <cpm at fbsd dot es
* MFC: r268008rmacklem2014-07-131-17/+17
| | | | | | | | | | There might be a potential race condition for the NFSv4 client when a newly created file has another open done on it that update the open mode. This patch moves the code that updates the open mode up into the block where the mutex is held to ensure this cannot happen. No bug caused by this potential race has been observed, but this fix is a safety belt to ensure it cannot happen.
* MFC 267929, 267937, 267939, 267940, 267941, 267942, 267987, 268006:rpaulo2014-07-1291-244/+6652
| | | | | | | | | | | | | | | | 2915 DTrace in a zone should see "cpu", "curpsinfo", et al 2916 DTrace in a zone should be able to access fds[] 2917 DTrace in a zone should have limited provider access 4477 DTrace should speak JSON Add stubs for CTF functions which are not yet implemented. 4474 DTrace Userland CTF Support 4475 DTrace userland Keyword 4476 DTrace tests should be better citizens 4479 pid provider types 4480 dof emulation is missing checks 4471 DTrace count() with histogram 4472 DTrace full width distribution histograms 4473 DTrace frequency trails
* MFC r268130, r268224, r268230, r268231:pfg2014-07-123-9/+48
| | | | | | | | | | | | | | | | | | Various DTrace Merges from OpenSolaris/Illumos: 15-Sep-2008: 6735480 race between probe enabling and provider registration 20-Apr-2008: 6822482 DOF validation needs to handle loadable sections flagged as unloadable 22-Apr-2009: 6823388 DTrace ioctl handlers must validate all structure members 30-Jun-2009: 6851093 system drops to kmdb with anonymous dtrace probes + kmdb Obtained from: OpenSolaris
* MFC r268272:pfg2014-07-121-19/+10
| | | | | | | | | | | minor perf enhancement for UTF-8 Reduce some duplicate code. Reference: https://www.illumos.org/issues/628 Obtained from: Illumos
* MFC r268286: Fix compile-time errors when NO_WERROR and WITHOUT_INET6_SUPPORTcy2014-07-124-4/+4
| | | | | | (NO_INET6) are specified. Approved by: glebius (mentor)
* MFC r267643, r267873, r268391, r268398:mav2014-07-124-730/+487
| | | | | | | | | | | | | | | | | | | | Introduce fine-grained CTL locking to improve SMP scalability. Split global ctl_lock, historically protecting most of CTL context: - remaining ctl_lock now protects lists of fronends and backends; - per-LUN lun_lock(s) protect LUN-specific information; - per-thread queue_lock(s) protect request queues. This allows to radically reduce congestion on ctl_lock. Create multiple worker threads, depending on number of CPUs, and assign each LUN to one of them. This allows to spread load between multiple CPUs, still avoiging congestion on queues and LUNs locks. On 40-core server, exporting 5 LUNs, each backed by gstripe of SATA SSDs, accessed via 6 iSCSI connections, this change improves peak request rate from 250K to 680K IOPS. Sponsored by: iXsystems, Inc.
* MFC r268283:mav2014-07-122-9/+10
| | | | Improve readability of XML generated by CTL_LUN_LIST.
* MFC r268392:mav2014-07-121-0/+10
| | | | Do not return statuses for aborted iSCSI commands.
* MFC r268204:mav2014-07-121-5/+6
| | | | | | Use separate memory type M_CTLIO for I/Os. CTL allocate large amount of RAM. This change give some more stats.
* MFC r267933:mav2014-07-121-119/+21
| | | | | | | | | | | | Simplify statistics calculation. Instead of trying to guess size of disk I/O operations (it just won't work that way for newly added commands, and is equal to data move size for old ones), account data move traffic. If disk I/Os are that interesting, then backends have to account and provide that information. Block backend already exports the information about disk I/Os via devstat, so having it here too is excessive.
* MFC r267906:mav2014-07-123-4/+33
| | | | | | | Allow MODE SENSE commands through Write Exclusive persistent reservation, as required by SPC-4. Report that fact in persistent reservation capabilities.
* MFC r267905:mav2014-07-124-22/+113
| | | | | | | | | Add READ BUFFER and improve WRITE BUFFER SCSI commands support. This gives some use to 512KB per-LUN buffers, allocated for Copan-specific processor code and not used. It allows, for example, to test transport performance and/or correctness without accessing the media, as supported by Linux version of sg3_utils.
* MFC r267877:mav2014-07-122-96/+87
| | | | Lock devstat updates in block backend to make it usable. Polish lock names.
* MFC r268419:mav2014-07-121-1/+6
| | | | | | Fix use-after-free on XPT_RESET_BUS. That command is not queued, so does not use later status update.
* MFC r267986:mav2014-07-121-8/+8
| | | | | | | Remove odd practice of inverting error codes. -EPERM is equal to ERESTART, returning which from ioctl() handler causes infinite syscall restart.
* MFC r267984:delphij2014-07-111-1/+1
| | | | | | | | Use Intel's official name (Secure Key) per Intel® Digital Random Number Generator (DRNG) Software Implementation Guide. Reviewed by: kib Approved by: so
* Correct memset size.delphij2014-07-111-1/+1
| | | | | Submitted by: Sascha Wildner (swildner at dragonflybsd dot org) Reviewed by: Kashyap Desai <kashyap.desai avagotech.com>
* MFC r267886:delphij2014-07-111-1/+1
| | | | | | Use correct length for buffer. Submitted by: Sascha Wildner <swildner dragonflybsd org>
* MFC r267887:delphij2014-07-111-1/+1
| | | | | | Correct buffer size. Submitted by: Sascha Wildner <swildner dragonflybsd org>
* MFC r267897: MFV r267843:delphij2014-07-11362-7574/+40468
| | | | Update file/libmagic to 5.19.
* MFC r268212:kib2014-07-101-46/+20
| | | | | Note that most errors are possible for all syscalls from utimes(2) family. Minor wording corrections.
* MFC r268211:kib2014-07-101-6/+8
| | | | Micro-manage clang to get the expected inlining for cpu_search().
* Bump __FreeBSD_version after last SA-14:17.kmem so we have somethingpeter2014-07-091-1/+1
| | | | to test against in the freebsd.org cluster.
* Document FreeBSD-SA-14:17.kmemgjb2014-07-081-0/+7
| | | | | Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
* Fix kernel memory disclosure in control message and SCTP notifications.delphij2014-07-084-27/+39
| | | | | Security: FreeBSD-SA-14:17.kmem Security: CVE-2014-3952, CVE-2014-3953
* Document r268091, disklabel64 partition scheme.gjb2014-07-081-2/+3
| | | | Sponsored by: The FreeBSD Foundation
* Document r268161, mkimg(1) merged to stable/10.gjb2014-07-081-0/+3
| | | | Sponsored by: The FreeBSD Foundation
* Regen src.conf(5) after r268399emaste2014-07-081-1/+6
|
* MFC r268022: Rename the WITHOUT_VT_SUPPORT knob to WITHOUT_VTemaste2014-07-084-2/+7
| | | | | | The _SUPPORT knobs have a consistent meaning which differs from the behaviour controlled by this knob. As the knob is opt-out and has not appeared in a release the impact should be low.
* MFC r268393: [mdoc] Fix previous.pluknet2014-07-081-1/+1
|
* MFC r268059: Add missing VT_ kernel config knobsemaste2014-07-081-2/+5
|
* MFC r268090:ae2014-07-081-13/+173
| | | | Document all aliases supported by GEOM_PART class.
* MFC r268089:ae2014-07-081-1/+2
| | | | Linux uses its own UUID for data partitions.
* Temporary disable build of vt_efifb vt(4) driver, not all parts of UEFI supportray2014-07-071-1/+0
| | | | | | | here yet. This direct commit to STABLE-10, because HEAD already support UEFI FB. Sponsored by: The FreeBSD Foundation
* MFC of r263873.ray2014-07-071-0/+1
| | | | | | Pointed by: Ivan Klymenko <fidaj@ukr.net> Sponsored by: The FreeBSD Foundation
* MFC r268049:ume2014-07-071-9/+13
| | | | | | | | Fix ifconfig to show pltime and vltime with -L option, again after usage change from time_second to time_uptime. PR: 188520 Submitted by: Guy Yur <guyyur__at__gmail.com>
* 267622 Log:ray2014-07-0719-44/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename vt(4) vga module to dismiss interference with syscons(4) vga module. 267623 Log: Remove stale link to deleted vt(4) xboxfb driver. 267624 Log: syscons(4) and vt(4) can be built together now. 267625 Log: Allow to disable syscons(4) if "hw.syscons.disable" kenv is set. 267626 Log: Suspend vt(4) initialization if "kern.vt.disable" kenv is set. 267965 by emaste@ Log: Use a common tunable to choose between vt(4)/sc(4) With this change and previous work from ray@ it will be possible to put both in GENERIC, and have one enabled by default, but allow the other to be selected via the loader. (The previous implementation had separate kern.vt.disable and hw.syscons.disable tunables, and would panic if both drivers were compiled in and neither was explicitly disabled.) 268175 by emaste@ Log: Fix vt(4) detection in kbdcontrol and vidcontrol As sc(4) and vt(4) coexist and are both enabled in GENERIC, the existence of a vt(4) sysctl is not sufficient to determine that vt(4) is in use. Reported by: Trond Endrestøl 268045 by emaste@ Log: Add vt(4) to GENERIC and retire the separate VT config vt(4) and sc(4) can now coexist in the same kernel. To choose the vt driver, set the loader tunable kern.vty=vt . Sponsored by: The FreeBSD Foundation
* MFC 267756:ache2014-07-071-18/+12
| | | | | Merge intermediate OpenBSD v1.25 changes (almost identical to ours) to reduce diff and bump OpenBSD patch level to v1.26.
* MFC r267745, r268268:pfg2014-07-073-8/+22
| | | | | | | | | | | | getopt(3): recognize option:: as GNU extension for "optional options". Also ANSIfy a function declaration. While here update the OpenBSD patch level in getopt_long.c as we already have the corresponding change. Obtained from: NetBSD MFC after: 2 weeks
OpenPOWER on IntegriCloud