Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp382856imm; Wed, 29 Aug 2018 02:24:54 -0700 (PDT) X-Google-Smtp-Source: ANB0VdacbId6eqaPnp1Zyk5pagdiBxERc6olBWUYX82I33okXAKMzt8uiodA9KWUI3Cl8XMPmTzp X-Received: by 2002:a62:205d:: with SMTP id g90-v6mr5203660pfg.253.1535534694837; Wed, 29 Aug 2018 02:24:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535534694; cv=none; d=google.com; s=arc-20160816; b=QP+Fd0cG0koNNbWu+1AUDHSpI+i7GXSrptO5hIU56BlVD/UWJY73crU568Pf4gWZxe 02kCSOZqUgmh+zkiDB75jC1SaDhVl/oRqae1Wu9JWB8lKLNgT1Yf0ROhJC4CbDt2DVln 8RMZ+b1c+yLUwYrwvCjE9uOdORGR9jWuWWBGHwgKVFYdrBCqmUPKr3+FKQ7lDRmJa0iK GDUTwhv7XO1lAZEWNn7y4+F1WPPhHlFXGUpqkWcAY+gFPo8ozeYLqvM2QWipK+HTMVtP pducdGSONTd27xjRwZLFvAtyZ2W/3911LExrZCuIlttD5F8bDZghOUh0+2HNxNAN3cFC 5ZJw== 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-disposition:mime-version:references:message-id:cc:to:from :date:arc-authentication-results; bh=9B95hWLrMJ6fajdqHMVdlVDq/ugZP4hblBkw2hfmmOE=; b=GTDEgTw3SAhrQa6zpxGN3zkP9WVMxFLfjV0W4rE5xMtQj6MrtkHjGRIwp9NTy2VBel 06p56OrfRHyYH/TP9F8T/rQi9f64ykyI623aPLKoEi4hxGuEPoXaqYUWr5BaVQGpWgeZ Rdbh7Fu4QiZN0ug/B2xHcp7hn/ujIE0QMt6VDxRd6uMWN8+ytMDDCQZ7/4M0cPGixIy0 Ki+tkCU3gDkLOeBPAc+exWwFjC8QBk+zOfjFZ2Oosx/BNKhqt+31d1UAtdp5IfquojrO IbKRTzqeBD4dAYkWj9E/dlkenQfVWVp3dyJdwDjmOxQQgnSV7OzFPRZqnAivtsn6sLgh On/A== 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 e18-v6si1217940pgi.133.2018.08.29.02.24.39; Wed, 29 Aug 2018 02:24:54 -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 S1727612AbeH2NTd (ORCPT + 99 others); Wed, 29 Aug 2018 09:19:33 -0400 Received: from mail.CARNet.hr ([161.53.123.6]:46306 "EHLO mail.carnet.hr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727254AbeH2NTd (ORCPT ); Wed, 29 Aug 2018 09:19:33 -0400 Received: from [2001:b68:ff:12::131] (port=58084 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 1fuwhF-00073q-Ti; Wed, 29 Aug 2018 11:23:30 +0200 Received: by gavran.carpriv.carnet.hr (Postfix, from userid 1000) id B820B20239; Wed, 29 Aug 2018 11:23:29 +0200 (CEST) Date: Wed, 29 Aug 2018 11:23:29 +0200 From: Valentin Vidic To: Juergen Gross Cc: Roger Pau =?iso-8859-1?Q?Monn=E9?= , Konrad Rzeszutek Wilk , Jens Axboe , xen-devel@lists.xenproject.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Message-ID: <20180829092329.GY26705@gavran.carpriv.carnet.hr> References: <20180829065214.23546-1-Valentin.Vidic@CARNet.hr> <1701ccef-3ebb-973b-de32-059a8816d31c@suse.com> <20180829082731.GX26705@gavran.carpriv.carnet.hr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: 2001:b68:ff: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: [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 Wed, Aug 29, 2018 at 10:43:48AM +0200, Juergen Gross wrote: > I think this should be an action triggered by the frontend, not by dom0 > (xen tools will always set "online" to 0 when removing a device, AFAIK). > > I'm not sure this is relevant, but I realized this behavior is changed > by your patch. Can't find any place in xen-blkfront.c (or the rest of the kernel) where the "online" value gets set, so it seems xen tools in dom0 is the only thing that modifies this Xenbus node? -- Valentin