From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.openvz.org (mail.openvz.org [69.168.225.77]) by lore.virtuozzo.com (Postfix) with ESMTPS id 0E826803BB for ; Tue, 10 Nov 2026 17:12:39 +0000 (UTC) Received: from mail.openvz.org (localhost [127.0.0.1]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 6AAHBO2H016635; Tue, 10 Nov 2026 20:11:25 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 6AAHBO2H016635 Authentication-Results: mail.openvz.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=virtuozzo.com header.i=@virtuozzo.com header.b="jWRFUHXJ" Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 6AAHBIiW016614 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=FAIL) for ; Tue, 10 Nov 2026 20:11:18 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 6AAHBIiW016614 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-49323e268aeso1776891f8f.1 for ; Tue, 10 Nov 2026 09:11:18 -0800 (PST) X-Forwarded-Encrypted: i=2; AL+hErFKWJa3dONq+OGECHC8axuMJqZyWrgLjxQ5HfpcFOLNuUo/rnIlL8buvK/cuFzwHt9lrqj3vw==@openvz.org X-Gm-Message-State: APuU4Z9E3K1zNV/tYoICEUjeHFaezo/rsLn5ZdXiFHjNRRzhDrPZ6PD4 4fFqHTpkC0aM2wEZwXC8fL+Xj5MKZfiSAtztPRTrOXBr1O/dzXlS+Jdqvwi3GxxUikNxi9K94E1 VoDAkZrcslpP2mAg0GEiPLgcyTLryYQ5i+15USZyN8YEV2IWXixfe+Q== X-Gm-Gg: AYBFou0j4wOwByFji6q4Y3jQwiC+DVGMrnj4IeNuBxOiOOts2a0r4lVrK7lNjv//HnM FcECeBuhvQlPPDH12pCYj92651ccQjdzU1xNV9dzzodID7SLxOYcrKKuzU94Foa97uc+ntO9iiM Ygzr4+lIVScW2SpzNTn9Z28NxwEPE55UNbkHd4GWXEV0oCAJESxZdUdJiC1+ENk+50vosalOX8m CftvQ3l4eglveo5sSQ3JVb5sZfRqqM6z25syphEZUPFm4vXccHYExb4EppmBpefjriamfUQeX43 1yEBpzTilWmFedlGTUhdhhf62HBxbUKOjIht1l+6ZmaW+Xu3RgSQY89jlG9kHirBTSKASfwY8XC aMT7Ml1dv7958h7qEBQ== X-Received: by 2002:a05:6000:1615:b0:493:72f7:1d5b with SMTP id ffacd0b85a97d-4999822db24mr142582f8f.29.1794330678349; Tue, 10 Nov 2026 09:11:18 -0800 (PST) X-Received: by 2002:a05:6000:1615:b0:493:72f7:1d5b with SMTP id ffacd0b85a97d-4999822db24mr142535f8f.29.1794330677865; Tue, 10 Nov 2026 09:11:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1794330677; cv=none; d=google.com; s=arc-20260327; b=M6k73Y8+vHWTw9r1Y6hwXTrVwKfn/YdUuj1eQOAAAjd4Vp9huqr4T3xBJuEZa2vFqB MrRy4Us039bYxwHt13dybD9ju9D1ium9CQMVZHGw+SfgYo6QrovKbI/u6n/8yrOO7A1f ueYfvpvmE7iu276Kcv42HnuwJsul6IiYadksKw5vUm04pSxk3LCfXl8b+Cbwz9GNn7Js Oz0LeWJeu+djaST7S99UFrTTIDdJz5RY6QWWCpggwYJPWUavmiMI9DR2jgbNa1rwWGTW D1GsLAwCYsQa6QgTFS4eEuOg/WJHol2pDlOMK3iCAThI4WAA3NELu8gqQmL3JRuzVBDe utRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=message-id:date:references:in-reply-to:cc:to:from:subject :content-transfer-encoding:mime-version:dkim-signature; bh=CpSqukwBKxKWwD9MAHpiFl50h7rCPos95bCQrQWgoaQ=; fh=+5xttkgkwONswRd2Oq13QsL3ym20IqW/INZ9jy2C/wI=; b=qYt3sPNyXTno+1ZLF7JhcZIubNpTScU/TRxLGJtl5ZXiQOtxo5TLzRFO32X9GBCckc XXB/HZeK7ira6FxQ++C18mS3nEdxC2fdLmdh5qpfv7ep39UBWCiDQpKiHmHCD5uhc7CF tLwPdt760k3uFzXkWeuBQ3nBuhjICsT/UkKAuFJ1E7HlD5lrHZLiLVE++O2yga6qBrEE g95/suXxDNXsQ8FePyFQdza8WFSc01RkndTCYGyu6wLPVyKlARs+8BTu/ARLftyWggOZ hrd1tIhXuCMWwIRw/0Q4PC0RDSuzrUN8qCZUHpohjqlfIBkEoccJqJfhoyuQT6PLkm1t VLIQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=relay header.b=jWRFUHXJ; spf=pass (google.com: domain of khorenko@virtuozzo.com designates 130.117.225.111 as permitted sender) smtp.mailfrom=khorenko@virtuozzo.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=virtuozzo.com Received: from relay.virtuozzo.com (relay.virtuozzo.com. [130.117.225.111]) by mx.google.com with ESMTPS id ffacd0b85a97d-4983585ca28si6041114f8f.128.2026.11.10.09.11.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Nov 2026 09:11:17 -0800 (PST) Received-SPF: pass (google.com: domain of khorenko@virtuozzo.com designates 130.117.225.111 as permitted sender) client-ip=130.117.225.111; Authentication-Results: mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=relay header.b=jWRFUHXJ; spf=pass (google.com: domain of khorenko@virtuozzo.com designates 130.117.225.111 as permitted sender) smtp.mailfrom=khorenko@virtuozzo.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=virtuozzo.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=virtuozzo.com; s=relay; h=Message-Id:Date:From:Subject:Content-Type: MIME-Version; bh=CpSqukwBKxKWwD9MAHpiFl50h7rCPos95bCQrQWgoaQ=; b=jWRFUHXJzyU4 aWrSzq5+qLmP9GKdeRSvPWdkJKXNRA8zHkXdN4jDF1EDoQq49dVDQT9iF13EwatQ5n5nvb8gagPT2 I22O5JIioGzTW0Xg6oknVU+o/5TGqhdnuyV4wJNkHQjNqPjKC3W9ksoohNNG1hYP1LUtt4Uw1EqJ/ Jo7Jhoz5VEj20VCNsGaiuscdGN5x/n2TkjjjbNcLIeJAzTe7Sc48HJl3UlaMhVUvxv2ln6pSyt7+B 5wZWiadwWqGxyQzQgisvauuJFHfB/2Kylas+c0ZKMxGiToVlfr8MiPfhRpom8bvUsNFn3EGsbdJqk SCYLU4DSAhxY5fUJaC4wuQ==; Received: from ch-demo-asa.virtuozzo.com ([130.117.225.8] helo=f0.sw.ru) by relay.virtuozzo.com with esmtp (Exim 4.96) (envelope-from ) id 1xQpJH-001jGz-0I; Tue, 10 Nov 2026 18:11:07 +0100 MIME-Version: 1.0 From: Konstantin Khorenko To: "Denis V. Lunev" In-Reply-To: <20261109190604.1850504-1-den@openvz.org> References: <20261109190604.1850504-1-den@openvz.org> Date: Tue, 10 Nov 2026 18:11:13 +0100 Message-Id: <179433067371.3552165.8266037417518853942.b4-review@b4> X-Mailer: b4 0.16.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1939; i=khorenko@virtuozzo.com; h=from:subject:message-id; bh=arbs2Y78wlhJl4twJg0TjWdQKiVkJoiPRG94lAUwP3s=; b=owEBbQKS/ZANAwAKAVGWCkf5YVwqAcsmYgBq81Az27mwq8I/mRERyutpVB+7PTsQFVhLEeTdb vx3yr2Hr8KJAjMEAAEKAB0WIQRWD23IPcXT0GO9CCxRlgpH+WFcKgUCavNQMwAKCRBRlgpH+WFc KlLBD/kB0OxNrUiuPMdO18HaVn7gbvPEy7DB9V0OKmpxsnfdu5zh5o7f+do63b1Hmzc8uS8ix1O xMNJ/sLExwEXUS7ustfTTq4mci8IGwB0h+fKcOfr0VPuSUz9z+RXYZmQ2bxAVaklUs9fnZzwXMl KNawqrrOXVNmuUdr3Vo4V1uc/4fz0H7i/keTN/MNYPHwILjfsN64GswYSBf5Q7LP/iCJYfsuvME wqzxq+9BQUxrH+vNR/5wOJeTgK7Tt/gIfs2hjCMje4JF5q82x09xokKot3nfgQPYECAeNXZIZOt ANwx5bLNpZmef7aHfdNWZNOWeXZm0IaENdwx9vZOj+T+PfTJIu1ssyj///5DHubgGho/pA65Jp8 jur4b3X9BHYDCDob8ox2VqQNKBFMY1dmBr3mibFhl/OLxkpeMSq9b2vqdtswPOo3b1abAaqfqyv z89wue9uEzRQyiJ8xD2WT+uz5Bnbv8RDZBrlhnet2HZKeomYFT5BtTFb5Tlsu3+1qVx288kyODU itTq4g8fDYS5hwk9oyKXVUKZGd5NBfib2gmrZA6SuFlqFr0//mqgctyyzvxO+/oi/8K7eTNKZrw MZXIc8fyOh4RtkivGTVdYBlI8cT7OLdnF8hzQG35rVaa8YcfyaW0zbX/V1Ck7bkb9hFPuRTbX5a j9P4reJeQbMVu5A== X-Developer-Key: i=khorenko@virtuozzo.com; a=openpgp; fpr=560F6DC83DC5D3D063BD082C51960A47F9615C2A X-OZ-Fwd: true Cc: devel@openvz.org Subject: Re: [Devel] [PATCH hci-8.1 0/3] dm-ploop: fix writes to a read-only device hanging the host X-BeenThere: devel@openvz.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: OpenVZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: devel-bounces@openvz.org Errors-To: devel-bounces@openvz.org Applying the series with these fixes on my side: - patches 2 and 3: commit message fixes, listed in the replies there; - cover letter: "never completes" -> "can hang forever"; - cover letter: "never resubmitted. Any failing allocation leaves them stuck" -> they wait for the next writeback of the page, which may never come; - cover letter: dropped "with EBADF" from the second bug; - cover letter: dropped the sizes, counts and the host name from the test section, and split the first paragraph. On Mon, 9 Nov 2026 20:06:01 +0100, Denis V. Lunev wrote: > A write that reaches a read-only ploop device never completes: the > writer hangs in D state, and after a buffered write every later sync on > the host hangs behind it until a reboot. Such writes come from a device The write whose allocation fails completes with EIO, and a write to a cluster already in the top delta completes. What hangs are the pios parked on the same BAT page while the failed update was prepared. > - when a cluster allocation or a discard fails, the pios parked on that > BAT page are never resubmitted (patch 2). Any failing allocation > leaves them stuck, not only one on a read-only device. Patch 1 moves The next writeback of that page resubmits them, so after a single -ENOMEM the next successful allocation on the page frees them. They stay for good only when every allocation fails: a read-only device, or no free cluster left. > - ploop test suite, make -j48 test on dev-cl04, green for ploop and The cover letter goes into each commit as the "Patchset description", so the numbers and the host name would end up in the git log. Not for this series: with it the libvzctl backup attach that mounts the partition read-write fails with EIO, and with ploop PR 513 it fails at open. Does libvzctl need a change too, and is there a ticket for it? -- Konstantin Khorenko, Virtuozzo Linux Kernel Team _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel