HomeFreeBSD

zfs receive and rollback can skew filesystem_count

Description

zfs receive and rollback can skew filesystem_count

This commit fixes a small issue which causes both zfs receive and
rollback operations to incorrectly increase the "filesystem_count"
property value.

This change also adds a new test group "limits" to the ZFS Test Suite
to exercise both filesystem_count/limit and snapshot_count/limit
functionality.

Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #8232

Details

Provenance
loli10K <loli10K@users.noreply.github.com>Authored on Jan 8 2019, 6:17 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jan 8 2019, 6:17 PM
Parents
rGf384c045d813: OpenZFS 8473 - scrub does not detect errors on active spares
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG0f5f23869a64: zfs receive and rollback can skew filesystem_count (authored by loli10K <loli10K@users.noreply.github.com>).Jan 8 2019, 6:17 PM