summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorChunwei Chen <[email protected]>2019-10-28 09:49:44 -0700
committerBrian Behlendorf <[email protected]>2019-10-28 09:49:44 -0700
commit7125a109dcc55628336ff3f58e59e503f4d7694d (patch)
tree1952966258041a0c3f4fc1dead0db1ed32548e0f /autogen.sh
parente35704647e84c62c6a6017ead0b66b446010e4ff (diff)
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 <[email protected]> Reviewed-by: Matt Ahrens <[email protected]> Reviewed-by: Igor Kozhukhov <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Chunwei Chen <[email protected]> Closes #9516
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions