diff options
author | mm <mm@FreeBSD.org> | 2012-05-10 10:39:45 +0000 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2012-05-10 10:39:45 +0000 |
commit | 046ff8962602e8d65b6b3fae48573513ab7e433f (patch) | |
tree | 2e515714b93ae457aaf21513998576e8553bb4d0 /cddl/contrib/opensolaris/lib/libzpool/common | |
parent | 53e91930d00af0ca6559a077f205d30b4d0ff0f6 (diff) | |
download | FreeBSD-src-046ff8962602e8d65b6b3fae48573513ab7e433f.zip FreeBSD-src-046ff8962602e8d65b6b3fae48573513ab7e433f.tar.gz |
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
Diffstat (limited to 'cddl/contrib/opensolaris/lib/libzpool/common')
-rw-r--r-- | cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h b/cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h index fa749d5..558de2e 100644 --- a/cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h +++ b/cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h @@ -20,6 +20,7 @@ */ /* * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, Joyent, Inc. All rights reserved. */ #ifndef _SYS_ZFS_CONTEXT_H @@ -228,6 +229,7 @@ struct proc { }; extern struct proc p0; +#define curproc (&p0) #define PS_NONE -1 |