Files
mirror_zfs/module/os/freebsd/zfs
Alexander Motin 7eebcd2be6 Avoid small buffer copying on write
It is wrong for arc_write_ready() to use zfs_abd_scatter_enabled to
decide whether to reallocate/copy the buffer, because the answer is
OS-specific and depends on the buffer size.  Instead of that use
abd_size_alloc_linear(), moved into public header.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Brian Atkinson <batkinson@lanl.gov>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Closes #12425
2021-07-27 16:05:47 -07:00
..
2021-07-27 16:05:47 -07:00
2021-05-24 14:42:45 -06:00
2020-04-14 11:36:28 -07:00
2021-07-26 12:07:39 -07:00
2021-07-26 12:07:26 -07:00
2021-06-22 21:53:45 -07:00
2021-06-22 21:53:45 -07:00
2021-05-13 15:14:12 -07:00
2021-07-26 12:07:53 -07:00
2021-07-22 10:22:14 -06:00