]> granicus.if.org Git - zfs/commit
Reduce async_destroy_001_pos memory requirements
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 6 Jun 2017 18:30:47 +0000 (11:30 -0700)
committerGitHub <noreply@github.com>
Tue, 6 Jun 2017 18:30:47 +0000 (11:30 -0700)
commitca8b210744ab7507cf7a27aeb246520d377f2fce
treeb19e6b5fd20ed5f4f526a06cdf2ec9442c250191
parent6eb6073a044653016013b1a72de03a1257e899c5
Reduce async_destroy_001_pos memory requirements

The number of blocks which can be freed per TXG is controlled
by the zfs_free_max_blocks module option (defaults to 100,000).
Both speed up this test case and reduce the memory requirements
by only creating 4 TXGs worth of blocks to be freed.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #5479
Closes #6192
tests/zfs-tests/tests/functional/features/async_destroy/async_destroy_001_pos.ksh
tests/zfs-tests/tests/functional/features/async_destroy/setup.ksh