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 /module/zfs/abd.c | |
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 'module/zfs/abd.c')
-rw-r--r-- | module/zfs/abd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/abd.c b/module/zfs/abd.c index 6ff266bd6..6d0a3b503 100644 --- a/module/zfs/abd.c +++ b/module/zfs/abd.c @@ -722,7 +722,7 @@ abd_alloc_sametype(abd_t *sabd, size_t size) abd_t * abd_alloc_for_io(size_t size, boolean_t is_metadata) { - return (abd_alloc_linear(size, is_metadata)); + return (abd_alloc(size, is_metadata)); } /* |