HomeFreeBSD

Fix zap_update() ASSERT from ztest

Description

Fix zap_update() ASSERT from ztest

This patch simply removes an invalid assert from the zap_update()
function. The ASSERT is invalid because it does not hold the zap
lock from the time it fetches the old value to the time it confirms
that it is what it should be.

Reviewed by: Matt Ahrens <matt@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Closes #8209

Details

Provenance
Tom Caputi <tcaputi@datto.com>Authored on Dec 14 2018, 6:04 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Dec 14 2018, 6:04 PM
Parents
rG0dd6b6bfcb2c: ztest: ENOSPC in ztest_objset_destroy_cb()
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG2a6078450db6: Fix zap_update() ASSERT from ztest (authored by Tom Caputi <tcaputi@datto.com>).Dec 14 2018, 6:04 PM