From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Vesely Subject: Re: block: Allow merging of tail pages into the last segment Date: Mon, 03 Jun 2013 15:30:36 +0200 Message-ID: <51AC9A7C.90306@redhat.com> References: <1364463509-24975-1-git-send-email-jvesely@redhat.com> <516D0ABF.1000700@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: James.Bottomley@hansenpartnership.com, viro@zeniv.linux.org.uk, linux-fsdevel@vger.kernel.org, =?UTF-8?B?S2FpIE3DpGtpc2FyYQ==?= , fujita.tomonori@lab.ntt.co.jp To: linux-scsi@vger.kernel.org, axboe@kernel.dk Return-path: In-Reply-To: <516D0ABF.1000700@redhat.com> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On 16/04/13 10:24, Jan Vesely wrote: > 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@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html >> ping? Jens, your input on v2 helped a lot, any comments on v3? thanks -- Jan Vesely