mirror_zfs/lib
Chunwei Chen c6eaa8b7f9 Fix zpool history unbounded memory usage
In original implementation, zpool history will read the whole history
before printing anything, causing memory usage goes unbounded. We fix
this by breaking it into read-print iterations.

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>
Signed-off-by: Chunwei Chen <david.chen@nutanix.com>
Closes #9516
2020-01-22 13:49:03 -08:00
..
libavl Support -fsanitize=address with --enable-asan 2018-01-10 10:49:27 -08:00
libefi Fix typos in lib/ 2020-01-22 13:48:59 -08:00
libicp Add support for selecting encryption backend 2018-08-02 11:59:24 -07:00
libnvpair Use correct format string when printing int8 2020-01-22 13:49:03 -08:00
libshare Modify sharenfs=on default behavior 2020-01-22 13:49:03 -08:00
libspl Fix typos in lib/ 2020-01-22 13:48:59 -08:00
libtpool Fix typos in lib/ 2020-01-22 13:48:59 -08:00
libunicode Support -fsanitize=address with --enable-asan 2018-01-10 10:49:27 -08:00
libuutil Update build system and packaging 2018-05-29 16:00:33 -07:00
libzfs Fix zpool history unbounded memory usage 2020-01-22 13:49:03 -08:00
libzfs_core Use ZFS_DEV macro instead of literals 2019-09-25 11:27:48 -07:00
libzpool OpenZFS 9425 - channel programs can be interrupted 2020-01-22 13:48:56 -08:00
libzutil Implement ZPOOL_IMPORT_UDEV_TIMEOUT_MS 2020-01-22 13:49:03 -08:00
Makefile.am Add libzutil for libzfs or libzpool consumers 2018-11-05 11:22:33 -08:00