Mercurial > illumos > git > illumos-gate
comparison usr/src/lib/libzfs/common/libzfs.h @ 19434:d591e9494f1f
12260 Fix zpool history unbounded memory usage
Portions contributed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Tom Caputi <tcaputi@datto.com>
Reviewed by: Matt Ahrens <matt@delphix.com>
Reviewed by: Igor Kozhukhov <igor@dilos.org>
Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed by: Sanjay Nadkarni <Sanjay G Nadkarni <snadkarni@tintri.com>
Approved by: Dan McDonald <danmcd@joyent.com>
author | Chunwei Chen <david.chen@nutanix.com> |
---|---|
date | Thu, 30 Jan 2020 12:57:07 -0700 |
parents | d646a8c7730b |
children | 6edf66c908f5 |
comparison
equal
deleted
inserted
replaced
19433:7c41859fb95d | 19434:d591e9494f1f |
---|---|
457 } vdev_name_t; | 457 } vdev_name_t; |
458 | 458 |
459 extern char *zpool_vdev_name(libzfs_handle_t *, zpool_handle_t *, nvlist_t *, | 459 extern char *zpool_vdev_name(libzfs_handle_t *, zpool_handle_t *, nvlist_t *, |
460 int name_flags); | 460 int name_flags); |
461 extern int zpool_upgrade(zpool_handle_t *, uint64_t); | 461 extern int zpool_upgrade(zpool_handle_t *, uint64_t); |
462 extern int zpool_get_history(zpool_handle_t *, nvlist_t **); | 462 extern int zpool_get_history(zpool_handle_t *, nvlist_t **, uint64_t *, |
463 boolean_t *); | |
463 extern int zpool_history_unpack(char *, uint64_t, uint64_t *, | 464 extern int zpool_history_unpack(char *, uint64_t, uint64_t *, |
464 nvlist_t ***, uint_t *); | 465 nvlist_t ***, uint_t *); |
465 extern void zpool_obj_to_path(zpool_handle_t *, uint64_t, uint64_t, char *, | 466 extern void zpool_obj_to_path(zpool_handle_t *, uint64_t, uint64_t, char *, |
466 size_t len); | 467 size_t len); |
467 extern int zfs_ioctl(libzfs_handle_t *, int, struct zfs_cmd *); | 468 extern int zfs_ioctl(libzfs_handle_t *, int, struct zfs_cmd *); |