diff_cb() does not handle large dnodes

Review Request #2464 — Created Nov. 25, 2019 and submitted

jbk
illumos-gate
11950
general

Running zfs diff on encrypted datasets w/ large dnodes will return an EINVAL error. This fixes the error and adds tests for the bug.

Built BE with change, ran updated tests. Also ran the new test on an older BE without the change to confirm it failed there.

kkantor
  1. Ship It!
  2. 
      
mscheler
  1. Ship It!
  2. 
      
jjelinek
  1. Ship It!
  2. 
      
citrus
  1. Ship It!
  2. 
      
jbk
Review request changed

Status: Closed (submitted)

Loading...