From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756269AbbE2PPn (ORCPT ); Fri, 29 May 2015 11:15:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45464 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752811AbbE2PPh (ORCPT ); Fri, 29 May 2015 11:15:37 -0400 Date: Fri, 29 May 2015 11:15:35 -0400 From: Mike Snitzer To: Ming Lin Cc: lkml , Christoph Hellwig , Kent Overstreet , Jens Axboe , Dongsu Park , Christoph Hellwig , Al Viro , Ming Lei , Neil Brown , Alasdair Kergon , dm-devel@redhat.com, Lars Ellenberg , drbd-user@lists.linbit.com, Jiri Kosina , Geoff Levand , Jim Paris , Joshua Morris , Philip Kelleher , Minchan Kim , Nitin Gupta , Oleg Drokin , Andreas Dilger Subject: Re: [PATCH v4 01/11] block: make generic_make_request handle arbitrarily sized bios Message-ID: <20150529151534.GA27800@redhat.com> References: <1432318723-18829-1-git-send-email-mlin@kernel.org> <1432318723-18829-2-git-send-email-mlin@kernel.org> <20150526143626.GA4315@redhat.com> <20150526160400.GB4715@redhat.com> <20150528003627.GD32216@agk-dp.fab.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 29 2015 at 3:05P -0400, Ming Lin wrote: > On Wed, May 27, 2015 at 5:36 PM, Alasdair G Kergon wrote: > > On Wed, May 27, 2015 at 04:42:44PM -0700, Ming Lin wrote: > >> Here are fio results of XFS on a DM stripped target with 2 SSDs + 1 HDD. > >> Does it make sense? > > > > To stripe across devices with different characteristics? > > > > Some suggestions. > > > > Prepare 3 kernels. > > O - Old kernel. > > M - Old kernel with merge_bvec_fn disabled. > > How to disable it? > Maybe just hack it as below? > > void blk_queue_merge_bvec(struct request_queue *q, merge_bvec_fn *mbfn) > { > //q->merge_bvec_fn = mbfn; > } Right, there isn't an existing way to disable it, you'd need a hack like that.