Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp2054102img; Wed, 27 Feb 2019 09:39:03 -0800 (PST) X-Google-Smtp-Source: AHgI3IbFp1aERVsYsTDaQE9cvkFiZ2lEZIahx2W0uPJjZCZViWKBXPND/X/Fg2qfB2LhDq0A977q X-Received: by 2002:a65:609a:: with SMTP id t26mr3946534pgu.411.1551289143733; Wed, 27 Feb 2019 09:39:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551289143; cv=none; d=google.com; s=arc-20160816; b=Zhzg3j8em9tTkwHtiXqwKfTb0XghSaDT/eRGuvQMXvii8JOjrLZk5qxRhcv1MegjCU db0v6NOTfW1rytY2mA4y9uteoTKJDZcdNv3f6mvNjIEZsrTI9XcZpChbhEPB7l95KU11 zCUY+Xf7v7G10tKIMP0lntrbheSWlLbRgwzcc4NZxse34dUmHDNtkSqwoYklD1T+2HgU eaXetE+6qCr3ymk9kWMF/uR/yH8i9yoaNruziXNBgT2xzpz7QfnpQFnFUQjk/V9y7mOy 4jwB0mvhP5iYt3bX0Hl+T5syNvqpt0tR2EX6vQA9RMlqV66zQlZFgDSSs1S0OfJf2xSm 7xew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=BZWN4kWnHHtcgvXt4H7DWA0qQJIeRpQ0b286hBDgub4=; b=gt48MbAvnqgl+kpiMMImiQShmqw06QC9SA2jgDoPQydHO106Es6qqonBHP+PBTTudc Y/tMsFZixl/9GVOLM+yotzAsyngDLBmyRN9D6LOWVz5Fp9KzCH7ZW8Jh6duARNj4vkHi Yh59Mmb89ics9lE04sni3i4luALB5rr0T3hZiXF1B6R3lLEJAdymGcCBRsaqqXBLcrGp tZ6X/z3gl9v03qEOBf39NyXY2Ntj7n5/BWT6CaUbHNaSARuhY74/wQ8Ux/mphv5OKJwg uns/ewzmWtAJpELbfq8mkqodWFNpENV5B00yG9kupo29wYaqu8y1kQe51okO6CMy7eyx Fz8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2BdtGI9I; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n3si15238695plk.108.2019.02.27.09.38.49; Wed, 27 Feb 2019 09:39:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2BdtGI9I; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730089AbfB0RiX (ORCPT + 99 others); Wed, 27 Feb 2019 12:38:23 -0500 Received: from mail.kernel.org ([198.145.29.99]:36718 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725854AbfB0RiX (ORCPT ); Wed, 27 Feb 2019 12:38:23 -0500 Received: from localhost (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3B21D20C01; Wed, 27 Feb 2019 17:38:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1551289102; bh=EqoXXfWva20wppUEgsELWuum7qWqGz5tslGFQmEJ+5I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=2BdtGI9ItkmJVEqzDadwcs7Yv6gDZRftlIf1fGc43GqkMeFm1G/zr9sv31R7IhYUm N7J6ZEWWlRi6I5xMPCSEleUXGqkQfFkM2sW2aIyNxRR7nE+/NQmUo7sKeMwZYveUAx eObsElXUlM+PkrXPAJ3wCc97N9BXklvJryzzuwN0= Date: Wed, 27 Feb 2019 12:38:21 -0500 From: Sasha Levin To: Mike Snitzer Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH AUTOSEL 4.20 42/77] dm: fix clone_bio() to trigger blk_recount_segments() Message-ID: <20190227173821.GK10616@sasha-vm> References: <20190215020855.176727-1-sashal@kernel.org> <20190215020855.176727-42-sashal@kernel.org> <20190215034909.GB17226@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20190215034909.GB17226@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 14, 2019 at 10:49:09PM -0500, Mike Snitzer wrote: >On Thu, Feb 14 2019 at 9:08pm -0500, >Sasha Levin wrote: > >> From: Mike Snitzer >> >> [ Upstream commit 57c36519e4b949f89381053f7283f5d605595b42 ] >> >> DM's clone_bio() now benefits from using bio_trim() by fixing the fact >> that clone_bio() wasn't clearing BIO_SEG_VALID like bio_trim() does; >> which triggers blk_recount_segments() via bio_phys_segments(). >> >> Reviewed-by: Ming Lei >> Signed-off-by: Mike Snitzer >> Signed-off-by: Sasha Levin > >Please no, I later effectively reverted this change with commit >fa8db4948f522 ("dm: don't use bio_trim() afterall") I've dropped it, thank you. >(As and aside, I really shouldn't have to defend against stable@ bots >picking up a commit, like 57c36519e4b949f, that wasn't marked for >stable@.) Is it the case that this commit isn't appropriate for stable for some reason, or was it just buggy? -- Thanks, Sasha