diff options
author | Bill Pijewski <[email protected]> | 2012-05-09 15:05:14 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2012-09-19 13:39:06 -0700 |
commit | 37abac6d559a1da8ab8e5379442f491b73998f6a (patch) | |
tree | ca8b1111122302e6151581c3524342dbb5cfff65 /include/libzfs.h | |
parent | 1bd201e70d57464fd26bf9089ea4b44fd49e4f2d (diff) |
Illumos #2703: add mechanism to report ZFS send progress
Reviewed by: Matt Ahrens <[email protected]>
Reviewed by: Robert Mustacchi <[email protected]>
Reviewed by: Richard Lowe <[email protected]>
Approved by: Eric Schrock <[email protected]>
References:
https://www.illumos.org/issues/2703
Ported by: Martin Matuska <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'include/libzfs.h')
-rw-r--r-- | include/libzfs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libzfs.h b/include/libzfs.h index 9d0e8ce43..75e149334 100644 --- a/include/libzfs.h +++ b/include/libzfs.h @@ -23,6 +23,7 @@ * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright 2011 Nexenta Systems, Inc. All rights reserved. * Copyright (c) 2012 by Delphix. All rights reserved. + * Copyright (c) 2012, Joyent, Inc. All rights reserved. */ #ifndef _LIBZFS_H @@ -580,6 +581,9 @@ typedef struct sendflags { /* parsable verbose output (ie. -P) */ boolean_t parsable; + + /* show progress (ie. -v) */ + boolean_t progress; } sendflags_t; typedef boolean_t (snapfilter_cb_t)(zfs_handle_t *, void *); |