diff options
author | Benjamin Marzinski <[email protected]> | 2024-07-02 11:56:45 +0200 |
---|---|---|
committer | Mikulas Patocka <[email protected]> | 2024-07-02 11:58:08 +0200 |
commit | 06a0b333e58407970e9b109d054610d2f107ca87 (patch) | |
tree | 093a4a9e2dfa8078ee35ea620f23163acc592e60 /lib/memory-notifier-error-inject.c | |
parent | aaa53168cbcc486ca1927faac00bd99e81d4ff04 (diff) |
dm io: bump num_bvecs to handle offset memory
If dp->get_page() returns a non-zero offset, the bio might need an
additional bvec to deal with the offset. For example, if remaining is
exactly one page size, but there is an offset, the memory will span
two pages.
Signed-off-by: Benjamin Marzinski <[email protected]>
Signed-off-by: Mikulas Patocka <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions