Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CACBEC433EF for ; Wed, 17 Nov 2021 22:38:06 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 78C1E61B5F for ; Wed, 17 Nov 2021 22:38:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 78C1E61B5F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=tempfail smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1637188685; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=h2CTnIAKlWploFKPMaYm06E039UfRMg6tfsMlFPSy3Y=; b=KOJahx16c2bN1rFY+FtYaiiNx9s4VJZfVmiXl9xlNFcQ8KN+1SVWKXTt7vblV5Ex27yybu tREm7hovlNrw5l/BjD0rrlhBnIa4DaTXtn53waVP3p5etYlhWWtySZ1cDpgo3wV2Mwitah 1Alxif8OtcealCEhsoUWWZVXci8uZow= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-579-P15UioxcNLuaVcoqE_Iahw-1; Wed, 17 Nov 2021 17:38:04 -0500 X-MC-Unique: P15UioxcNLuaVcoqE_Iahw-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 221BF1DDE1; Wed, 17 Nov 2021 22:37:59 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B77325BAFF; Wed, 17 Nov 2021 22:37:57 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 9C96D180BAD2; Wed, 17 Nov 2021 22:37:55 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 1AHMbsb8032027 for ; Wed, 17 Nov 2021 17:37:54 -0500 Received: by smtp.corp.redhat.com (Postfix) id 759CB18533; Wed, 17 Nov 2021 22:37:54 +0000 (UTC) Received: from octiron.msp.redhat.com (unknown [10.15.80.209]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0B19B5E272; Wed, 17 Nov 2021 22:37:38 +0000 (UTC) Received: from octiron.msp.redhat.com (localhost.localdomain [127.0.0.1]) by octiron.msp.redhat.com (8.14.9/8.14.9) with ESMTP id 1AHMbbbR005459; Wed, 17 Nov 2021 16:37:37 -0600 Received: (from bmarzins@localhost) by octiron.msp.redhat.com (8.14.9/8.14.9/Submit) id 1AHMbaGh005458; Wed, 17 Nov 2021 16:37:36 -0600 Date: Wed, 17 Nov 2021 16:37:36 -0600 From: Benjamin Marzinski To: Martin Wilck Message-ID: <20211117223736.GC19591@octiron.msp.redhat.com> References: <1637181217-4423-1-git-send-email-bmarzins@redhat.com> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: dm-devel@redhat.com Cc: "dm-devel@redhat.com" Subject: Re: [dm-devel] [PATCH v2 0/4] Add "reconfigure all" multipath command X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dm-devel-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Wed, Nov 17, 2021 at 08:50:55PM +0000, Martin Wilck wrote: > On Wed, 2021-11-17 at 14:33 -0600, Benjamin Marzinski wrote: > > > > Changes from v1 as suggested by Martin Wilck: > > > > 0001: update libmultipath.version to handle ABI change in struct > > config > > 0003: Clarify commit message > > Did you overlook the two other comments I had on 0003, or did you > deliberately ignore them? Just asking. Now that I look at this, I'd rather not change the reconfigure() and configure() argument names to reload_type. That's the name of the global variable which has serialization concerns, and reusing it as an argument seems like it would lead to more confusion. Actually, since reload_type can only be changed when switching to the DAEMON_CONFIGURE state, and you can't switch to that state again until after do the reconfigure, it's safe to simply have configure() access the global variable, reload_type. -Ben > > Martin -- dm-devel mailing list dm-devel@redhat.com https://listman.redhat.com/mailman/listinfo/dm-devel