On 28/03/13 10:38, Jan Vesely wrote: > 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) any comments on this version would be appreciated thanks > > 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(-) > > -- > To unsubscribe from this list: send the line "unsubscribe linux-scsi" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- Jan Vesely <jvesely@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html