Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2993105imm; Mon, 10 Sep 2018 09:20:05 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaxjTpsnd0Ihz5WMXTlexcoQI3/CS8OGgDQPFxdpXUQqmLlmBAM65AQtdc6OoJzvtW8UbCR X-Received: by 2002:a62:cc83:: with SMTP id j3-v6mr24714171pfk.255.1536596405183; Mon, 10 Sep 2018 09:20:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536596405; cv=none; d=google.com; s=arc-20160816; b=LjcDS8bNQ362C7Wwv8nsFAvA4XSfX92lc5D81BMzSxwRS28+anqopcIEHU086B9HCF HI7gB2iseQbSLEMZVW9d2o32J5xOtkHZKXohlyCmoSTuxFh2KuPouiHWxPHMCl7GscPM /51vYoyj7fRnTUvWRsR6OXryX0LCeOOSBl0/VEEjQEOQ9M2AAQg9vwodcYuu5u36Rh/v 7oc+bSq0glHnUfqh+JzABG3snrU3WcwNfzJwSN26FKnAO0RNx91pVkFYfgiYBk6xx+87 Nr1UqfXjEohvjp7PYEvVjh6NbwQgdG3h1f/gaYpKW/f7Lte5qjGN8D17TLbkvpW3fTGq N+qQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:cc:to:from:date; bh=nQcXwIokg7o/+hhs/MDqeFuWSbFGBTQGU8SqyH5WHCA=; b=n8l9bC8BzaFxpDNCoC8TnTjMjwiMQaXC4lJfNSm4KCwa7oeGhDq7l4LGjn2WXQKeOK yg/dKnIP7DG1cup7E7vN2YaxcXaLmIz4lBYQBunE5rwHhI4YWLDUUfsZ5tVrl0mx5ZJ1 jpXXn2PGOKQF/TQ3bVElXydeeKl5pw3cHVhRPbXv7Yy/Lh/7OKbIPkZTc2FFC1WYWoLt vd2KJt6iSsK9rudOHu89x/Tp5ctxd80j/495N+AfEhnxVb1N+0c3Ryub5Lu08WZxAMuK W6owv46sMheme5yQjXNRUD0fUFNKgTpET3T9zQ35h2C8VgmrxfOfdLGHbLwM8rabqQm1 VGrg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e125-v6si17016320pgc.424.2018.09.10.09.19.48; Mon, 10 Sep 2018 09:20:05 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728590AbeIJVN2 (ORCPT + 99 others); Mon, 10 Sep 2018 17:13:28 -0400 Received: from mail.CARNet.hr ([161.53.123.6]:56273 "EHLO mail.carnet.hr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727777AbeIJVN2 (ORCPT ); Mon, 10 Sep 2018 17:13:28 -0400 Received: from cnzgrivvl-t440p.carpriv.carnet.hr ([161.53.12.131]:45748 helo=gavran.carpriv.carnet.hr) by mail.carnet.hr with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fzOtT-0004RZ-Jh; Mon, 10 Sep 2018 18:18:32 +0200 Received: by gavran.carpriv.carnet.hr (Postfix, from userid 1000) id 503BB202D9; Mon, 10 Sep 2018 18:18:31 +0200 (CEST) Date: Mon, 10 Sep 2018 18:18:31 +0200 From: Valentin Vidic To: Roger Pau =?iso-8859-1?Q?Monn=E9?= Cc: drbd-user@lists.linbit.com, Jens Axboe , Konrad Rzeszutek Wilk , linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-block@vger.kernel.org, xen-devel@lists.xenproject.org Message-ID: <20180910161831.GG26705@gavran.carpriv.carnet.hr> References: <20180905162756.GA26705@gavran.carpriv.carnet.hr> <20180907120337.GB11834@soda.linbit> <20180907121348.GM26705@gavran.carpriv.carnet.hr> <20180907132828.GC11834@soda.linbit> <20180907164500.GN26705@gavran.carpriv.carnet.hr> <20180907171459.GO26705@gavran.carpriv.carnet.hr> <20180908073432.GP26705@gavran.carpriv.carnet.hr> <20180910124531.GA31737@soda.linbit> <20180910132252.GE26705@gavran.carpriv.carnet.hr> <20180910150058.suxehc3uheyho4qx@mac.bytemobile.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180910150058.suxehc3uheyho4qx@mac.bytemobile.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: 161.53.12.131 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on rigel.CARNet.hr X-Spam-Level: X-Spam-Status: No, score=-2.9 required=10.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.2 Subject: Re: [DRBD-user] [PATCH] xen-blkback: Switch to closed state after releasing the backing device X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 10, 2018 at 05:00:58PM +0200, Roger Pau Monn? wrote: > I can try to take a look at this and attempt to make sure the state is > only changed to closed in blkback _after_ the device has been > released, but it might take me a couple of days to get you a patch. Thanks, I have two test nodes now where I can try different approaches. > I'm afraid that other hotplug scripts will also have issues with such > behavior, and we shouldn't force all users of hotplug scripts to add > such workarounds. True, iSCSI and other "network" disks might have similar problems. -- Valentin