Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751918AbcDZBQG (ORCPT ); Mon, 25 Apr 2016 21:16:06 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:33008 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751291AbcDZBQD (ORCPT ); Mon, 25 Apr 2016 21:16:03 -0400 Subject: Re: [PATCH] MD: make bio mergeable To: Shaohua Li , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org References: <384a0e0c7d6f2700aadbcbdef003cece88fa7dd7.1461626533.git.shli@fb.com> <571EBD56.7010204@kernel.dk> Cc: qkrwngud825@gmail.com, Kernel-team@fb.com, "v4.3+" , Ming Lei , Jens Axboe , Neil Brown From: Jens Axboe Message-ID: <571EC14E.6040703@kernel.dk> Date: Mon, 25 Apr 2016 19:15:58 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <571EBD56.7010204@kernel.dk> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 642 Lines: 16 On 04/25/2016 06:59 PM, Jens Axboe wrote: > On 04/25/2016 05:52 PM, Shaohua Li wrote: >> blk_queue_split marks bio unmergeable, which makes sense for normal bio. >> But if dispatching the bio to underlayer disk, the blk_queue_split >> checks are invalid, hence it's possible the bio becomes mergeable. >> >> In the reported bug, this bug causes trim against raid0 performance slash >> https://bugzilla.kernel.org/show_bug.cgi?id=117051 > > Good catch! Will apply for this series, thanks Shaohua. Actually, let's let that go through the md tree instead. But you can add my Reviewed-by, and it'd be nice to get this into 4.6. -- Jens Axboe