linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* block: Allow merging of tail pages into the last segment
@ 2013-03-28  9:38 Jan Vesely
  2013-03-28  9:38 ` [PATCH v3 1/2] block: factor out vector mergeable decision to a helper function Jan Vesely
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Jan Vesely @ 2013-03-28  9:38 UTC (permalink / raw)
  To: linux-scsi, axboe; +Cc: James.Bottomley, viro, linux-fsdevel


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

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

v2: modify a comment

Jan Vesely (2):
      block: factor out vector mergeable decision to a helper function
      block: modify __bio_add_page check to accept pages that don't start a new

 block/blk-merge.c   | 52 +++++++++++++++++++++++++++++++---------------------
 fs/bio.c            | 29 ++++++++++++++++++-----------
 include/linux/bio.h |  3 +++
 3 files changed, 52 insertions(+), 32 deletions(-)


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-06-21 15:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-28  9:38 block: Allow merging of tail pages into the last segment Jan Vesely
2013-03-28  9:38 ` [PATCH v3 1/2] block: factor out vector mergeable decision to a helper function Jan Vesely
2013-03-28  9:38 ` [PATCH v3 2/2] block: modify __bio_add_page check to accept pages that don't start a new segment Jan Vesely
2013-04-16  8:24 ` block: Allow merging of tail pages into the last segment Jan Vesely
2013-06-03 13:30   ` Jan Vesely
2013-06-21 15:31     ` Jan Vesely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).