block: try to make aligned bio in case of big chunk IO
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 2 repliesIn review
- v11 patch 5 repliesSuperseded
Changes in v2 from the cover letter
- add patch 1/2
- add 'max_size' hint to iov_iter_extract_pages() so that bio/iov iter revert can be minimized, as suggested by Christoph
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | block: don't call into iov_iter_revert if nothing is leftblock/ | +7 | 1 reply | |
| 2/2 | block: try to make aligned bio in case of big chunk IOblock/ include/ | +118 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH V2 0/2] block: try to make aligned bio in case of big chunk IO
Hello,
The 1st adds check to avoid to call into iov_iter_revert() with zero 'unroll'.
The 2nd patch improves big chunk sequential IO performance by aligning bio with max io size.
V2:
- add patch 1/2
- add 'max_size' hint to iov_iter_extract_pages() so that bio/iov iter revert can be minimized, as suggested by Christoph
BTW, the check on 'bio->bi_bdev' isn't removed because there are more such patterns(P2PDMA, block size check) in __bio_iov_iter_get_pages(), and we need to audit that bio->bi_bdev is really non-NULL first, so it shouldn't be part of this patchset
Ming Lei (2):
block: don't call into iov_iter_revert if nothing is left
block: try to make aligned bio in case of big chunk IO
block/bio.c | 126 +++++++++++++++++++++++++++++++++++++++-- include/linux/blkdev.h | 5 ++ 2 files changed, 125 insertions(+), 6 deletions(-)
Signature · 1 line
2.41.0