zfs/module/os
Rob Norris 74e8091130 abd_bio_map_off: avoid splitting scatter pages across bios
This is the same change as the previous commit, but for scatter abds.

Its less clear if this change is needed. Since scatter abds are only
ever added a page at time, both sides of the split should always be
added in consecutive segments.

Intuitively though, it may be possible for a partially-filled bio to be
used, or a bio with an odd number of iovecs, and that then could lead to
a misaligned bio. While I've not been able to reproduce this at all, it
seems to make sense to protect against it.

Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
(cherry picked from commit cbdf21fd1a32a5e696a22cad497d9211221fa309)
2023-07-31 15:05:56 +00:00
..
freebsd vnops: thread DMU_TX_ASSIGN_CONTINUE to a bunch of vnops 2023-07-05 13:27:30 +00:00
linux abd_bio_map_off: avoid splitting scatter pages across bios 2023-07-31 15:05:56 +00:00