[PATCH v10 0/1] bio: limit bio max size

From: Changheun Lee
Date: Thu May 13 2021 - 06:20:49 EST


v10 modifications
1. bio_max_bytes is set to "BIO_MAX_VECS * PAGE_SIZE" as minimum.
2. fix maxsize when iov_iter_get_pages() is call in
__bio_iov_append_get_pages()

Changheun Lee (1):
bio: limit bio max size

block/bio.c | 17 ++++++++++++++---
block/blk-settings.c | 7 +++++++
include/linux/bio.h | 4 +++-
include/linux/blkdev.h | 2 ++
4 files changed, 26 insertions(+), 4 deletions(-)

--
2.29.0