mm
5b60c129a2
Update zfs(8) manpage with illumos version of "zfs diff"
...
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
2012-08-19 10:34:40 +00:00
gjb
c31cc6a5ee
- Fix source dataset snapshot name in Example 15.
...
- Bump date.
MFC after: 3 days
X-MFC-With: r239216
2012-08-12 20:30:15 +00:00
gjb
a97ae3c276
Remove a leading space that breaks rendering.
...
MFC after: 3 days
2012-08-12 20:23:59 +00:00
gnn
3c9b732c82
When we return with an error we cannot unlock the mutex, because
...
it's been freed. Protect against that, hopefully unlikely, case.
Reviewed by: rpaulo
MFC after: 2 weeks
2012-08-01 19:27:12 +00:00
mm
afdda0ef5d
Fix wrong indent according to style(9)
...
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
2012-07-31 17:32:28 +00:00
mm
caced023cd
Fix reporting of root pool upgrade notice.
...
MFC after: 2 weeks
2012-07-31 17:28:28 +00:00
mm
cf6d705d5b
Partial MFV (illumos-gate 13753:2aba784c276b)
...
2762 zpool command should have better support for feature flags
References:
https://www.illumos.org/issues/2762
MFC after: 2 weeks
2012-07-30 23:14:24 +00:00
gnn
2c77f8a514
Revert previous commit. The bug was actually caused by an issue
...
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@
2012-07-25 17:49:01 +00:00
gnn
2046a3869a
Fix a bug in interrupt handling so that we're only considered
...
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
2012-07-24 18:01:28 +00:00
pfg
d75ae2f261
Dtrace: improve handling of library paths.
...
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
2012-07-17 19:57:34 +00:00
pfg
c006769183
Use libc's strndup() instead of Dtrace's reimplementation.
...
Corresponds partially to OpenSolaris change:
PSARC 2010/299 GNU/Linux/BSD compatibility functions
6901783 strndup would be nice
MFC after: 2 weeks
2012-07-15 21:20:31 +00:00
pfg
8163e6ee8c
Merge illumos commit 13455:7205f7794835
...
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
2012-07-14 20:24:00 +00:00
mm
98fa6a1cdb
Merge illumos commit 13749:df4cd82e2b60
...
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
2012-07-13 12:37:34 +00:00
mm
b81339c49f
Change behavior introduced in r237119 to vendor solution
...
References:
https://www.illumos.org/issues/2883
PR: 167905
Obtained from: illumos (issue #2883 )
MFC after: 2 weeks
2012-07-12 06:29:54 +00:00
emaste
a4bcd4999b
Restore r211786 by rpaulo:
...
Port dtruss to FreeBSD.
Sponsored by: The FreeBSD Foundation
It appears the change was reverted by r235380.
2012-07-05 00:52:23 +00:00
dim
8c66c622bb
Fix clang warning, introduced in the recent dtrace import.
...
MFC after: 3 days
2012-07-03 12:08:55 +00:00
pfg
a4279bd26d
Safer fix for building with Clang.
...
error: format specifies type 'long long' but the argument
has type 'int64_t' (aka 'long')
Reported by: Ed Maste
2012-06-28 16:44:29 +00:00
pfg
2bb5abedc9
Fix build with Clang.
...
error: format specifies type 'long long' but the argument
has type 'int64_t' (aka 'long')
Reported by: Ed Maste
2012-06-28 15:38:14 +00:00
pfg
bc23332ce7
Bring llquantize support into Dtrace.
...
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
2012-06-27 04:39:30 +00:00
mm
5e0236a3e4
Do not remount ZFS dataset if changing canmount property to "on" and
...
dataset is already mounted.
PR: 167905
Submitted by: Bryan Drewery <bryan@shatow.net>
MFC after: 1 week
2012-06-15 07:38:21 +00:00
mm
719aef50bd
Document the -v flag for zpool list.
...
PR: 168970
Suggested by: Marcelo Araujo <araujo@FreeBSD.org>
MFC after: 3 days
2012-06-12 14:40:19 +00:00
mm
cc61ab2f13
Introduce "feature flags" for ZFS pools (bump SPA version to 5000).
...
Add first feature "com.delphix:async_destroy" (asynchronous destroy
of ZFS datasets).
Implement features support in ZFS boot code.
Illumos revisions merged:
13700:2889e2596bd6
13701:1949b688d5fb
2619 asynchronous destruction of ZFS file systems
2747 SPA versioning with zfs feature flags
References:
https://www.illumos.org/issues/2619
https://www.illumos.org/issues/2747
Obtained from: illumos (issue #2619 , #2747 )
MFC after: 1 month
2012-06-11 11:35:22 +00:00
gjb
70a9f0dfc1
Clean up trailing whitespace.
...
MFC after: 3 days
X-MFC-With: r236776
2012-06-09 03:34:34 +00:00
gjb
3683163965
Fix a typo: s/deafult/default
...
MFC after: 3 days
2012-06-09 03:33:06 +00:00
mm
7e5eee4882
Import Illumos revision 13715:351036203e4b
...
2803 zfs get guid pretty-prints the output
References:
https://www.illumos.org/issues/2803
Obtained from: illumos (issue #2803 )
MFC after: 3 days
2012-06-07 08:32:53 +00:00
mm
38ef930079
Import illumos changeset 13570:3411fd5f1589
...
1948 zpool list should show more detailed pool information
Display per-vdev information with "zpool list -v".
The added expandsize property has currently no value on FreeBSD.
This changeset allows adding expansion support to individual vdevs
in the future.
References:
https://www.illumos.org/issues/1948
Obtained from: illumos (issue #1948 )
MFC after: 2 weeks
2012-05-27 16:00:00 +00:00
mm
daae7d499d
Import illumos changeset 13605:b5c2b5db80d6 (partial)
...
763 FMD msg URLs should refer to something visible
Replace sun.com URL's with illumos.org
References:
https://www.illumos.org/issues/763
Obtained from: illumos (issue #763 )
MFC after: 1 week
2012-05-27 12:31:57 +00:00
mm
a0cba7035e
Import illumos changeset 13564:cf89c0c60496
...
1946 incorrect formatting when listing output of multiple pools with
zpool iostat -v
References:
https://www.illumos.org/issues/1946
Obtained from: illumos (issue #1946 )
MFC after: 1 week
2012-05-27 12:22:15 +00:00
mm
6a061d782c
Import illumos changeset 13571:a5771a96228c
...
1950 ztest backwards compatibility testing option
References:
https://www.illumos.org/issues/1950
Obtained from: illumos (issue #1950 )
MFC after: 2 weeks
2012-05-27 11:37:24 +00:00
pjd
33d132b84d
Correct error message.
...
MFC after: 3 days
2012-05-25 17:19:30 +00:00
avg
63d85c1c12
zpool_find_import_impl: another /dev/dsk -> /dev fix
...
This seems to fix zdb -e behavior.
PR: bin/155104
Submitted by: swell.k@gmail.com
MFC after: 2 weeks
2012-05-15 17:11:00 +00:00
avg
334fd301de
zpool_do_import: use /dev instead of /dev/dsk as a default
...
This affects behavior of zpool import without -d option.
Reported by: Bruce Cran <bruce@cran.org.uk>
Submitted by: Fabian Keil <freebsd-listen@fabiankeil.de>
MFC after: 2 weeks
2012-05-15 17:07:29 +00:00
gnn
4a10f14855
Move sh to the correct path for FreeBSD.
2012-05-14 22:02:01 +00:00
gnn
457aaa6db7
Move sh to the correct location for FreeBS (/bin/sh)
2012-05-14 22:00:24 +00:00
gnn
31e5e86278
Fix execsnoop by changing exece and exec to be FreeBSD's execve.
...
Reference sh in the correct location (/bin/sh)
2012-05-14 21:59:47 +00:00
gnn
1f15977bf4
Fix opensnoop for FreeBSD by removing probes with 64 at the end as
...
these are unnecessary.
Reference sh in the correct location (/bin/sh)
2012-05-14 21:58:22 +00:00
gnn
2325662608
Import dtracetoolkit into cddl/contrib
2012-05-12 21:25:48 +00:00
gnn
0778d9c814
Revert previous failed cp.
2012-05-12 21:23:31 +00:00
gnn
34bfc80a65
Import dtracetoolkit into cddl/contrib
2012-05-12 21:15:21 +00:00
mm
046ff89626
Import illumos changeset 13686:4bc0783f6064
...
2703 add mechanism to report ZFS send progress
If the zfs send command is used with the -v flag, the amount of bytes
transmitted is reported in per second updates.
References:
https://www.illumos.org/issues/2703
Obtained from: illumos (issue #2703 )
MFC after: 2 weeks
2012-05-10 10:39:45 +00:00
mm
0417257746
Remove unreachable break in zfs_main.c
...
Partial import of illumos changeset 13622:e5889df1eaac
2077 lots of unreachable breaks in illumos gate
References:
https://www.illumos.org/issues/2077
PR: kern/167370
Submitted by: Marcelo Araujo <araujo@FreeBSD.org>
Obtained from: illumos (issue #2077 )
MFC after: 1 week
2012-05-10 09:10:31 +00:00
mm
e290b949d0
Add support for force unmounting ZFS filesystems during "zfs rename"
...
with the -f flag.
Reimplementation of the illumos changeset 13677:a0cbef703c12
2635 'zfs rename -f' to perform force unmount
References:
https://www.illumos.org/issues/2635
PR: kern/164447
Suggested by: Marcelo Araujo <araujo@FreeBSD.org>
Obtained from: illumos (issue #2635 )
MFC after: 1 week
2012-05-10 08:57:58 +00:00
mm
10f60d496c
Import illumos changeset 13618:c6ae14a341e8 [1]:
...
2088 zdb could use a reasonable manual page
Rewrite new zdb manpage to mdoc(7)
References:
https://www.illumos.org/issues/2088
PR: kern/167467 [1]
Submitted by: Marcelo Araujo <araujo@FreeBSD.org> [1]
Reviewed by: mm
Obtained from: Illumos (issue #2088 )
MFC after: 1 week
2012-05-10 04:11:39 +00:00
gjb
c12b44c606
General mdoc(7) and typo fixes.
...
PR: 167696
Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org)
MFC after: 3 days
2012-05-10 02:07:00 +00:00
rstone
ad032fccda
Implement the D "cpu" variable, which returns curcpu. I have chosen not
...
to follow the example of OpenSolaris and its descendants, which implemented
cpu as an inline that took a value out of curthread. At certain points in
the FreeBSD scheduler curthread->td_oncpu will no longer be valid (in
particukar, just before the thread gets descheduled) so instead I have
implemented this as its own built-in variable.
Sponsored by: Sandvine Inc.
MFC after: 1 week
2012-04-26 01:07:03 +00:00
pjd
35c58230e2
Add -u option to 'zfs create' that prevents file system from being
...
automatically mounted. This is similar to the 'zfs receive -u'.
MFC after: 1 week
2012-04-24 13:44:46 +00:00
delphij
37179aa09a
- Correct a typo which prevents 'lzjb' be displayed;
...
- Use quotes when tab is used.
2012-04-22 07:50:24 +00:00
mm
1e792bf1e7
Fix typo miror -> mirror
...
Reported by: Glen Barber <gjb@FreeBSD.org>
MFC after: 3 days
2012-04-16 08:19:43 +00:00
gnn
9cc42fd8d2
Change SIGUSR1 to SIGTHR to properly wake up a process that is being
...
traced. The use of SIGUSR1 caused traced processes (those attached to
with dtrace -p) to exit when dtrace exited.
MFC in: 1 week
2012-04-13 20:22:08 +00:00
gonzo
93809282b9
Add stub file for pid probe. It's required although pid probe is not supported
...
on MIPS yet
2012-03-24 05:27:39 +00:00