summaryrefslogtreecommitdiffstats
path: root/cddl
Commit message (Collapse)AuthorAgeFilesLines
* Sort SEE ALSO xrefs by the manual section number and add a missing comma.pluknet2012-11-151-1/+1
|
* Move zpool-features manual page from section 5 to section 7mm2012-11-144-11/+11
| | | | | | | and fix references Reported by: pluknet MFC after: 1 week
* Fix an apparent typo in the manual section number in .Dt: it should be 5.pluknet2012-11-131-1/+1
|
* MFV r242729 (mm):delphij2012-11-101-46/+66
| | | | | | | | | | | Illumos r13840:97fd5cdf328a: 3145 single-copy arc 3212 ztest: race condition between vdev_online() and spa_vdev_remove() Illumos r13849:3468a95b27cd: 3258 ztest's use of file descriptors is unstable
* Implement DTrace for PowerPC. This includes both 32-bit and 64-bit.jhibbits2012-11-074-1/+87
| | | | | | | | | | | There is one known issue: Some probes will display an error message along the lines of: "Invalid address (0)" I tested this with both a simple dtrace probe and dtruss on a few different binaries on 32-bit. I only compiled 64-bit, did not run it, but I don't expect problems without the modules loaded. Volunteers are welcome. MFC after: 1 month
* Remove the support for using non-mpsafe filesystem modules.kib2012-10-221-8/+0
| | | | | | | | | | | | In particular, do not lock Giant conditionally when calling into the filesystem module, remove the VFS_LOCK_GIANT() and related macros. Stop handling buffers belonging to non-mpsafe filesystems. The VFS_VERSION is bumped to indicate the interface change which does not result in the interface signatures changes. Conducted and reviewed by: attilio Tested by: pho
* Add missing initialization for do_prefix.mm2012-10-171-1/+1
| | | | | | | | | | | | | Corrects porting error in r238391 Vendor issue and changeset reference: 2883 changing "canmount" property to "on" should not always remount dataset https://www.illumos.org/issues/2883 Changeset 13743:95aba6e49b9f Reported by: Guido Falsi <mad@madpilot.net>, avg Obtained from: illumos (issue #2883) MFC after: 1 week
* Make sure that each va_start has one and only one matching va_end,kevlo2012-09-282-0/+3
| | | | especially in error cases.
* Merge recent vendor changes in ZFS.mm2012-09-262-10/+3
| | | | | | | | | | | | | | Illumos issued covered: 2811 missing implementation: zfs send -r 3139 zdb dies when it tries to determine path of unlinked file 3189 kernel panic in ZFS test suite during hotspare_onoffline_004_neg 3208 moving zpool cross-endian results in incorrect user/group accounting References: https://www.illumos.org/issues/ + [issue_id] Obtained from: illumos (vendor/illumos, vendor/illumos-sys) MFC after: 2 weeks
* It is possible to recursively destroy snapshots even if the snapshotpjd2012-09-233-3/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | doesn't exist on a dataset we are starting from. For example if we have the following configuration: tank tank/foo tank/foo@snap tank/bar tank/bar@snap We can execute: # zfs destroy -t tank@snap eventhough tank@snap doesn't exit. Unfortunately it is not possible to do the same with recursive rename: # zfs rename -r tank@snap tank@pans cannot open 'tank@snap': dataset does not exist ...until now. This change allows to recursively rename snapshots even if snapshot doesn't exist on the starting dataset. Sponsored by: rsync.net MFC after: 2 weeks
* Add TRIM support.pjd2012-09-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | The code builds a map of regions that were freed. On every write the code consults the map and eventually removes ranges that were freed before, but are now overwritten. Freed blocks are not TRIMed immediately. There is a tunable that defines how many txg we should wait with TRIMming freed blocks (64 by default). There is a low priority thread that TRIMs ranges when the time comes. During TRIM we keep in-flight ranges on a list to detect colliding writes - we have to delay writes that collide with in-flight TRIMs in case something will be reordered and write will reached the disk before the TRIM. We don't have to do the same for in-flight writes, as colliding writes just remove ranges to TRIM. Sponsored by: multiplay.co.uk This work includes some important fixes and some improvements obtained from the zfsonlinux project, including TRIMming entire vdevs on pool create/add/attach and on pool import for spare and cache vdevs. Obtained from: zfsonlinux Submitted by: Etienne Dechamps <etienne.dechamps@ovh.net>
* Update usage to show the possiblity to use jail namebapt2012-09-191-2/+2
| | | | | Reported by: bdrewery MFC after: 1 month
* Allow zfs jail and zfs unjail to use both jailnames and jailidbapt2012-09-193-7/+7
| | | | | Reviewed by: pjd MFC after: 1 month
* Merge recent zfs vendor changes, sync code and adjust userland DEBUG.mm2012-09-1211-486/+427
| | | | | | | | | | | | | | | | | | | | | Illumos issued covered: 1884 Empty "used" field for zfs *space commands 3006 VERIFY[S,U,P] and ASSERT[S,U,P] frequently check if first argument is zero 3028 zfs {group,user}space -n prints (null) instead of numeric GID/UID 3048 zfs {user,group}space [-s|-S] is broken 3049 zfs {user,group}space -t doesn't really filter the results 3060 zfs {user,group}space -H output isn't tab-delimited 3061 zfs {user,group}space -o doesn't use specified fields order 3064 usr/src/cmd/zpool/zpool_main.c misspells "successful" 3093 zfs {user,group}space's -i is noop 3098 zfs userspace/groupspace fail without saying why when run as non-root References: https://www.illumos.org/issues/ + [issue_id] Obtained from: illumos (vendor/illumos, vendor/illumos-sys) MFC after: 2 weeks
* Remove trailing whitespace.joel2012-09-061-1/+1
|
* Typo fix and minor word swap.gjb2012-09-051-3/+4
| | | | | | PR: 171356 Submitted by: bdrewery MFC After: 3 days
* Merge recent vendor changes and sync code:mm2012-09-051-0/+2
| | | | | | | | | | | | | | | | | | | 1862 incremental zfs receive fails for sparse file > 8PB 3112 ztest does not honor ZFS_DEBUG 3122 zfs destroy filesystem should prefetch blocks 3129 'zpool reopen' restarts resilvers 3130 ztest failure: Assertion failed: 0 == dmu_objset_destroy(name, B_FALSE) (0x0 == 0x10) References: https://www.illumos.org/issues/1862 https://www.illumos.org/issues/3112 https://www.illumos.org/issues/3122 https://www.illumos.org/issues/3129 https://www.illumos.org/issues/3130 Obtained from: illumos (vendor/illumos, vendor/illumos-sys) MFC after: 2 weeks
* Add myself to copyright sections, per CDDL license.gjb2012-09-032-0/+2
| | | | Requested by: mm
* Finish porting execsnoop to FreeBSD. This includes replacing the zonenamerpaulo2012-09-012-26/+21
| | | | with a jail ID and removing the project ID from the list of options.
* Remove trailing whitespace.joel2012-09-013-5/+5
|
* Remove trailing whitespace.joel2012-09-013-10/+10
|
* Mdoc fixes.joel2012-09-011-22/+19
|
* Minor mdoc fixes.joel2012-08-311-3/+3
|
* Mdoc fixes.joel2012-08-312-15/+16
|
* Merge recent vendor changes:mm2012-08-283-9/+30
| | | | | | | | | | | | | | 3100 zvol rename fails with EBUSY when dirty 3104 eliminate empty bpobjs 3120 zinject hangs in zfsdev_ioctl() due to uninitialized zc References: https://www.illumos.org/issues/3100 https://www.illumos.org/issues/3104 https://www.illumos.org/issues/3120 Obtained from: illumos (vendor/illumos, vendor/illumos-sys) MFC after: 2 weeks
* Add missing parts to zpool-features.5 manual pagemm2012-08-271-2/+10
| | | | | Obtained from: vendor/illumos/dist MFC after: 2 weeks
* Merge recent vendor changes:mm2012-08-232-48/+63
| | | | | | | | | | | | | | | 3086 unnecessarily setting DS_FLAG_INCONSISTENT on async destroyed datasets 3090 vdev_reopen() during reguid causes vdev to be treated as corrupt 3102 vdev_uberblock_load() and vdev_validate() may read the wrong label Referenes: https://www.illumos.org/issues/3086 https://www.illumos.org/issues/3090 https://www.illumos.org/issues/3102 PR: kern/170912, kern/170914 Obtained from: illumos (changeset #13776, #13777) MFC after: 2 weeks
* Update zfs(8) manpage with illumos version of "zfs diff"mm2012-08-191-26/+44
| | | | | | | | | | | | Illumos issue: 2399 zfs manual page does not document use of "zfs diff" References: https://www.illumos.org/issues/2399 PR: docs/170764 Obtained from: ssh://anonhg@hg.illumos.org/illumos-gate MFC after: 1 week
* - Fix source dataset snapshot name in Example 15.gjb2012-08-121-4/+4
| | | | | | | - Bump date. MFC after: 3 days X-MFC-With: r239216
* Remove a leading space that breaks rendering.gjb2012-08-121-1/+1
| | | | MFC after: 3 days
* When we return with an error we cannot unlock the mutex, becausegnn2012-08-011-1/+2
| | | | | | | it's been freed. Protect against that, hopefully unlikely, case. Reviewed by: rpaulo MFC after: 2 weeks
* Fix wrong indent according to style(9)mm2012-07-311-2/+2
| | | | | | | | | | | | | | | MFC after: 2 weeks > Description of fields to fill in above: 76 columns --| > PR: If a GNATS PR is affected by the change. > Submitted by: If someone else sent in the change. > Reviewed by: If someone else reviewed your modification. > Approved by: If you needed approval for this commit. > Obtained from: If the change is from a third party. > MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email. > Security: Vulnerability reference (one per line) or description. > Empty fields above will be automatically removed. M zpool_main.c
* Fix reporting of root pool upgrade notice.mm2012-07-311-19/+19
| | | | MFC after: 2 weeks
* Partial MFV (illumos-gate 13753:2aba784c276b)mm2012-07-305-106/+392
| | | | | | | | | 2762 zpool command should have better support for feature flags References: https://www.illumos.org/issues/2762 MFC after: 2 weeks
* Revert previous commit. The bug was actually caused by an issuegnn2012-07-251-3/+1
| | | | | | | in pre 1.8.5 versions of sudo which were sending too many SIGINTs to processes when the user hit Ctrl-C. Pointed out by: avg@, rpaulo@, sbruno@
* Fix a bug in interrupt handling so that we're only consideredgnn2012-07-241-1/+3
| | | | | | | | impatient if we sent more than 2 INT signals. This fixes a bug where we wouldn't see aggregations print on the command line if we Ctrl-C'd a dtrace script or command line invocation. MFC after: 2 weeks
* Dtrace: improve handling of library paths.pfg2012-07-174-22/+254
| | | | | | | | | | | | | | | | | | | | | Merge changes from illumos 906 dtrace depends_on pragma should search all library paths, not just the current one 949 dtrace should only include the first instance of a library found on its library path Illumos Revisions: 13353:936a1e45726c 13354:2b2c36a81512 Reference: https://www.illumos.org/issues/906 https://www.illumos.org/issues/949 Tested by: Fabian Keil Obtained from: Illumos MFC after: 3 weeks
* Use libc's strndup() instead of Dtrace's reimplementation.pfg2012-07-152-24/+3
| | | | | | | | Corresponds partially to OpenSolaris change: PSARC 2010/299 GNU/Linux/BSD compatibility functions 6901783 strndup would be nice MFC after: 2 weeks
* Merge illumos commit 13455:7205f7794835pfg2012-07-142-1/+38
| | | | | | | | | | 1458 D compiler fails to generate error on sizeof() an undefined struct Reference: https://www.illumos.org/issues/1458 Tested by: Fabian Keil MFC after: 3 weeks
* Merge illumos commit 13749:df4cd82e2b60mm2012-07-134-11/+66
| | | | | | | | | | | | | | | 1796 "ZFS HOLD" should not be used when doing "ZFS SEND" froma read-only pool 2871 support for __ZFS_POOL_RESTRICT used by ZFS test suite 2903 zfs destroy -d does not work 2957 zfs destroy -R/r sometimes fails when removing defer-destroyed snapshot References: https://www.illumos.org/issues/1796 https://www.illumos.org/issues/2871 https://www.illumos.org/issues/2903 https://www.illumos.org/issues/2957 MFC after: 1 week
* Change behavior introduced in r237119 to vendor solutionmm2012-07-121-7/+10
| | | | | | | | | References: https://www.illumos.org/issues/2883 PR: 167905 Obtained from: illumos (issue #2883) MFC after: 2 weeks
* Initial commit of an I/O provider for DTrace on FreeBSD.gnn2012-07-112-144/+35
| | | | | | | | | | | | These probes are most useful when looking into the structures they provide, which are listed in io.d. For example: dtrace -n 'io:genunix::start { printf("%d\n", args[0]->bio_bcount); }' Note that the I/O systems in FreeBSD and Solaris/Illumos are sufficiently different that there is not a 1:1 mapping from scripts that work with one to the other. MFC after: 1 month
* Restore r211786 by rpaulo:emaste2012-07-051-8/+5
| | | | | | | | Port dtruss to FreeBSD. Sponsored by: The FreeBSD Foundation It appears the change was reverted by r235380.
* Fix an obvious typo.pjd2012-07-041-1/+1
| | | | MFC after: 3 days
* Fix clang warning, introduced in the recent dtrace import.dim2012-07-031-1/+1
| | | | MFC after: 3 days
* Safer fix for building with Clang.pfg2012-06-281-1/+1
| | | | | | | error: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') Reported by: Ed Maste
* Fix build with Clang.pfg2012-06-281-1/+1
| | | | | | | error: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') Reported by: Ed Maste
* Bring llquantize support into Dtrace.pfg2012-06-2742-5/+3788
| | | | | | | | | | | | | | | | | | Bryan Cantrill implemented the equivalent of semi-log graph paper for Dtrace so llquantize will use one logarithmic and one linear scale. Special thanks to Mark Peek for providing fix to an assertion and to Fabian Keill for testing the port. Illumos Revision: 13355:15b74a2a9a9d Reference: https://www.illumos/issues/905 Obtained from: Illumos Tested by: Fabian Keill, mp MFC after: 4 days
* Do not remount ZFS dataset if changing canmount property to "on" andmm2012-06-151-1/+3
| | | | | | | | dataset is already mounted. PR: 167905 Submitted by: Bryan Drewery <bryan@shatow.net> MFC after: 1 week
* Document the -v flag for zpool list.mm2012-06-122-1/+3
| | | | | | PR: 168970 Suggested by: Marcelo Araujo <araujo@FreeBSD.org> MFC after: 3 days
OpenPOWER on IntegriCloud