Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp679564imm; Fri, 14 Sep 2018 04:50:48 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbVfkfuGEuUu1Ujdjj9vv/KsG+Uisy7UfT3DBQWUYPh3XJzU+k/Q4a8aQ47TecdZp3gTmkw X-Received: by 2002:a65:4043:: with SMTP id h3-v6mr11403911pgp.207.1536925848604; Fri, 14 Sep 2018 04:50:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536925848; cv=none; d=google.com; s=arc-20160816; b=nkU2E70utojFNd7I38wQeRD78jWsR+d0UspJZ7MLLIgXlSmeh/psDfyOg6MqMCInio 6V8ecgQ9Sm2c7rWdYUZ5Ib8hS3PV74BcsvYUJp0qv9CXHUHm31NN97gzO61pkVpdBVTq hrzNdQH0Pr+6Fm04yaBwBsi6ekXnIt+8k+xQnNdDW0anMh555Ai+JxgKvltws94w8ATG 6oe3+faNJYtBGmcYUVRd/ge/opnQh5mrlfbHLEHvO9DkCLocjh9X5UaLxiG8QYKK8r1f kxLqD/OeQ0/iwlhQfQ2I4Wa/+dorpZ0iwYm1cyA79VjKdeG1/1CVOTzDLXBVBZpVIjRx td/A== 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=UhT9CWkqJ9B0ZrjCtNeN3EHpRoRyGsJGYwPO1IEB6oA=; b=N7c46W5NTyNtU/E9j4tcFSgY4FLhy68QkOvcervtTEtQyXFvO6wDokdwX5UrHpc58u kpwcu+3I1bA4RxZsxvF08GaBOkeNjMj1MVWL5k8N5EzkwtNrxu+jge2BKtudzIbMs66/ yYGX8lADgUSCo47aZWjhaS5SVv/qu6jbhkCMqToHhlXVEYqstuar4wcPgKYYJInAmeqe FHpreRIhkEn7y1OPWKrwxh25CbPx61oldxbeXk4Y80XEfV2T/HY8nUjSTL5WXYZU5EO8 m0lLdDzoEVApICYAc1EDcB8t0gNq4ZUHn6A6xOtZCGKXcjOP9IAvwp6/G+rW8cCOS5RH xg6Q== 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 p21-v6si6697449pgd.56.2018.09.14.04.50.33; Fri, 14 Sep 2018 04:50:48 -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 S1728095AbeINREG (ORCPT + 99 others); Fri, 14 Sep 2018 13:04:06 -0400 Received: from mail.CARNet.hr ([161.53.123.6]:58304 "EHLO mail.carnet.hr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727403AbeINREG (ORCPT ); Fri, 14 Sep 2018 13:04:06 -0400 Received: from [2001:b68:ff:12::131] (port=58872 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 1g0mbf-0008Mx-C4; Fri, 14 Sep 2018 13:49:52 +0200 Received: by gavran.carpriv.carnet.hr (Postfix, from userid 1000) id 3AD92204FE; Fri, 14 Sep 2018 13:49:51 +0200 (CEST) Date: Fri, 14 Sep 2018 13:49:51 +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: <20180914114951.GH2153@gavran.carpriv.carnet.hr> References: <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> <20180910161831.GG26705@gavran.carpriv.carnet.hr> <20180913150800.haswzd7t2xccbgvl@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: <20180913150800.haswzd7t2xccbgvl@mac.bytemobile.com> 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: [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 Thu, Sep 13, 2018 at 05:08:00PM +0200, Roger Pau Monn? wrote: > So I have the following patch which I think might solve your issues > while keeping the reset logic working. Would you mind giving it a try > with your use case and pvgrub? Thanks for the patch. It seems to be having some problems with pvgrub: machines don't boot past pvgrub and they are using 100% CPU. Also in dom0 xenstored is usind 100% CPU - strace reports it is looping in this: read(26, "\\\240\0\0", 4) = 4 read(26, "\0\0\0\0L\0\0\0)\0\0\0\35\0\0\0+\\\232`\231\31\1&", 24) = 24 read(26, "/local/domain/0/backend/vbd/1/51712/state", 41) = 41 read(26, "\2\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\1\0\0\0004", 29) = 29 read(26, "\0\330\0\0", 4) = 4 read(26, "\0\0\0\0L\0\0\0)\0\0\0\35\0\0\0+\\JG\231\31\1&", 24) = 24 read(26, "/local/domain/0/backend/vbd/2/51712/state", 41) = 41 read(26, "\2\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\1\0\0\0004", 29) = 29 read(26, "\0\200\1\0", 4) = 4 read(26, "\0\0\0\0L\0\0\0)\0\0\0\35\0\0\0+\\Z\373\231\31\1&", 24) = 24 read(26, "/local/domain/0/backend/vbd/5/51712/state", 41) = 41 read(26, "\2\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\5\0\0\0\1\0\0\0004", 29) = 29 read(12, "\321\1\0\0", 4) = 4 write(12, "\321\1\0\0", 4) = 4 -- Valentin