Files
mirror_zfs/module/os/linux/zfs
Alexander Motin 415882d228 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
2022-07-26 10:10:37 -07:00
..
2022-07-26 10:10:37 -07:00
2022-03-20 21:21:18 -07:00
2019-09-12 13:33:44 -07:00
2019-09-12 13:33:44 -07:00
2021-11-02 09:50:30 -07:00
2021-06-24 13:12:36 -07:00
2022-02-03 15:28:01 -08:00
2021-11-02 09:50:30 -07:00