zfs: use channel as iterator for ZFSList results

The old approach with ZFSList would keep the two-dimensional array of
lines and their fields in memory (for a short time), which could easily
consume 100s of MiB with > 10000 snapshots / bookmarks (see #34)

fixes #61
This commit is contained in:
Christian Schwarz
2018-02-18 13:28:46 +01:00
parent aa92261ea7
commit 3ba3648f0f
4 changed files with 95 additions and 13 deletions
+2
View File
@@ -19,6 +19,8 @@ Developers should consult the git commit log or GitHub issue tracker.
* Make sure to understand the meaning bookmarks have for :ref:`maximum replication downtime <replication-downtime>`.
* Example: :sampleconf:`pullbackup/productionhost.yml`
* |bugfix| :issue:`61`: fix excessive memory usage
0.0.2
-----