Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp1508284imc; Mon, 11 Mar 2019 15:44:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqz4sLlEYCkngwjWAzyNekBatxTHDUhre0xxgQpGy6Mj93UXEM4UxdPgeRgQFXzB/63XwSSN X-Received: by 2002:a65:64cc:: with SMTP id t12mr23459673pgv.438.1552344286522; Mon, 11 Mar 2019 15:44:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552344286; cv=none; d=google.com; s=arc-20160816; b=F+BsupSDGGAWugyVl2AOwYqGjdZYiKgm7PuFyksq2KHPlDbE2dKi7FgRHy0IYDqk22 KaG8SO0Cnl8kLswIPlBgXd+Jd6m35gnvU035z3G7/wbVQGTwdJ20e8wRyhlkyemiPfoH x+GcPj95tT8yKOJllAWIQd2F8oFZRMAE92R6oYmNXQ+avPubfvw3P0O2W/qcZwlFcooN FYccJqdjsmY2yxXcrivwgpxlbHuxCXB1eFoQxpY0l/vajkyZMfLdCdApHjMeBV8Xxrfj wk3MQfL0gOXMSeHx1WZLSAxCFuBXllsii8x06C/+gRRrCDi7ybCmscLku1YTrAdrA+2x iKnA== 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; bh=Sa9uEkA6zvlKX3Apk2ZMYAwME4Q7fmVXkmcfMpsGZaU=; b=MGU+3l18enAkSQ+69bszOIwtSiQUr/XkV01MOc5dulMYSG5Wxqtro3iH5of1sOLk+p 8ABhjzQM0kL7CUpGCw3444xAZ0QdqN5wW4e/cHWeir11vytJwtXKymGOtIABcgcEF5ni RFW/fH4nhGWP1sH6lmRLkKlaMQg0hoSbR3zYO62d6yPMNTAlsnMZ3CpG4Sy2nTkjKwt9 u0tB1Ti5lJs+WwPjzjgQ4Q8+DQ9/XJGaaU6AKSTWnzhxDikoSQOW5M9HwSFxpmufOhvl RoW/biWNlCQ9xN2EkSc74Az6LtPZ10iSJJvtXZ2PNFmI48X/H+oYM/DoAYqTFdSFDu+2 YBCg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 16si5705733pgc.312.2019.03.11.15.44.30; Mon, 11 Mar 2019 15:44:46 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726187AbfCKWnh (ORCPT + 99 others); Mon, 11 Mar 2019 18:43:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38672 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725843AbfCKWnh (ORCPT ); Mon, 11 Mar 2019 18:43:37 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1DC7E3087BA7; Mon, 11 Mar 2019 22:43:37 +0000 (UTC) Received: from localhost (unknown [10.18.25.174]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7730E5DAAF; Mon, 11 Mar 2019 22:43:34 +0000 (UTC) Date: Mon, 11 Mar 2019 18:43:33 -0400 From: Mike Snitzer To: "Paul E. McKenney" Cc: Christoph Hellwig , Nikos Tsironis , agk@redhat.com, dm-devel@redhat.com, mpatocka@redhat.com, iliastsi@arrikto.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] list_bl: Add hlist_bl_add_before/behind helpers Message-ID: <20190311224333.GA16968@redhat.com> References: <20181220180651.4879-1-ntsironis@arrikto.com> <20181220180651.4879-2-ntsironis@arrikto.com> <20190228213201.GB23527@redhat.com> <20190311181607.GA9388@infradead.org> <20190311221321.GP13351@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190311221321.GP13351@linux.ibm.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.45]); Mon, 11 Mar 2019 22:43:37 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 11 2019 at 6:13pm -0400, Paul E. McKenney wrote: > On Mon, Mar 11, 2019 at 11:16:08AM -0700, Christoph Hellwig wrote: > > On Thu, Feb 28, 2019 at 04:32:02PM -0500, Mike Snitzer wrote: > > > Hi Paul and Christoph, > > > > > > You've added your Signed-off-by to include/linux/list_bl.h commits in > > > the past. I'm not sure how this proposed patch should be handled. > > > > > > These new hlist_bl_add_{before,behind} changes are a prereq for > > > dm-snapshot changes that Nikos has proposed, please see: > > > https://patchwork.kernel.org/patch/10739265/ > > > > > > Any assistance/review you, or others on LKML, might be able to provide > > > would be appreciated. > > > > I just killed two helpers. That being said assuming that we only > > rely on the next pointer for the lockless traversals the changes look > > fine to me, but the code might be beyond my paygrade.. > > First, apologies for being slow on this one. No problem. > Second, were the two helpers hlist_bl_add_{before,behind}()? If so, I > guess there is not much point in me looking them over. Though perhaps > I should be looking something else over? No, think Christoph was referring to his commit 1879fd6a26571fd4e8e1f from 2011. Anyway, I'd like you to look over this new proposed patch that introduces hlist_bl_add_{before,behind}(), please see: https://patchwork.kernel.org/patch/10835713/ If you're happy with the patch, and can provide your Reviewed-by or Acked-by, I'll then pick it up as a prereq for the broader dm-snapshot changes that Nikos has provided. Thanks! Mike