mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 19:04:45 +03:00
Implement lzc_send_progress
This commit adds an implementation of lzc_send_progress, which existed in the libzfs_core header, but not in ABI and lacked an actual implementation. The libzfs_send_progress function is altered so that it wraps around the lzc operation. This fills a functional gap in libzfs core. Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Ameer Hamza <ahamza@ixsystems.com> Signed-off-by: Andrew Walker <andrew.walker@truenas.com> Closes #18288
This commit is contained in:
@@ -125,7 +125,7 @@ _LIBZFS_CORE_H int lzc_send_space(const char *, const char *,
|
||||
_LIBZFS_CORE_H int lzc_send_space_resume_redacted(const char *, const char *,
|
||||
enum lzc_send_flags, uint64_t, uint64_t, uint64_t, const char *,
|
||||
int, uint64_t *);
|
||||
_LIBZFS_CORE_H uint64_t lzc_send_progress(int);
|
||||
_LIBZFS_CORE_H int lzc_send_progress(const char *, int, uint64_t *, uint64_t *);
|
||||
|
||||
_LIBZFS_CORE_H boolean_t lzc_exists(const char *);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user