| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
4757 ZFS embedded-data block pointers ("zero block compression")
4913 zfs release should not be subject to space checks
|
|
|
|
| |
4373 add block contents print to zstreamdump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Illumos ZFS issues:
3654 zdb should print number of ganged blocks
|
|
|
|
| |
This was supposed to go to head first :(
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Improve support for Intel Lynx Point USB 3.0 controllers by masking
the port routing bits like done in Linux.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Enable 8051 before downloading firmware.
Tested by: Carlos Jacobo Puga Medina <cpm at fbsd dot es
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
minor perf enhancement for UTF-8
Reduce some duplicate code.
Reference:
https://www.illumos.org/issues/628
Obtained from: Illumos
|
|
|
|
|
|
| |
(NO_INET6) are specified.
Approved by: glebius (mentor)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Improve readability of XML generated by CTL_LUN_LIST.
|
|
|
|
| |
Do not return statuses for aborted iSCSI commands.
|
|
|
|
|
|
| |
Use separate memory type M_CTLIO for I/Os.
CTL allocate large amount of RAM. This change give some more stats.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
Allow MODE SENSE commands through Write Exclusive persistent reservation,
as required by SPC-4.
Report that fact in persistent reservation capabilities.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Lock devstat updates in block backend to make it usable. Polish lock names.
|
|
|
|
|
|
| |
Fix use-after-free on XPT_RESET_BUS.
That command is not queued, so does not use later status update.
|
|
|
|
|
|
|
| |
Remove odd practice of inverting error codes.
-EPERM is equal to ERESTART, returning which from ioctl() handler causes
infinite syscall restart.
|
|
|
|
|
|
|
|
| |
Use Intel's official name (Secure Key) per Intel® Digital Random Number
Generator (DRNG) Software Implementation Guide.
Reviewed by: kib
Approved by: so
|
|
|
|
|
| |
Submitted by: Sascha Wildner (swildner at dragonflybsd dot org)
Reviewed by: Kashyap Desai <kashyap.desai avagotech.com>
|
|
|
|
|
|
| |
Use correct length for buffer.
Submitted by: Sascha Wildner <swildner dragonflybsd org>
|
|
|
|
|
|
| |
Correct buffer size.
Submitted by: Sascha Wildner <swildner dragonflybsd org>
|
|
|
|
| |
Update file/libmagic to 5.19.
|
|
|
|
|
| |
Note that most errors are possible for all syscalls from utimes(2)
family. Minor wording corrections.
|
|
|
|
| |
Micro-manage clang to get the expected inlining for cpu_search().
|
|
|
|
| |
to test against in the freebsd.org cluster.
|
|
|
|
|
| |
Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
| |
Security: FreeBSD-SA-14:17.kmem
Security: CVE-2014-3952, CVE-2014-3953
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
Document all aliases supported by GEOM_PART class.
|
|
|
|
| |
Linux uses its own UUID for data partitions.
|
|
|
|
|
|
|
| |
here yet.
This direct commit to STABLE-10, because HEAD already support UEFI FB.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Pointed by: Ivan Klymenko <fidaj@ukr.net>
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Merge intermediate OpenBSD v1.25 changes (almost identical to ours)
to reduce diff and bump OpenBSD patch level to v1.26.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|