aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2019-11-08 18:15:27 +0800
committerJens Axboe <[email protected]>2019-11-08 06:59:49 -0700
commit59db8ba2f6528a9c39668f9ed8c81eac1dff3b38 (patch)
tree64b81003abbb0d0cb0005cabd7cc11606a1b4dcb /lib/netdev-notifier-error-inject.c
parent1d156646e0d8ec390e5d5ac288137df02d4207be (diff)
block: still try to split bio if the bvec crosses pages
Some device may set segment boundary as PAGE_SIZE - 1. If the bvec crosses pages, and meantime its length is <= PAGE_SIZE, we still need to split the bvec into 2 segments. Fixes this issue by still splitting bio if the single bvec crosses pages. Reported-by: kernel test robot <[email protected]> Fixes: fa5322872187 (block: avoid blk_bio_segment_split for small I/O operations) Cc: Christoph Hellwig <[email protected]> Signed-off-by: Ming Lei <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions