Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1718682lqa; Mon, 29 Apr 2024 18:03:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVh006Tn7ScSUJYX1HfpO1gPRWe1TLrptnfe1ffQhNcS355brQAT/3AuKqQeZ85tHiHiP8tRAHRUK7aWwmH9yFpKmJnth5dlWrLQnwFTg== X-Google-Smtp-Source: AGHT+IET5p9XrW7uUbHK6ZMum+5Fmn+zBoTYWZ/g7JxyqSNLmaxRtOU4mOjzX8ctCVgOQwJisIyW X-Received: by 2002:a05:620a:414a:b0:790:f36b:5502 with SMTP id k10-20020a05620a414a00b00790f36b5502mr5874140qko.8.1714439033166; Mon, 29 Apr 2024 18:03:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714439033; cv=pass; d=google.com; s=arc-20160816; b=PvqZlZmemyCh/03tsWI1jLNoFekswTj6OsRzD2gH66hAaKGAtO8g/qpwK2dUowAM8I YPfOYP7ML9BEXoM58jqRuUvxuNTMiD8ixvV2jQpZe+1g76SXcIPG7MeY8eTy7cd9BhT0 dkZWLPEO9ZXOxmSzIRNwN/nvGaAHEreAhUTZLG3ww9v3fjViCxVtLPYWpSyfCoz2atTp h/0XCAImRVgGRKc4gJxY/teOUziXCtN56HJY4jp0e/rVucHZIZeLZuBsTeUOCanSOi9+ CQXNBA/u9pb/16hx5Y4iUPdNMrF71JK7LHaloXVxrLFlc90aR91+OYX/E7yh8qhXE/lx TfjQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Nb5RipBKYp5U5dLcbxdGa0n+tTYxIUo6H7x/LI1sM7M=; fh=9tMgOD8Gaj90zu5W2oeNZr2jclHiy/R0PgfPqA9DWIM=; b=BH+w2vQ0R61cuyaS2xuhTHD4xd3aXDsd8CYgOQgDvBT6oN0RfZv6Y54WvuQI3NMTR6 vyMEoeUOV2aJZ33WrRPp+XpJKo2BC0WxkPhj8rxmG5xlH7RqsOloTCRzYk+P4ivUFyJA 8/UYIRYLSXf7IzuZB/rEioRxAhkGJ0F1WCq4+65jq2Do4vs9h47Li2r9WSlbBqMTxKdU LXb+KpGFpci9q7PYwCY/MITgxmSjHq59047wvGrl/NhIM7LBoj1bMtovvQXqGxMxqQ6P ilJHXynd74Sy5JDWv1fsFgJYT2+413fXOzeHOjKzObGE5M/1uF+btiNlpFG9+VXMBPZR orvA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cWnOuI9I; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-163201-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163201-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id op4-20020a05620a534400b0078d6491812asi27918318qkn.584.2024.04.29.18.03.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 18:03:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-163201-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cWnOuI9I; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-163201-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163201-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id AC5EB1C221BD for ; Tue, 30 Apr 2024 01:03:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DA00A1FAA; Tue, 30 Apr 2024 01:03:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cWnOuI9I" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0862A10E4 for ; Tue, 30 Apr 2024 01:03:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714439027; cv=none; b=LR6GgTHLErdgaz1l5zquzv+DTwDNXEGUx181Vl5FEvp2uS/8ZJyG8MiTC8nle2zyi8TciuD26zEw517deUCfKU9wVgmzTjL3H59ZygzbXulOUA4KmYbZbChpV1rR6lsfpm/bWZfd6RCgFglCU28/hFFAh7XHpQQ9Rq2oyNQ6l3g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714439027; c=relaxed/simple; bh=PAF4WJyIaNmkSTXqrUHajPaMbgSU+MVEoA5oBCMbMss=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=eWwql2J9VgJctgm8dxBK0y1gMV+hnneZE6pckhIw7psdo0Qjc29C9MUB2KWwAPhaX8MHncCrTgTtWTFHem3+LvisKtNLk5PaN7YMbbbZgVJu7OAksbF7fuSHxkwxtOWiwCn9MhwwJalWXpAB4OYsYPdQQ4/SsAVHkJaIvPy16I4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cWnOuI9I; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1AFE5C113CD; Tue, 30 Apr 2024 01:03:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714439026; bh=PAF4WJyIaNmkSTXqrUHajPaMbgSU+MVEoA5oBCMbMss=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=cWnOuI9I7bJdf1KJ4tARP4Y9TptaMirUt76PQX1sJOdxmBmU1Pvu+Okv90iKIvDek LPwapDjjQkvWR8N5NtEIIMepCioFORlsiPPebil+3+fnDqA+8nMmJKhIvHqbwCHJ6g oHlXa+l0UueGyeGQEsefWLywDSYgj/30PhhU0wY5IvYbAftVnAIulnDTxfGOn3aJEu OdY7MD2bWQFIB+zO0H9fAlZQNWronPrpfG8CZEVK6PByKg4f2sd/2ETvScON7qA+8f wBhO2UIxAh/1E2XRscyct282libujl9/Mz0O7Rs1Yn9nOLjltHoMfv9GNp4EN3hfZ4 U5qiqnmF6jgOw== Message-ID: <8ecd9ebe-8ca3-4829-96a8-0a4da3f58b94@kernel.org> Date: Tue, 30 Apr 2024 09:03:42 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] f2fs: fix block migration when section is not aligned to pow2 To: Wu Bo , Jaegeuk Kim Cc: linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, Wu Bo , Liao Yuanhong References: <20240429035142.706356-1-bo.wu@vivo.com> Content-Language: en-US From: Chao Yu In-Reply-To: <20240429035142.706356-1-bo.wu@vivo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2024/4/29 11:51, Wu Bo wrote: > As for zoned-UFS, f2fs section size is forced to zone size. And zone > size may not aligned to pow2. > > Fixes: 859fca6b706e ("f2fs: swap: support migrating swapfile in aligned write mode") > Signed-off-by: Liao Yuanhong > Signed-off-by: Wu Bo Reviewed-by: Chao Yu Thanks,