Project

General

Profile

Actions

Bug #12260

closed

Fix zpool history unbounded memory usage

Added by Jerry Jelinek over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
zfs - Zettabyte File System
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Port the following commit from OpenZFS

7125a109dcc Fix zpool history unbounded memory usage

From that description
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.

Actions

Also available in: Atom PDF