block: fix bi_vcnt misuse for cloned bio
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | block: fix bio_may_need_split() by using bvec iterator wayblock/ | +10 | 6 replies | |
| 2/3 | block: don't initialize bi_vcnt for cloned bio in bio_iov_bvec_set()block/ | +1 | 2 replies | |
| 3/3 | io_uring: don't re-calculate iov_iter nr_segs in io_import_kbuf()io_uring/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] block: fix bi_vcnt misuse for cloned bio
Hello Guys,
The 1st patch removes .bi_vcnt from bio_may_need_split() because the incoming bio may be cloned.
The 2nd patch doesn't initialize cloned bio's bi_vcnt in bio_iov_bvec_set().
The 3rd patch removes iov iter nr_segs re-calculation for io_import_kbuf().
Ming Lei (3):
block: fix bio_may_need_split() by using bvec iterator way
block: don't initialize bi_vcnt for cloned bio in bio_iov_bvec_set()
io_uring: don't re-calculate iov_iter nr_segs in io_import_kbuf()
block/bio.c | 2 +- block/blk.h | 13 ++++++++++--- io_uring/rsrc.c | 10 ---------- 3 files changed, 11 insertions(+), 14 deletions(-)
Signature · 1 line
2.47.0