Project

General

Profile

Bug #8856

arc_cksum_is_equal() doesn't take into account ABD-logic

Added by Roman Strashkin almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
zfs - Zettabyte File System
Start date:
2017-11-22
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

arc_cksum_is_equal() calls zio_push_transform() that requires abd_t* (second arg), but a void* is passed.

Delphix's illumos-gate also has the same issue.

the fix:

https://github.com/openzfs/openzfs/pull/498

History

#1

Updated by Electric Monk over 1 year ago

  • % Done changed from 90 to 100
  • Status changed from In Progress to Closed

git commit 01a059ee0cdece49f47fd4d70086dd5bc7d0b0ff

commit  01a059ee0cdece49f47fd4d70086dd5bc7d0b0ff
Author: Roman Strashkin <roman.strashkin@nexenta.com>
Date:   2018-01-16T16:32:46.000Z

    8856 arc_cksum_is_equal() doesn't take into account ABD-logic
    Reviewed by: Matthew Ahrens <mahrens@delphix.com>
    Reviewed by: George Wilson <george.wilson@delphix.com>
    Approved by: Gordon Ross <gwr@nexenta.com>

Also available in: Atom PDF