| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Illumos issue:
5066 remove support for non-ANSI compilation
5068 Remove SCCSID() macro from <macros.h>
MFC after: 2 weeks
Notes:
svn path=/head/; revision=270382
|
|
|
|
| |
Notes:
svn path=/head/; revision=270358
|
|
|
|
|
|
|
|
|
| |
Chase r270227 and compile lockstat with C99 standard.
Suggested by: bde
Notes:
svn path=/head/; revision=270317
|
|
|
|
|
|
|
| |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=270315
|
|
|
|
|
|
|
|
|
| |
This problem was fixed by Kai Wang in 2011.
MFC after: 3 days
Notes:
svn path=/head/; revision=269776
|
|
|
|
|
|
|
|
| |
Phabric: https://phabric.freebsd.org/D472
Reviewed by: mahrens delphij
Notes:
svn path=/head/; revision=269730
|
|
|
|
|
|
|
|
|
|
| |
errno was very occasionally being clobbered, resulting in a bogus error from
dt_consume() and thus an error from dtrace(1).
MFC after: 2 weeks
Notes:
svn path=/head/; revision=269524
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Double test device size for ztest(1).
Illumos issue:
5039 ztest should default to larger device sizes
Author: Matthew Ahrens <mahrens@delphix.com>
MFC after: 2 weeks
Notes:
svn path=/head/; revision=269430
|
|
|
|
|
|
|
| |
Contributed by: skreuzer
Notes:
svn path=/head/; revision=269360
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change dn->dn_dbufs from linked list to AVL tree.
Illumos issues:
4873 zvol unmap calls can take a very long time for larger datasets
MFC after: 2 weeks
Notes:
svn path=/head/; revision=269229
|
|
|
|
|
|
|
| |
Pointed out by: mdf
Notes:
svn path=/head/; revision=269145
|
|
|
|
|
|
|
| |
it can be looked up manually using procstat(1).
Notes:
svn path=/head/; revision=269144
|
|
|
|
| |
Notes:
svn path=/head/; revision=269141
|
|
|
|
|
|
|
|
|
| |
Remove dependency on the Korn Shell.
Remove Zones in favor of Jails.
Remove support (for now) for filename printing.
Notes:
svn path=/head/; revision=269140
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Import Illumos changes to address the following Illumos issues:
4976 zfs should only avoid writing to a failing non-redundant
top-level vdev
4978 ztest fails in get_metaslab_refcount()
4979 extend free space histogram to device and pool
4980 metaslabs should have a fragmentation metric
4981 remove fragmented ops vector from block allocator
4982 space_map object should proactively upgrade when feature
is enabled
4984 device selection should use fragmentation metric
MFC after: 2 weeks
Notes:
svn path=/head/; revision=269118
|
|
|
|
|
|
|
| |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=269100
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of asserting all zio's be properly aligned, only assert
on the logical ones.
Cap uberblocks at 8k, otherwise with ashift=17, there would be
only one uberblock.
This fixes a problem that zdb would trip assert on pools with
ashift >= 0xe (8k).
While there, also change the code so it only attempt to condense
space map unless the uncondensed size consumes greater than
zfs_metaslab_condense_block_threshold blocks.
Illumos issue:
4958 zdb trips assert on pools with ashift >= 0xe
MFC after: 2 weeks
Notes:
svn path=/head/; revision=268855
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Improve extreme rewind import.
When doing an "extreme rewind" import ("zpool import -XF"), we attempt
to verify all data in the pool, essentially scrubbing the entire pool.
The problem is that spa_load_verify_cb() issues an unbounded number of
concurrent scrub i/os. This can lead to all of memory being used for
these zio's, wedging the system. Like normal scrub, we need to put a
cap on the number of outstanding i/os, and have the traverse thread
block when we reach this cap.
For this purpose the cap can be very large (10,000) to optimize the
elevator algorithm. Three kernel tunables have been added:
vfs.zfs.spa_load_verify_maxinflight
vfs.zfs.spa_load_verify_metadata
vfs.zfs.spa_load_verify_data
The latter two tunables controls whether metadata and/or user data
when doing extreme rewind.
Make 'zpool import -T' imply scrub.
Make zpool import -T <txg> accept hexadecimal values for the txg when
prefixed with 0x.
Skip txg's for which there is no uberblock when doing extreme rewind.
Skip reading all user data twice by skipping prefetches when doing
extreme rewinds as we do not access via the ARC.
Illumos issues:
4970 need controls on i/o issued by zpool import -XF
4971 zpool import -T should accept hex values
4972 zpool import -T implies extreme rewind, and thus a scrub
4973 spa_load_retry retries the same txg
4974 spa_load_verify() reads all data twice
MFC after: 2 weeks
Notes:
svn path=/head/; revision=268720
|
|
|
|
|
|
|
| |
X-MFC-With: r268621
Notes:
svn path=/head/; revision=268625
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
zpool status -x is used to identify pools that are exhibiting
errors or are otherwise unavailable, therefore non-native
block-size pools shouldn't be reported.
Also update man page to clarify other additional conditions
which won't cause a pool to be displayed under zpool status -x.
Sponsored by: Multiplay
Notes:
svn path=/head/; revision=268621
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use reserved space for ZFS administrative commands.
We reserve 1/2^spa_slop_shift = 1/32 or 3.125% of pool space (or 32MB at
least) for system use. Most ZPL operations, e.g. write(2), creat(2), will
fail with ENOSPC if we fall below this.
Certain operations, e.g. file removal and most administrative actions,
still permitted until half of the slop space is used. This would allow
users to use these operations to free up space in the pool when pool is
close to full but half of slop space is still free.
A very restricted set of operations that frees up space or change quota
are always permitted, regardless of the amount of free space.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=268473
|
|
|
|
|
|
|
|
|
|
|
|
| |
Refresh zpool list for each interval in order to produce fresh
output.
Illumos issue: 4966 zpool list iterator does not update output
MFC after: 2 weeks
Notes:
svn path=/head/; revision=268470
|
|
|
|
|
|
|
|
|
| |
Diff reduction against Illumos.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=268469
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This includes:
o All directories named *ia64*
o All files named *ia64*
o All ia64-specific code guarded by __ia64__
o All ia64-specific makefile logic
o Mention of ia64 in comments and documentation
This excludes:
o Everything under contrib/
o Everything under crypto/
o sys/xen/interface
o sys/sys/elf_common.h
Discussed at: BSDcan
Notes:
svn path=/head/; revision=268351
|
|
|
|
|
|
|
|
|
|
|
| |
4924 LZ4 Compression for metadata
illumos/illumos-gate@b8289d24d866c1af02d7007348f7f057693c15d3
MFC after: 2 weeks
Notes:
svn path=/head/; revision=268126
|
|
|
|
|
|
|
|
|
|
|
| |
4914 zfs on-disk bookmark structure should be named *_phys_t
illumos/illumos-gate@7802d7bf98dec568dadf72286893b1fe5abd8602
MFC after: 2 weeks
Notes:
svn path=/head/; revision=268123
|
|
|
|
|
|
|
|
|
|
|
| |
- Reorganize code and reduce diff from upstream;
- Improve forward compatibility shims for previous kernel;
Reported by: sbruno [1]
X-MFC-With: r268075
Notes:
svn path=/head/; revision=268116
|
|
|
|
|
|
|
|
|
|
|
| |
4756 metaslab_group_preload() could deadlock
illumos/illumos-gate@30beaff42d8240ebf5386e8b7a14e3d137a1631f
MFC after: 2 weeks
Notes:
svn path=/head/; revision=268086
|
|
|
|
|
|
|
|
|
|
|
| |
4891 want zdb option to dump all metadata
illumos/illumos-gate@df15e419cb7359ba56ddddab9045e438d89e7cbc
MFC after: 2 weeks
Notes:
svn path=/head/; revision=268084
|
|
|
|
|
|
|
|
|
| |
4390 i/o errors when deleting filesystem/zvol can lead to space map corruption
MFC after: 2 weeks
Notes:
svn path=/head/; revision=268079
|
|
|
|
|
|
|
|
|
|
| |
4757 ZFS embedded-data block pointers ("zero block compression")
4913 zfs release should not be subject to space checks
MFC after: 2 weeks
Notes:
svn path=/head/; revision=268075
|
|
|
|
|
|
|
|
|
|
|
| |
4471 DTrace count() with histogram
4472 DTrace full width distribution histograms
4473 DTrace frequency trails
MFC after: 2 weeks
Notes:
svn path=/head/; revision=267942
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
MFC after: 2 weeks
Notes:
svn path=/head/; revision=267941
|
|
|
|
|
|
|
| |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=267940
|
|
|
|
|
|
|
|
|
| |
4477 DTrace should speak JSON
MFC after: 2 weeks
Notes:
svn path=/head/; revision=267937
|
|
|
|
|
|
|
|
|
|
|
| |
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
MFC after: 2 weeks
Notes:
svn path=/head/; revision=267929
|
|
|
|
| |
Notes:
svn path=/head/; revision=267925
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
commit 78e24ab6803bbe11ba37642624e1498ede5b239d
Author: Bryan Cantrill <bryan@joyent.com>
Date: Thu Oct 31 01:20:54 2013
OS-1688 DTrace count() with histogram
OS-2360 DTrace full width distribution histograms
OS-2361 DTrace frequency trails
MFC after: 2 weeks
Notes:
svn path=/head/; revision=267898
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
4251 libdtrace leaks open file handles
Illumos commit: 93ed8d0d4b068b95d0bb50d57bb854df462a8485
(partial)
Reference:
https://www.illumos.org/issues/4251
Discussed with: Robert Mustacchi
Obtained from: Illumos
MFC after: 1 week
Notes:
svn path=/head/; revision=267875
|
|
|
|
| |
Notes:
svn path=/head/; revision=267803
|
|
|
|
|
|
|
|
|
|
| |
Illumos ZFS issues:
3654 zdb should print number of ganged blocks
MFC after: 2 weeks
Notes:
svn path=/head/; revision=267572
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Merge from r258379 missed the tests.
4248 dtrace(1M) should never create DOF with empty probes section
4249 Only probes from the first DTrace object file will be included
Illumos Revision: 54a20ab41aadcb81c53e72fc65886e964e9add59
MFC after: 5 days
Notes:
svn path=/head/; revision=267513
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 after: 2 weeks
Notes:
svn path=/head/; revision=266771
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(4543:12bb2876a62e). Without this, some third party applications
may break because the lack of AVL related symbols.
FreeBSD base system are not affected because the FreeBSD ZFS command
line tools were all linked against libavl and thus hide the underlying
issue.
PR: java/183081
Tested by: jkim
MFC after: 3 days
Notes:
svn path=/head/; revision=266520
|
|
|
|
|
|
|
|
|
| |
Since "BEGIN" is not the name of a module, the test would just hang.
MFC after: 3 days
Notes:
svn path=/head/; revision=266454
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
illumos, rather than using "1.0" everywhere.
Some of the translators use D functions that are not present in version
1.0 (e.g. inet_ntoa()) which can result in libdtrace crashing when running
scripts that restrict themselves to version 1.0
(e.g. with "-x version=1.0").
MFC after: 1 week
Notes:
svn path=/head/; revision=266082
|
|
|
|
|
|
|
|
|
|
|
|
| |
FreeBSD ZFS port unlike OpenSolaris does not use device IDs, and does not
implement respective devid_*() fuctions. It is pointless to open devices
just to close them back immediately.
MFC after: 2 weeks
Sponsored by: iXsystems, Inc.
Notes:
svn path=/head/; revision=265821
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The thread pool is used by libzfs to implement parallel disk scanning.
Without this change our dummy wrapper made `zpool import ZZZ` command to
scan all disks sequentially from the single thread when searching for pools.
This change makes it use two threads per CPU, same as in OpenSolaris.
On system with 200 HDDs this change reduces ZFS pool import time from 35
to 22 seconds.
Notes:
svn path=/head/; revision=265689
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fail to attach to stripped binaries. With the _r_debug_postinit symbol,
dtrace(1) can now set a breakpoint in the victim process after it has
registered its DOF table(s) with the kernel. r_debug_state cannot be used
for this purpose since it is called before DOF is made available, in which
case dtrace(1) cannot create USDT probes before the program begins
execution.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=265631
|
|
|
|
|
|
|
| |
from the latter.
Notes:
svn path=/head/; revision=265420
|