dm: fix various issues with bio splitting code
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | dm: fix clone_bio() to trigger blk_recount_segments()drivers/ | +2 | 1 reply | |
| 2/4 | dm: fix redundant IO accounting for bios that need splittingdrivers/ | +16 | 2 replies | |
| 3/4 | dm: fix missing bio_split() pattern code in __split_and_process_bio()drivers/ | +2 | 8 replies | |
| 4/4 | dm: fix dm_wq_work() to only use __split_and_process_bio() if appropriatedrivers/ | +12 | 0 replies |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Ming Lei |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] dm: fix various issues with bio splitting code
Hi,
These mostly stable@ patches will be sent to Linus for 5.0-rc4 inclusion (would've sent today for 5.0-rc3 but I don't yet have linux-next coverage).
Just wanted to give a heads up because some of the problems fixed could bite other users of the bio_split()+generic_make_request() recursive pattern. We should probably factor out some helpers that all users could share (e.g. so they don't forget to set BIO_QUEUE_ENTERED or call trace_block_split(), etc).
Thanks,
Mike
Mike Snitzer (4):
dm: fix clone_bio() to trigger blk_recount_segments()
dm: fix redundant IO accounting for bios that need splitting
dm: fix missing bio_split() pattern code in __split_and_process_bio()
dm: fix dm_wq_work() to only use __split_and_process_bio() if appropriate
drivers/md/dm.c | 44 ++++++++++++++++++++++++++++++++------------ 1 file changed, 32 insertions(+), 12 deletions(-)
Signature · 1 line
2.15.0