mirror_zfs/cmd
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
..
arc_summary Canonicalize Python shebangs 2020-01-22 13:49:00 -08:00
arcstat Canonicalize Python shebangs 2020-01-22 13:49:00 -08:00
dbufstat Canonicalize Python shebangs 2020-01-22 13:49:00 -08:00
fsck_zfs Fix typos in cmd/ 2020-01-22 13:48:58 -08:00
mount_zfs Refactor libzfs_error_init newlines 2020-01-22 13:49:01 -08:00
raidz_test Support -fsanitize=address with --enable-asan 2018-01-10 10:49:27 -08:00
vdev_id Fix typos in cmd/ 2020-01-22 13:48:58 -08:00
zdb Fix typos in cmd/ 2020-01-22 13:48:58 -08:00
zed Fix typos in cmd/ 2020-01-22 13:48:58 -08:00
zfs Refactor libzfs_error_init newlines 2020-01-22 13:49:01 -08:00
zgenhostid Add zgenhostid utility script 2017-07-25 13:22:03 -04:00
zhack Add libzutil for libzfs or libzpool consumers 2018-11-05 11:22:33 -08:00
zinject Refactor libzfs_error_init newlines 2020-01-22 13:49:01 -08:00
zpool Fix zpool history unbounded memory usage 2020-01-22 13:49:03 -08:00
zstreamdump Fix typos in cmd/ 2020-01-22 13:48:58 -08:00
ztest Linux 5.0 compat: SIMD compatibility 2020-01-22 13:49:01 -08:00
zvol_id Fedora 28: Fix misc bounds check compiler warnings 2018-04-04 10:16:47 -07:00
zvol_wait zvol_wait script should ignore partially received zvols 2019-09-25 11:27:51 -07:00
Makefile.am New service that waits on zvol links to be created 2019-09-25 11:27:51 -07:00