mirror_zfs/lib
Chunwei Chen 7125a109dc 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
2019-10-28 09:49:44 -07:00
..
libavl OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
libefi OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
libicp OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
libnvpair Use correct format string when printing int8 2019-10-20 20:37:30 -07:00
libshare Modify sharenfs=on default behavior 2019-10-13 19:13:26 -07:00
libspl Remove unneeded header from libzpool/kernel.c 2019-10-26 10:07:59 -07:00
libtpool OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
libunicode OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
libuutil Remove unused headers from uu_string.c 2019-10-25 13:53:50 -07:00
libzfs Fix zpool history unbounded memory usage 2019-10-28 09:49:44 -07:00
libzfs_core OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
libzpool Remove unneeded header from libzpool/kernel.c 2019-10-26 10:07:59 -07:00
libzutil Implement ZPOOL_IMPORT_UDEV_TIMEOUT_MS 2019-10-11 09:52:48 -07:00
Makefile.am Add libzutil for libzfs or libzpool consumers 2018-11-05 11:22:33 -08:00