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 B20F780031 for ; Mon, 30 Nov 2026 16:28:40 +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 6AUGRQaT019974; Mon, 30 Nov 2026 19:27:26 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 6AUGRQaT019974 Authentication-Results: mail.openvz.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=virtuozzo.com header.i=@virtuozzo.com header.b="eAxBkO6H" Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 6AUGROfw019970 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=FAIL) for ; Mon, 30 Nov 2026 19:27:24 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 6AUGROfw019970 Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-c50547b4992so745682666b.3 for ; Mon, 30 Nov 2026 08:27:24 -0800 (PST) X-Forwarded-Encrypted: i=2; AL+hErFSK0OHKh+MpQNHsNLq1aUh/C42i+cHTimrcN9dR5x1/t8fz2PySOzHpMc4jSJYhhCQgHW2JA==@openvz.org X-Gm-Message-State: APuU4Z+xU59Br3oegITsNbtKgxcciIvcOA6w89qu1g6IJA0sK1ly0l/b zqM6OIRCqW+uqlMY8AV23IZWOSXQe8LhpdrW4nxxOaDGPF1PY5AslqOa6N/BWi1i+31GIXpeQBT JF6FpjxXxvVn77Ra/gv7Xr/JRz0yTvaigE3fPHQGOMQDKrtxc/Ov+ow== X-Gm-Gg: AZFdTZdXPLSBdnXE7e/xTRP1dUOizt5UmBXKDqdiuwC6icx/6gTeSsOH8lrUsyANOmN 2qquAWhjmFT/3gSbOO/HYa+YfsYFO2LegmxHrSN358OmrpoFxvIX56aKUPCtsK4KxN46ThzULsH FT8OS+dEt6bKzlJVhlTFR8haCFEMmJNG6XfLK9JKYVLAgdfcDfeWcK8xjOP62ZpT38Bbq2hDtd2 ynSsrSmd+CpAr7/wWuJr12S73BQrFy7OIWLeIQvWWqDSaoDbYhkRCCU/gD/yH3N92d0cmcdFW+b +KGra8AY9nhT3T0TDaZAUWauZNXKwulKZAmPkwngUnyTnVklnqQzuOn6saDdrcc0fhW1Zs9mwrt RP3Nn+rvLp+ltDq7lew== X-Received: by 2002:a05:6402:2422:b0:6bb:579a:c53f with SMTP id 4fb4d7f45d1cf-6bb579ac84emr8371011a12.18.1796056044204; Mon, 30 Nov 2026 08:27:24 -0800 (PST) X-Received: by 2002:a05:6402:2422:b0:6bb:579a:c53f with SMTP id 4fb4d7f45d1cf-6bb579ac84emr8370987a12.18.1796056043665; Mon, 30 Nov 2026 08:27:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1796056043; cv=none; d=google.com; s=arc-20260327; b=hqeN8CWerU4t1P5PNcL6lJ2XRxJ2NMH9X3nnZShrXl8m1Y7ijh7mlbvIEb2rs2YUsG pQtDi0K6MWn0uQeS502UDg+IlXJ+bX0KxD0knq1w0eQST/xNNiU2WZwLTV7A/VCgkyvT +RcR0xEdf4YjlZc9vyvHwCHP9v8uNDm4wmK9EAnI8zGCXZijKKrtaNhRxpfHrb6KKg9E wnUwjqBb426F3/HDYZNL163BA2DYobPKKsv2B2sAD9bgqL9u8zMgFxoKk8NXxbN1X55Y uoW34DS8AsYaSS6T+1SpcCUMf+QV2mX9udm6qjkubCeu0XCQ50qqbv11cQa6bLrwuPLM NYFQ== 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=dAU48hK789fPHQ3GVMnb/eobtSlVWDQMOrfLjhyaj9U=; fh=kM9PkYr6aRiv6fG1qKvG2hjzSnhe4yuGzyLqh9xQRHM=; b=AHPaSv0s9qQfLzu38O/nWXpdHbd3gy+RP/S0D/3yZxqtCKTYRanbABIcsGOWLbr46/ W9RrPXYkf0xixLbwIjBDAQS7MQAk2hHiyuFXK/fhcWrLZuLLTkteTUJPXEz8G6f68jH3 qxZef1dqkcWXsk3SDomqtOd0bdZRHsrKuTifvrj8IQxcnyCI3FCmyh/zyMvwHeWXHizA lET0/33/ILVauTM0dxqPo0WrvKPW1Fe3/5CayLJgit9I0Dne88xF0jYzXVKndynjTKY/ rIddqGK8CU4UIxGzlmW4g5JH5zfbScReAW0yZGkFAW7Cha+kCT4hRtDx+/8376DCoZPR JaFQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=relay header.b=eAxBkO6H; 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 4fb4d7f45d1cf-6ba37402bbcsi26173635a12.270.2026.11.30.08.27.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2026 08:27:23 -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=eAxBkO6H; 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=dAU48hK789fPHQ3GVMnb/eobtSlVWDQMOrfLjhyaj9U=; b=eAxBkO6HbG3/ I86x2qqlhi0HH0gJDhF7EBTTUwPCa5K//ZrAB24fxwjAPAJc12Y3Rj1GP9xAMzLDSYgvApHUXryFd AZo/zcs6gFy0ZrTVVwR373E6WpQGhxrEFAljp4tQ7yqFjoqrslbmnb79f6RpHXz/4LoK2V3CBm8L/ 2z3VIc6kymYn1Ij2nJ2B8Sl55j6peWu0AOG+IawWBo/vBbqqbdFecjrgkzWj0xwi81Zg+9idQOVxD JxRCUcGwWz3EUW9ATQ+IUnEu5/z3YGEDJijrpBV5l94Yk+1Z82Ue/rmHlukmMvGIw9LzeO6xzbh44 vI5uNYnBkt3NtMmp8NdIRA==; 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 1xY4DY-00GoUk-0h; Mon, 30 Nov 2026 17:27:14 +0100 MIME-Version: 1.0 From: Konstantin Khorenko To: Alexander Ivanov In-Reply-To: <10dddd62-d41d-40c7-9870-688355abb6a5@virtuozzo.com> References: <20261127111550.1151546-1-alexander.ivanov@virtuozzo.com> <179578029414.10222.14298945320213707407.b4-review@b4> <10dddd62-d41d-40c7-9870-688355abb6a5@virtuozzo.com> Date: Mon, 30 Nov 2026 17:27:22 +0100 Message-Id: <179605604220.1088513.17831597960209489212.b4-reply@b4> X-Mailer: b4 0.16.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2965; i=khorenko@virtuozzo.com; h=from:subject:message-id; bh=Cq2+6LQQu/zrw0ozn3SKxB27eRy7ZS4bqSYxZIhOMec=; b=owEBbQKS/ZANAwAKAVGWCkf5YVwqAcsmYgBrDaPqHLP++Ye7Guv8LuDhIWbJHrFiYYNZGaej1 RetiRRxEiuJAjMEAAEKAB0WIQRWD23IPcXT0GO9CCxRlgpH+WFcKgUCaw2j6gAKCRBRlgpH+WFc KnlAEACCFOSkVvjmqaZP2WbqArsghXO7+iJOXtKGTEVsTC1O0LZGTJ0nQehx2XaSx+/L2j+92Av E5hR5XpT7Ij2LJNusbOggeGb4fFH23t0JuMLJN3+VkfM0FIP8eC5Fc30mGNqoGrxeylo/ielgVJ J1o/iT7/SVCT2ob7CQy64POFV9AQx23UlSWMXqDTJ70fV6A+43uUfOA0g+sj1EJRyElzmgAL69x Kx4fRjszi5idLH4BVfQAce0R/4ruMFTcZwYLXjP+kekc4adKjsc9XsANjxbSzh/d1Ulg3eBwYIV boKTpQ5auG00G+HZ2cYPKvT2GwP/BRKvCtK0ZZ4ewcjxDCvq0GXe7Tq0iLMrNRR3zctohhLAQzm A+OnUzuNp0gKmM9XSDltnHkOKhSgO0j9QISSHEyqwgzq57Du8C7Kv2H0nInsGS3fS1eu/k4ySOJ +IswejZi+IcAEpGN1q5lkvn6cDGV78Hz88r6YI8I4ARWiOCKh53ziGR6uqXrGV+iQ8ZfrqmkwX/ hWW74a8PvIWZHhn6FCctzCgdFsdevJVLMYIRg4jOlRZfCJClxZVZq/xqfqZ6wvQt8Y61EB1Xn+3 0wzVJTUwz3Y3kedEpPBgbT5C2hVh6XTDRS2LlBqBAvNb+D8BiwRCRF8OVTxuqj7MZSjG83PZCRK towSfnS/K98vj8A== 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.2 0/7] dm-qcow2, dm-ploop: report ENOSPC at once for vhost-blk disks 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 On 2026-11-30 10:14 +0100, Alexander Ivanov wrote: > > On 11/27/26 12:51, Konstantin Khorenko wrote: > > I won't apply this version, please send v2 with the changes below. > > > > On Fri, 27 Nov 2026 12:15:43 +0100, Alexander Ivanov wrote: > >> table argument that turns their delay off. Containers keep the delay. > > 1. Cover letter: say that report_enospc without the vhost-blk hold > > policy gives the guest an I/O error on ENOSPC, and name the vhost-blk > > series by its subject: it is already posted. > > 2. Cover letter: name the ploop.ovz, QEMU and libvirt series this needs. > > 3. Patch 6: drop the 's' status flag. > Why we shouldn't do it similar to ploop? You are right, keep it. 's' means the same as in dm-ploop (518fb63ec6ffc): a request is delayed on ENOSPC. Containers keep the delay and will show it, and the ploop.ovz PR looks only for 'r'. Item 3 is withdrawn. > > 4. Patches 6 and 7: say that the target version goes to 1.1.0. > It's apparently what we want. Yes, the bump is right, I only ask to mention it in the commit messages. > > 5. Patch 6: name the reloads that need the argument, and say that the > > status line of every qcow2 device changes. > Added a note about it to the commit message. > > 6. Patch 3: name the vstorage kio read path, and say why 12ab90fbc953 > > kept the WARN on reads. > > 7. Patch 2: arm the timer next to list_add_tail(). > Fixed. > >> Patches 6-7 add the report_enospc table argument to dm-qcow2 and > >> dm-ploop. Userspace passes it with every table it loads, and the > >> table status shows it. > > Items 1 and 2. Today ploop.ovz does not pass it: dm_reload_imglist() > > builds the table from the fds only, so a snapshot, a grow, a merge or a > > replace brings the delay back and the VM hangs again. The ploop.ovz > > branch for VSTOR-152175 still sends the withdrawn error_policy=, which > > this kernel rejects. So "passes" is a requirement on series that are > > not posted yet; say so and name them. > The PR was updated. Thanks, dm_reload_imglist() keeps report_enospc now. Please name that PR and the QEMU and libvirt series in the v2 cover letter, together with items 1 and 6 and the notes on dm-ploop presuspend and on the 20 seconds retry, which are still open. > >> Patches 4-5 fix the same in dm-ploop: > > dm-ploop needs no presuspend fix, ploop_presuspend() already resubmits > > the delayed requests unconditionally. Say that, so nobody looks for the > > missing third patch. > > > >> dm-qcow2 and dm-ploop delay a request that fails with ENOSPC, retry > >> it every 20 seconds and report the error with a dm event. > > Before patches 2 and 4 every new failure rearms the timer, so the retry > > is not every 20 seconds; patches 2 and 4 make it so. > > > _______________________________________________ > Devel mailing list > Devel@openvz.org > https://lists.openvz.org/mailman/listinfo/devel > > _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel