]> granicus.if.org Git - zfs/commit
Remove unnecessary txg syncs from receive_object()
authorTom Caputi <tcaputi@datto.com>
Wed, 21 Feb 2018 20:26:51 +0000 (15:26 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 21 Feb 2018 20:26:51 +0000 (12:26 -0800)
commit5121c4fb0c25a369d2e6f61e5b0a79969f0b75b5
tree4d81c34137b5448ea084d5445f73434e6be7c15e
parent478b3150dea216d73e3d65749c8d6ccd365efef4
Remove unnecessary txg syncs from receive_object()

1b66810b introduced serveral changes which improved the reliability
of zfs sends when large dnodes were involved. However, these fixes
required adding a few calls to txg_wait_synced() in the DRR_OBJECT
handling code. Although most of them are currently necessary, this
patch allows the code to continue without waiting in some cases
where it doesn't have to.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Closes #7197
module/zfs/dmu_send.c