Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5787644rwr; Mon, 24 Apr 2023 09:00:23 -0700 (PDT) X-Google-Smtp-Source: AKy350a0D/uTWhPkpXc62TqLGMsuLknDBzP9aPno0UfirG35v0c0LhAWlTkCanoLEBOhbMaVT8tA X-Received: by 2002:a17:90a:7783:b0:24b:5a08:5cb6 with SMTP id v3-20020a17090a778300b0024b5a085cb6mr13424828pjk.19.1682352023346; Mon, 24 Apr 2023 09:00:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682352023; cv=none; d=google.com; s=arc-20160816; b=fY35nYhMrjGsO8Zolmf8C2LXv4XQfP34DHI5rKgbgRe1jJR/iWk9ORFRM5SUdljfHY lQDi0mZrZiqNjCcH4NZnAL84JXZMrO+sQE7eQO9vXA6zjFqgOTirVcw0JlXB6faa5MJ3 NDCOobav06OHs4fk/l8/Vi4tGWHBS6mztr/0sv52soQjNmf+gsw8bAF2HUc4fpBquBn+ 4kDheMFfIwUkW5PoJf2EacdKiBw1Xd98ls0mqQZ0Zvz1ZA/JYCPxrcwCu6e0Xu+AuvSi 2TfQQ3GGRJxbSFJEErGmGiK3ubTUgW1r2tsV6Lv5AqbeRuMquxgWfWlNVLTNApkSNCdI axrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=1eE0PPjJfyBbHMmKQXz4pjmgI0AvMvWSD0pbwBYtfoo=; b=ygySHnX9dQRpMJqBUPK48sD9rskPZLlfgOGaaz1Q5BmLdj9SdFzcHizzjctXsNIBus fiZtIj+1onlvv2vHkfPKv09bzzNrIvoYXMBZ1kQbRAC8mRnZ7IaXVP4PGsPbUlh5BXTR hUSY9k+XGzctLKv8TLjI6fSeDFPdm98x3HRYjTmWge/USgppgDIZGR4lI3Y8vDxBsW1g VDuWyAOAjepB219tV0C9x8m1I42aK9OgKEz5VcRC282jsOxyG2tClfV7e1X3kgdsvHjb yaJkFhpAfL5rbRWQeRpJbwWGw23QjUnka+ejlhgzAIU3q5QKcAfzcQhzKvp7kyAYofi6 bXjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MWidb279; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q193-20020a632aca000000b0051b781c30c3si9405410pgq.822.2023.04.24.09.00.03; Mon, 24 Apr 2023 09:00:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MWidb279; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232103AbjDXPra (ORCPT + 99 others); Mon, 24 Apr 2023 11:47:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231732AbjDXPr2 (ORCPT ); Mon, 24 Apr 2023 11:47:28 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45C51423C for ; Mon, 24 Apr 2023 08:47:21 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CA5A66265B for ; Mon, 24 Apr 2023 15:47:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 32842C433D2; Mon, 24 Apr 2023 15:47:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682351240; bh=4RTntsS8Ltvi/zweHMoGG/466+f9Gl/cJ22m2S/ZjzE=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=MWidb279bEM5WgbBMBj6MoM4r+XA9hNa4cZhS5rsS0Jchg+5o66aoGHNDrVDImCl+ qqIt6ssRxmKXjk2Ftx/Bcs1uMUYr8RYZwBtIgDcIW/OqWN8FWdKGmBVYNb1YPBS4Sd IxFx2BCUIUWmhgHq2EeVDR/fU69fTjgVp01Yn3i83Tj3P0fz/YVCnV9bnDzm9XeWoe qFbFG6MpK+vSn5IAhXQJItFUP4nSV2/x3Qdf1iafNkOe0VYaUMTNUrBWHQ4p0jnkgK kG5aX2p1bS5e5nkxOq3ZU9IZ9UHUpITuvAHsEnauSf99sCd4nBh0f9x0x+wdjFDW+z DNzh7ZGwnnGEQ== Message-ID: <32d4cb93-1491-4d1b-7713-61369a93f658@kernel.org> Date: Mon, 24 Apr 2023 23:47:20 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [f2fs-dev] [PATCH] f2fs: allocate node blocks for atomic write block replacement Content-Language: en-US To: Daeho Jeong , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, kernel-team@android.com Cc: Daeho Jeong References: <20230424154440.23279-1-daeho43@gmail.com> From: Chao Yu In-Reply-To: <20230424154440.23279-1-daeho43@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-8.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023/4/24 23:44, Daeho Jeong wrote: > From: Daeho Jeong > > When a node block is missing for atomic write block replacement, we need > to allocate it in advance of the replacement. > > Fixes: 3db1de0e582c ("f2fs: change the current atomic write way") > Signed-off-by: Daeho Jeong Reviewed-by: Chao Yu Thanks,