diff options
author | Matthew Macy <[email protected]> | 2020-12-12 16:00:00 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-12 16:00:00 -0800 |
commit | 923d730329290c7dc8ae5b4d27c6ed01d24d9f4c (patch) | |
tree | 2e285cd70b66efb49072dfb7f3167e75617b3717 /module/zfs/dmu_objset.c | |
parent | c76a40bfdaedd1eb2c037dfdf822ea5c4db97397 (diff) |
dmu_zfetch: fix memory leak
The last change caused the read completion callback to not be called
if the IO was still in progress. This change restores allocation
of the arc buf callback, but in the callback path checks the new
acb_nobuf field to know to skip buffer allocation.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Matt Macy <[email protected]>
Closes #11324
Diffstat (limited to 'module/zfs/dmu_objset.c')
0 files changed, 0 insertions, 0 deletions