Skip to content

block: Allow merging of tail pages into the last segment

Jan Vesely linux-fsdevel linux-scsi lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 1 replyIn review
  2. v32 patches 0 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2block: factor out vector mergeable decision to a helper functionblock/blk-merge.c include/linux/bio.h+34 -210 replies
2/2block: modify __bio_add_page check to accept pages that don't start a new segmentfs/bio.c+19 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/2] block: Allow merging of tail pages into the last segment

Hi

These patches modify __bio_add_page to accept pages that extent the last bio segment. some drivers craft their buffers and rely on this behavior (see message in patch 2 for details)

jan

v4: whitespace fixes to make checkpatch happy

v3: Use code from __blk_recalc_rq_segments to decide whether the page is
mergeable,

v2: modify a comment