mirror_zfs/cmd
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
..
arc_summary Canonicalize Python shebangs 2019-09-12 13:32:32 -07:00
arcstat Detect if sed supports --in-place 2019-10-16 19:19:48 -07:00
dbufstat Detect if sed supports --in-place 2019-10-16 19:19:48 -07:00
fsck_zfs Fix typos in cmd/ 2019-08-30 09:43:30 -07:00
mount_zfs OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
raidz_test OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
vdev_id Fix typos in cmd/ 2019-08-30 09:43:30 -07:00
zdb Remove gratuitous Linux only include in ztest & zdb 2019-10-19 17:08:19 -07:00
zed OpenZFS restructuring - libzutil 2019-10-03 10:20:44 -07:00
zfs OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
zgenhostid Add zgenhostid utility script 2017-07-25 13:22:03 -04:00
zhack OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
zinject Use zfs_ioctl() in zinject.c 2019-10-25 13:50:34 -07:00
zpool Fix zpool history unbounded memory usage 2019-10-28 09:49:44 -07:00
zstreamdump OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
ztest Remove gratuitous Linux only include in ztest & zdb 2019-10-19 17:08:19 -07:00
zvol_id OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
zvol_wait zvol_wait script should ignore partially received zvols 2019-09-03 11:29:52 -07:00
Makefile.am New service that waits on zvol links to be created 2019-07-17 15:33:05 -07:00