From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [PATCH] xen-blkback: Switch to closed state after releasing the backing device To: Valentin Vidic Cc: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= , Konrad Rzeszutek Wilk , Jens Axboe , xen-devel@lists.xenproject.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org References: <20180829065214.23546-1-Valentin.Vidic@CARNet.hr> <1701ccef-3ebb-973b-de32-059a8816d31c@suse.com> <20180829082731.GX26705@gavran.carpriv.carnet.hr> From: Juergen Gross Message-ID: Date: Wed, 29 Aug 2018 10:43:48 +0200 MIME-Version: 1.0 In-Reply-To: <20180829082731.GX26705@gavran.carpriv.carnet.hr> Content-Type: text/plain; charset=utf-8 List-ID: On 29/08/18 10:27, Valentin Vidic wrote: > On Wed, Aug 29, 2018 at 10:16:09AM +0200, Juergen Gross wrote: >> Did you test whether it is okay to not change state in case the device >> is still online? > > Not sure how to simulate that. Maybe using xl block-detach or something else? > 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. Juergen