summaryrefslogtreecommitdiffstats
path: root/cmd/zdb/zdb.c
diff options
context:
space:
mode:
authorNed Bass <[email protected]>2017-09-05 16:09:15 -0700
committerBrian Behlendorf <[email protected]>2017-09-05 16:09:15 -0700
commit65dcb0f67a4d72ee4e1e534703db5caacf1ec85f (patch)
treeeff9601d9162ede41c171824f2a264fe8e281246 /cmd/zdb/zdb.c
parentc8811dec7044a126650c7e2d9f3404680ae115b5 (diff)
Handle new dnode size in incremental backup stream
When receiving an incremental backup stream, call dmu_object_reclaim_dnsize() if an object's dnode size differs between the incremental source and target. Otherwise it may appear that a dnode which has shrunk is still occupying slots which are in fact free. This will cause a failure to receive new objects that should occupy the now-free slots. Add a test case to verify that an incremental stream containing objects with changed dnode sizes can be received without error. This test case fails without this change. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ned Bass <[email protected]> Closes #6366 Closes #6576
Diffstat (limited to 'cmd/zdb/zdb.c')
0 files changed, 0 insertions, 0 deletions