Searched hist:272665 (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Ddsl_scan.cdiff 272665 Mon Oct 06 17:41:07 MDT 2014 delphij MFC r271532: MFV r271515:

Add a new tunable/sysctl, vfs.zfs.free_max_blocks, which can be used to
limit how many blocks can be free'ed before a new transaction group is
created. The default is no limit (infinite), but we should probably have
a lower default, e.g. 100,000.

With this limit, we can guard against the case where ZFS could run out of
memory when destroying large numbers of blocks in a single transaction
group, as the entire DDT needs to be brought into memory.

Illumos issue:
5138 add tunable for maximum number of blocks freed in one txg

Completed in 50 milliseconds