diff options
author | Gvozden Neskovic <[email protected]> | 2017-01-05 14:10:07 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-03-29 12:24:51 -0700 |
commit | 84c07adadb2486e4049032e43e1f38650ca75289 (patch) | |
tree | e3215504111edc9dea3970e643833f6963f3f9d0 /include/sys/zio_checksum.h | |
parent | 2035575fd67fd7dd14f072e1cb6f4bae8ca62c7d (diff) |
Remove dependency on linear ABD
Wherever possible it's best to avoid depending on a linear ABD.
Update the code accordingly in the following areas.
- vdev_raidz
- zio, zio_checksum
- zfs_fm
- change abd_alloc_for_io() to use abd_alloc()
Reviewed-by: David Quigley <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Gvozden Neskovic <[email protected]>
Closes #5668
Diffstat (limited to 'include/sys/zio_checksum.h')
-rw-r--r-- | include/sys/zio_checksum.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/zio_checksum.h b/include/sys/zio_checksum.h index 60fd12b06..45abd3bd3 100644 --- a/include/sys/zio_checksum.h +++ b/include/sys/zio_checksum.h @@ -130,7 +130,7 @@ extern int zio_checksum_equal(spa_t *, blkptr_t *, enum zio_checksum, void *, uint64_t, uint64_t, zio_bad_cksum_t *); extern void zio_checksum_compute(zio_t *, enum zio_checksum, struct abd *, uint64_t); -extern int zio_checksum_error_impl(spa_t *, blkptr_t *, enum zio_checksum, +extern int zio_checksum_error_impl(spa_t *, const blkptr_t *, enum zio_checksum, struct abd *, uint64_t, uint64_t, zio_bad_cksum_t *); extern int zio_checksum_error(zio_t *zio, zio_bad_cksum_t *out); extern enum zio_checksum spa_dedup_checksum(spa_t *spa); |