Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754711AbbK3UCB (ORCPT ); Mon, 30 Nov 2015 15:02:01 -0500 Received: from mail-oi0-f51.google.com ([209.85.218.51]:36456 "EHLO mail-oi0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751476AbbK3UB7 (ORCPT ); Mon, 30 Nov 2015 15:01:59 -0500 Subject: Re: [PATCH] blk-merge: fix computing bio->bi_seg_front_size in case of single segment To: Ming Lei , linux-kernel@vger.kernel.org References: <1448870749-22230-1-git-send-email-ming.lei@canonical.com> Cc: linux-block@vger.kernel.org, Christoph Hellwig , Hannes Reinecke , Markus Trippelsdorf From: Jens Axboe Message-ID: <565CAB34.5000306@kernel.dk> Date: Mon, 30 Nov 2015 13:01:56 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <1448870749-22230-1-git-send-email-ming.lei@canonical.com> 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: 726 Lines: 19 On 11/30/2015 01:05 AM, Ming Lei wrote: > When bio has only one physical segment, we should set bio's > bi_seg_front_size as the real(final) size of the single segment. > > Fixes: 02e707424c2ea(blk-merge: fix blk_bio_segment_split) > Reported-by: Markus Trippelsdorf > Tested-by: Markus Trippelsdorf > Signed-off-by: Ming Lei I'm going to fold this into the offending patch. Thanks Ming! -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/