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: Tue, 16 Apr 2013 10:24:31 +0200 Message-ID: <516D0ABF.1000700@redhat.com> References: <1364463509-24975-1-git-send-email-jvesely@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 To: linux-scsi@vger.kernel.org, axboe@kernel.dk Return-path: In-Reply-To: <1364463509-24975-1-git-send-email-jvesely@redhat.com> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org 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 > -- Jan Vesely