Files
mirror_zfs/cmd
George Amanakis 72a82f312f Report dnodes with faulty bonuslen
In files created/modified before 4254acb there may be a corruption of
xattrs which is not reported during scrub and normal send/receive. It
manifests only as an error when raw sending/receiving. This happens
because currently only the raw receive path checks for discrepancies
between the dnode bonus length and the spill pointer flag.

In case we encounter a dnode whose bonus length is greater than the
predicted one, we should report an error. Modify in this regard
dnode_sync() with an assertion at the end, dump_dnode() to error out,
dsl_scan_recurse() to report errors during a scrub, and zstream to
report a warning when dumping. Also added a test to verify spill blocks
are sent correctly in a raw send.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: George Amanakis <gamanakis@gmail.com>
Closes #12720 
Closes #13014
2022-02-16 17:58:55 -08:00
..
2021-11-02 09:50:30 -07:00
2021-03-22 12:34:58 -07:00
2021-11-02 16:31:17 -07:00
2022-02-10 11:04:16 -08:00
2021-11-02 09:50:30 -07:00
2021-01-26 16:12:26 -08:00
2021-01-26 16:12:26 -08:00
2021-11-05 07:51:21 -07:00
2021-11-02 09:50:30 -07:00
2021-06-24 13:12:36 -07:00