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 67FB78002A for ; Thu, 26 Nov 2026 11:27:14 +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 6AQBPphG003685; Thu, 26 Nov 2026 14:25:52 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 6AQBPphG003685 Authentication-Results: mail.openvz.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=virtuozzo.com header.i=@virtuozzo.com header.b="GE1njJkp" Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 6AQBPnpP003681 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=FAIL) for ; Thu, 26 Nov 2026 14:25:50 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 6AQBPnpP003681 Received: by mail-pg1-f200.google.com with SMTP id 41be03b00d2f7-cdb8c46e240so4120297a12.1 for ; Thu, 26 Nov 2026 03:25:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AL+hErFiJHpZ6MuLqhG3I3JEF0hdbpIC0rhvR5QgN7iErLJBfxjbkBjRLechaHhEDi7Of728/yX+DQ==@openvz.org X-Gm-Message-State: APuU4Z+rpmvGd+UZ8PeAEmgYRTVQagidXdpr7opUOol7xTdnVUULmbTq m51XlJignDv84vNl7lIhYCbUb/kghFU20sL/TmdK7mLrqxjhWNKn76L+B7WOZi0YG3LS+12U0UR s0ntDxcbV2ImBMGjT/HNBt9arMoJ44G4a0FxlgMSLDhr2+wuR5hxsig== X-Gm-Gg: AZFdTZe/TbqHSIjV5TlZX1uj0AE52HX4XH8YwxeCgbJxD/Lqv+U+Jxa4dujHcTo0mvy l02t03s+U+jOAth7jg2cmrUXKFspVUzYjaBU4wxe+3El541mT9OXmwUYtqi1IJ5n9u2z1BxYBbR nTeL9QbvBgVtxgxLeI1G0ohNGR19nBG2RLrcvAaYcgHiF0iJ3CW0LfKmNBeb0J1UqBwOWGH/i18 3U4FpjrcK2PckTg6dQzybvy0ApYkwWuFORh9y+Oz1k1NNCqVdoozhspFZp7xMcxYnyv+Q9FKN+v t+f670UKH+TuRk7CSxZy81Uedqvy1dYiy+az1qRNO9xTKMSrC0Rly09IH1tRXfs0aF0bLK0y5d0 1FJW0IxH+OF1rCDnZp1CwzC4t5D/UWA25OIQ8/5n+/+I6eV3mmqqNMWZVLJAb3WCVeIEq3aPbf9 5PMyKxzMpvNO7jlU5kPC1ZagZ4PvoO6HFG X-Received: by 2002:a05:6a21:1014:b0:3e2:729c:9bcb with SMTP id adf61e73a8af0-4014ed47ab8mr22526683637.65.1795692348562; Thu, 26 Nov 2026 03:25:48 -0800 (PST) X-Received: by 2002:a05:6a21:1014:b0:3e2:729c:9bcb with SMTP id adf61e73a8af0-4014ed47ab8mr22526651637.65.1795692347885; Thu, 26 Nov 2026 03:25:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1795692347; cv=pass; d=google.com; s=arc-20260327; b=YAizB6ZTEVQHA8F6gE/uesY0uHTAZ9imLE+lVEaTbt+vEqo2bkdHcNzCTpEkciUlqF 9cYq96xJuIB033bg6+d0aVKNpKISHrSA6MQn1/S6h41KyPfJ5aXWbOx5R9IuZs/sl3gU ex4elEqeZy3h2jQdAUvi1sCNmcTauX3+ksvfHcTp6WK108WlH+1zgVC0LMfxWV9uP9Ux u4e+IJsbmw2qjbjWZYPoitueUN1Lb6Dmfdy11AHVOUCKwkEKu6L94Ts72M0DML1c3d/R YHsyZ+TiFozOg/q+dIgiq+w+imyGu5PmqiCmaw832tn5IF9VBFydvzI3L15Le4LkYmdM HkIQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=mime-version:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:date :message-id:dkim-signature; bh=nehJ3aypUwBE56kB1MdRhLqVaj7kpEKVdrlsvBxIHVU=; fh=NQShvAamTRhKeEdBP+VGPvHYs3WDIRdtFLGEhdoHFRg=; b=IuOFTh078AuymZaQE+eCLvGkjuaiuEbD1m/4bY9Kaws2rHh5eJut9MomhHNUsTEe+7 tQ2jzNFtIz0VGYEzD5SUJXqvZhMxM7rV864NPX7nUiuswIqAJYjw3mIX/I2FhKl/hWiA Ta8ufEqQQ0/qH9V30YmAjxp5BP92cB+fkcgGJjWQKJ1y69H4+rbUbspv2sthFrriFru9 MlKvsRlPx4pr8AQQ7/5y2PS+M8ed8x0g2etjA5qVLA8PyAlrpQxhgBu9S7JZ5JJETFzL 3ugVTLXKh7w7VWKRkGHUaaRO2GStTYCJcYN44458qOP5OUpXtPRYajZWIerLoAUcknmq dV7w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector2 header.b=GE1njJkp; arc=pass (i=1 spf=pass spfdomain=virtuozzo.com dkim=pass dkdomain=virtuozzo.com dmarc=pass fromdomain=virtuozzo.com); spf=pass (google.com: domain of andrey.zhadchenko@virtuozzo.com designates 2a01:111:f403:c201::6 as permitted sender) smtp.mailfrom=andrey.zhadchenko@virtuozzo.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=virtuozzo.com Received: from AM0PR02CU008.outbound.protection.outlook.com (mail-westeuropeazlp170130006.outbound.protection.outlook.com. [2a01:111:f403:c201::6]) by mx.google.com with ESMTPS id 41be03b00d2f7-cde6d0156bfsi30705441a12.70.2026.11.26.03.25.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2026 03:25:47 -0800 (PST) Received-SPF: pass (google.com: domain of andrey.zhadchenko@virtuozzo.com designates 2a01:111:f403:c201::6 as permitted sender) client-ip=2a01:111:f403:c201::6; Authentication-Results: mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector2 header.b=GE1njJkp; arc=pass (i=1 spf=pass spfdomain=virtuozzo.com dkim=pass dkdomain=virtuozzo.com dmarc=pass fromdomain=virtuozzo.com); spf=pass (google.com: domain of andrey.zhadchenko@virtuozzo.com designates 2a01:111:f403:c201::6 as permitted sender) smtp.mailfrom=andrey.zhadchenko@virtuozzo.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=virtuozzo.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=EQtic167E/8k0ZpfdZzaV7dKv83XfLfGgBi1TwF56blhLh8xaz7mq8kKSKfaHtnxw8T/lWIvFl/Hxn8Qn3aYu4W8lJyYc9w/eyy3YWWMDG68lVz4qWvNO5lLm7qhGgm779g9vHM/eUPr0xdgNqXyl66XVZAnYo1JsZoJEQFNGa6wzIh3gEW4QCLeGsg5UJMpcAef+5eZvsn8Bn7lFr2OKba+GNnBN2yfrolYcmb6AQw4xsXpC3r/OqcGJoqbx2S6/B0NoWHKHBW7tQ8KphT96oW2r5uIn1DLh3CqOCVs2Xjv+x1l3PbEwPFj8u4Z9zb20qw6+TbBHM3OL8I7UfxBlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=nehJ3aypUwBE56kB1MdRhLqVaj7kpEKVdrlsvBxIHVU=; b=SVj9WEm9yAVo/KUAPCHDeyXtz+x4v1/yGuN+ogg/3wBk7bYI/RaXq68mwWnhIrlboZFuQhOgPnbbzH4uXANAHNySvQMWdqJwy5vSHC7ynuOJc7nuiIyN1sWdlGBOdWo44ucCrLATK3QoZ+++lEeQg44YHJ9ERggIeJAS5vX9rXJSwQfYzuoWaDS3d8Wx3AFxXQ8hu8uU+4VUZYRfXr06eCMWZLhZhDhJeU3G1GmG8xS7pZUlX12nEVBvKuOF1LG6XHYHqqxjXFpGsEjmmjR1g6LaBSivdFG7uw8oNbTYis7RVa1IKjYKMSB1XPOUPTZTvvcGZL3+oZmNXT47thU6rw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=virtuozzo.com; dmarc=pass action=none header.from=virtuozzo.com; dkim=pass header.d=virtuozzo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nehJ3aypUwBE56kB1MdRhLqVaj7kpEKVdrlsvBxIHVU=; b=GE1njJkpKpLfBUOGmESgHqt8zRqxUHC/uyL5vawYIZBNzCgB5qTYUJnk6QE2hHd8BRDkP0C2/2/mXshQaaSfW1ksc5fNx8lO/cuyAogvpjTYFbW2eQDTRR8Yg2DeMjBCAHBUtn7X92FEHbw7xgwpbXdxvO8Hhd0ZxGGuO0hmTRb2X4oFKAh2SLA/0Hu3e/hG0UQJ14PBZmZW59iaTrCDeCEARBBb3dutQ1JVDrn2cCFDIN/vYZU51IFGYKKqyH0DwRCcEWFYF6S123MEhjSUTQFFQHUjUuuagtyIU8dzMm1QGvTwnO+iQ9wBebA4zqZBGxFKvXnZeps3vqPSm2/I8g== Authentication-Results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=virtuozzo.com; Received: from PA4PR08MB6061.eurprd08.prod.outlook.com (2603:10a6:102:e9::13) by DB4PR08MB8126.eurprd08.prod.outlook.com (2603:10a6:10:383::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.662.6; Thu, 26 Nov 2026 11:25:44 +0000 Received: from PA4PR08MB6061.eurprd08.prod.outlook.com ([fe80::c3bf:e107:b1d2:6a00]) by PA4PR08MB6061.eurprd08.prod.outlook.com ([fe80::c3bf:e107:b1d2:6a00%4]) with mapi id 15.21.0662.004; Thu, 26 Nov 2026 11:25:44 +0000 Message-ID: <4b427978-fcf2-4e2d-8b7d-9a7f444d36a8@virtuozzo.com> Date: Thu, 26 Nov 2026 12:25:43 +0100 User-Agent: Mozilla Thunderbird To: Alexander Ivanov References: <20261120160518.3940431-1-alexander.ivanov@virtuozzo.com> Content-Language: en-US From: Andrey Zhadchenko In-Reply-To: <20261120160518.3940431-1-alexander.ivanov@virtuozzo.com> X-ClientProxiedBy: FR3P281CA0127.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:94::13) To PA4PR08MB6061.eurprd08.prod.outlook.com (2603:10a6:102:e9::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR08MB6061:EE_|DB4PR08MB8126:EE_ X-MS-Office365-Filtering-Correlation-Id: 6dde9ddc-480c-4ec0-8ee4-08df4bb0029b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|23010399003|376014|1800799024|366016|261009223027099003|261009221227099003|22082099003|18002099003|3023799007|56012099006|261021123027099003|10067099003|261102123227099003|261028144727099003|261026140227099003|261026121527099003|261021121427099003|261022075727099003|261022115727099003|261022105027099003; X-Microsoft-Antispam-Message-Info: q55j2XpgGm779Kn7bOwtNeINbo6+h+qkPj0oMTwIT7/pu/uf1zsPadPzCVRoyyTWPif83l8OYsnbO5w/ONm9Vw3y3PM/eT9s8pwqYXkHyUA3xlCa0VY9mYPTaegaeEkc67r1rman0QFMInMf8xCLErQkUx+i3KWKEwKpqCJFhwnf0zjQ7SE7Uoxzyt/KgdYH11tXjjrG5b8+HcCVLyVEtwdO1S06iVy922y/WJsITpe8B+RzjsOQwJYN8MTtvbfIcMVK3hCAMNTIyDJVVapHZTXH8yfrgEREp754b/kOtIkuzAX/2MPN9HUxPI0PwKQRZfB6g3DZ0DAFDj4V8wVntp5L7NvFs1AfyeS0B+24zwr2b78aT+uQj8G9ZbG0it7/x2Ww+jJvedHtLOQ+ZFcqMt858jREllYKV/K0ZQfyJSXgHXN/9SKo21NbARPr2xxYT8NBY2p5af+WwRen4tyUDzcyYPZiuMjiyhB9TBA9CHFxOrXSPtETw9ETXZklB8cuJKDSH7uw5WBPIZTn989USxVi41+M2dwwzswxDYVn9ypc1IDGEOcu7kNpUdBVWnVvDaZciJU9vFftqlEMT/dKmeAIDEv7b7q6+fRO0bEdP5WxtSd2jf+ppbK0XoXJ1IkxxQgC6AlyKZgn8GV8c2emQnNiuRjatuLidbr0K5ZlSXs= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PA4PR08MB6061.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(23010399003)(376014)(1800799024)(366016)(261009223027099003)(261009221227099003)(22082099003)(18002099003)(3023799007)(56012099006)(261021123027099003)(10067099003)(261102123227099003)(261028144727099003)(261026140227099003)(261026121527099003)(261021121427099003)(261022075727099003)(261022115727099003)(261022105027099003); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?OE9RaHFMTEtjVW1mdmhlYWs0SnBxeVBaWjB5N0NreW5MNkFQQ3l0a3Zld1Jy?= =?utf-8?B?Tk9ZeU1FdHFxWkI1d2dVTWtPQkQyTXJaeG5SZXdmS2pKVjlaQUZqRWFvSmFP?= =?utf-8?B?LzBDSFRrakV6SVhrdi9HMHVYaWsrbURreHVzNk0zNzhMeXh1aHRLeVBaeUpj?= =?utf-8?B?a04zWUZnKzFuY005bmt0MWFudlhYZm5SM3p3Y0FJSjZlYlJPT0tLaFNJUzdh?= =?utf-8?B?UFltVmJIMnFIcnNqRHpCZzdOVXpKZEEwdlFFVmpmMUtSVlhTREpveGE5VFI4?= =?utf-8?B?aUpseXhlaTBBdklCRVdldkk3Y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8?B?Y2gwQkFiYm1tNURtNWVTMG5hcnlZMHV2eHpzQklGUlJxOVVGREF3cnZiSjFC?= =?utf-8?B?UitYbVJibWM2dnlqQnBKdnN2OVAwOTRtYU9oRzNlMENyb1N0a1lSZWxJVWIr?= =?utf-8?B?UWVFM0tBVGhOdDZkYWxka29icjMrTTBpSVBaTVRSbGFFQTFIWCtQbU51OG1v?= =?utf-8?B?czc1bHRpL0t5Y0dFalYvRWVUbU1VZ0JyUTBYQ043MnNudFVSNkozWm9KSkZO?= =?utf-8?Q?UsovtFrI37J9yNQY=3D?= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6dde9ddc-480c-4ec0-8ee4-08df4bb0029b X-MS-Exchange-CrossTenant-AuthSource: PA4PR08MB6061.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2026 11:25:44.5380 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: NNHK5xDWLA6EVL610tnXs2tltVFg+1oXJkXDsqi81DwrRxervP8USomR947c10fvWcQ79QIMH7XAD1jUwNHAte8jZBWtRUndlnCRFBbDnRc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR08MB8126 X-OZ-Fwd: true Cc: devel@openvz.org Subject: Re: [Devel] [PATCH hci-8.2 v12 0/9] dm-ploop: give back unused tail of top delta on suspend 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: devel-bounces@openvz.org Errors-To: devel-bounces@openvz.org Reviewed-by: Andrey Zhadchenko On 11/20/26 17:05, Alexander Ivanov wrote: > Preallocated space and clusters at the end of the top delta freed by > discard are never given back, so the image file never shrinks. The > last patch truncates the top delta to the end of its last used cluster > on suspend. > > The next resumed ploop must see the new file size, so the previous > patch reloads all the metadata (header, BAT, file sizes) on resume. > This also fixes "dmsetup reload", after which the new ploop worked with > metadata read in ploop_ctr() while the old one kept changing images. > > Patches 1-2 fix header validation and patch 3 fixes raw deltas, which > the reload would otherwise hit. Patches 4-6 prepare the reload, fix a > race on md pages and make the inflight_md wakeups reach the > uninterruptible waits on suspend and resume. Patch 7 fixes > flip_upper_deltas racing with resume in ploop_preresume(), where the > reload goes. > > The corresponding ploop userspace changes are merged: > https://bitbucket.org/openvz/ploop.ovz/pull-requests/486 > They drop the manual trimming of the image tail. The two can be > deployed in either order: old userspace trims the tail of the suspended > device itself, and the reload on resume picks up the new size; new > userspace on a kernel without this series just leaves the tail in > place. > > https://virtuozzo.atlassian.net/browse/VSTOR-148171 > > v12: > - Rebase on the current hci-8.2. > - Patch 6: drop the use-after-free fix, 27b031f30a9a ("dm-ploop: fix > image I/O completions running on a freed ploop") already closes it: > ploop_destroy() waits for the BAT write completions to return. Keep > only the switch of the inflight_md_wq wakeups to wake_up(), which the > waits in patch 8 need; drop the Fixes tags and Reviewed-by. > > v11: > - Patch 8: wake the prealloc waiters in ploop_drop_prealloc() when it > drops a request: the allocator wakes them only after taking one, so > a waiter whose request was dropped slept forever; say in the message > that a message left with dirty md pages skips the reload, and split > a long paragraph. > > v10: > - Rebase on two patches of Denis V. Lunev: "dm-ploop: fix a double > fput of the delta file when ploop_add_delta() fails" and "dm-ploop: > allocate the mtfile array as pointers, not struct files". > - Patch 4: keep storing the file in deltas[level] after the clones are > made, as "dm-ploop: fix a double fput of the delta file when > ploop_add_delta() fails" does. > - Patch 8: > - drop pending prealloc requests once more under ctl_rwsem when > setting ->suspended in postsuspend, and wait after releasing it > unless in standby: a message that took the lock first saw the > device not suspended and left its requests; > - wait for the prealloc in flight in preresume instead of skipping > the reload while preallocation is pending; > - warn when the reload is skipped on dirty md pages; > - drop ploop_set_suspended() here instead of in patch 9; > - drop the misplaced comment of ploop_drop_prealloc() and fix the > comment in ploop_flip_upper_deltas(), which named one case only. > - Patch 9: split the long paragraph of the message; say that status > waits for the truncation I/O under ctl_rwsem. > > v9: > - Patch 6: say that the replaced code calls wake_up_interruptible() > and that wake_up_locked() wakes the uninterruptible wait in > ploop_destroy(). > - Patch 7: shorten the comment in ploop_preresume(). > - Patch 8: > - drop prealloc_stopped, which failed a resize or merge of the > suspended device with -EIO; instead drop pending prealloc > requests on postsuspend and at the end of a message to the > suspended device, which waits for the one in flight after > releasing ctl_rwsem; > - wait for inflight_md in preresume once more under ctl_rwsem, so > that a message slipped in before the lock doesn't make the reload > skip silently; > - fix the stale comment in ploop_flip_upper_deltas(); > - split the long paragraphs of the message. > - Patch 9: skip the truncation on dirty md pages without logging an > error; move the two __dm_destroy() sentences of the message to a > paragraph of their own. > > v8: > - Add Fixes tags to patches 1-3 and 5-7. > - Patch 3: drop the wrong hash of the driver commit from the message, > it is in the Fixes tag now. > - Drop patch 6 ("dm-ploop: use wake_up() for inflight_md_wq"): patch 6 > (was 7) replaces these wakeups with wake_up_locked(), which wakes > uninterruptible waiters too. > - Patch 6 (was 7): only ploop_destroy() takes inflight_md_wq.lock after > the wait, leave the wait in ploop_suspend_submitting_pios() as is. > - Patch 8 (was 9): > - keep the waits for preallocation and BAT writeback in postsuspend > uninterruptible and skip both in standby; drop > ploop_wait_prealloc(); > - drop pending prealloc requests while suspended (prealloc_stopped), > so after a skipped wait the old allocator doesn't resize the top > delta under a ploop of a reloaded table; > - wait for BAT writeback in preresume too, as a resize of the > suspended device may leave it in flight; > - keep dirty metadata on resume without WARN_ON_ONCE(); > - drop the stale comment that ploop_preallocate_cluster() is the only > place to change file_size. > - Patch 9 (was 10): take ctl_rwsem after the waits, so a stuck top > delta doesn't block status and messages; skip the truncation without > WARN_ON_ONCE() if md pages are dirty; describe the truncation on > removal of a live device and the best-effort size check in the > message. > > v7: > - Rebase on the current hci-8.1. > - Drop patch 1, it is merged as 932bd3ae4705 ("dm-ploop: fix u32 > overflow of the delta BAT byte size"). > - Drop patch 2, the same lost wakeup is fixed by 50651c191a31 > ("dm-ploop: fix a lost wakeup of the ploop_allocator() thread"). > - Patch 6 (was 8): drop the dispatcher_wq_prealloc part, a5836033b8fe > ("dm-ploop: wait for the ploop_allocator() thread before changing > deltas[]") already wakes it with wake_up(). > - Patch 7 (was 9): keep the wait for preallocation that a5836033b8fe > added to ploop_suspend_submitting_pios() after the inflight_md one. > - Patch 8 (was 10): add the missing Jira link, Feature and > Signed-off-by. > - Patch 9 (was 11): ploop_postsuspend() already waits for > preallocation since a5836033b8fe; make that wait killable and skip > it in standby instead of adding a new one. > > v6: > - Patch 10: new. Clear ->suspended in ploop_preresume() under the same > ctl_rwsem as the noresume check, so that flip_upper_deltas can't > pass its check between them. > - Patch 11 (was 10): rebase on patch 10; mark a new ploop suspended in > ploop_ctr(), as it is not live until the first successful resume. > - Patch 12 (was 11): fsync the top delta before the truncation, as BAT > writeback finished after ploop_presuspend() is not durable yet; drop > ploop_set_suspended(), which is unused now. > > v5: > - Patch 9: in ploop_destroy(), wait for inflight_md with wait_event() > and then take and drop inflight_md_wq.lock to wait for > ploop_dec_inflight_md() to release it, instead of waiting with > wait_event_lock_irq() under the lock. Reword the comment of > ploop_dec_inflight_md() and the commit message accordingly. > > v4: > - Patch 1: was sent separately as "[PATCH hci-8.1] dm-ploop: fix u32 > overflow of the delta BAT byte size", unchanged. > - Patch 2 (was 1): drop the comment above set_current_state(), add > Reviewed-by. > - Patches 3, 4: new. Reject a top delta header whose BAT does not > cover the target, and reject empty deltas, instead of skipping the > mappings of an empty delta in patch 5. > - Patch 5 (was 2): say that raw deltas have never worked since the > driver was added; drop the empty delta handling, see patches 3, 4; > add Reviewed-by. > - Patch 6 (was 3): fix the stale comment of ploop_add_delta() about > the order deltas are added in. > - Patches 7, 8: split from patch 10. Patch 7 takes bat_lock around md > page lookup in ploop_llseek_hole() to protect it from resize, so > llseek doesn't wait for long control commands. > - Patch 9: new, fixes a use-after-free of the ploop on the last > inflight_md decrement from BAT write completion. > - Patch 10 (was 4): > - test MD_* flags with test_bit(), they are bit numbers; > - keep the in-memory m_DiskInUse only after flip_upper_deltas, take > it from disk otherwise, so the CBT written on umount isn't lost; > - don't wait for preallocation on postsuspend in standby, and make > the wait killable; skip the reload and prealloc on resume in > standby or while preallocation is pending; > - track standby per ploop, as ploop_ctr() of a new table clears the > queue bit before the old table is suspended; > - drop ctl_rwsem and the suspended check from ploop_llseek_hole(): > dm core doesn't call it on a suspended device; > - describe the new preresume failures in the commit message. > - Patch 11 (was 5): don't truncate in standby, if the wait for > preallocation was killed, or if the file size differs from > top->file_size, i.e. another ploop writes to the top delta. > Shorten the comments of ploop_calc_used_end(), which repeated the > commit message. > > v3: > - Split from the common series with dm-qcow2: dm-qcow2 patches are > sent as a separate series. Patches 3-6 of v2 are patches 2-5 now. > - Patch 1: new patch. > - Patch 2: also skip applying the mappings of an empty delta, as BAT > iterators can't handle nr_be == 0. > - Patch 4: wait for inflight_md on postsuspend, as data bios are > completed before BAT writeback is finished, and use wake_up() for > inflight_md_wq; reload metadata under memalloc_noio_save(), as the > device is suspended; restore m_Sig, m_Type and m_Sectors on reload > failure. > - Patch 5: don't truncate anything if m_FormatExtensionOffset is not > cluster-aligned or out of range; truncate under memalloc_noio_save(). > > v2: > - Add dm-ploop support (patches 3-6), as requested in v1 review. > - dm-qcow2: move get_md_page_sync() to a separate patch as > qcow2_md_page_read_sync() and use it in qcow2_parse_header() as well. > - dm-qcow2: start the refcount scan below file_preallocated_area_start > instead of the end of the file, and truncate to the used end directly > instead of min(file_preallocated_area_start, used end). > > Alexander Ivanov (9): > dm-ploop: reject a delta header whose BAT does not cover the target > dm-ploop: reject empty deltas > dm-ploop: set delta is_raw before applying its mappings > dm-ploop: factor out ploop_read_delta() from ploop_add_delta() > dm-ploop: take bat_lock around md page lookup in ploop_llseek_hole() > dm-ploop: use wake_up() for inflight_md_wq > dm-ploop: fix flip_upper_deltas racing with resume > dm-ploop: reload metadata on resume > dm-ploop: truncate unused tail of top delta on suspend > > drivers/md/dm-ploop-bat.c | 252 +++++++++++++++++++++++++++++++++-- > drivers/md/dm-ploop-cmd.c | 11 +- > drivers/md/dm-ploop-map.c | 38 +++++- > drivers/md/dm-ploop-target.c | 177 +++++++++++++++++++----- > drivers/md/dm-ploop.h | 18 ++- > 5 files changed, 439 insertions(+), 57 deletions(-) > _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel