Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp6055654rwn; Mon, 12 Sep 2022 20:17:46 -0700 (PDT) X-Google-Smtp-Source: AA6agR5MmU7A6gWPdoiK3fovoHHXiuKAGRJoxMsssklxsHOuFc306l4QVZ00oH/KL7NhQyWMpCKv X-Received: by 2002:a17:906:c14f:b0:77c:e313:a900 with SMTP id dp15-20020a170906c14f00b0077ce313a900mr6345499ejc.400.1663039065844; Mon, 12 Sep 2022 20:17:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663039065; cv=none; d=google.com; s=arc-20160816; b=TQX1lWKQmQ3quyrs3YMYYai02FwBheaUXoG2EpsrcjkdYNGnCLcmmu1iLpXvqYAB57 4hauDxlNE5GPP4WEJlNYV50pKWVSZaC7LjVYsz9lSxoUqPfvHE91/+OBgZcwldDh48ND EF7s1LWsfBFVcnzxweEgXQ//rkQQYATl0DT7lkqWbkAo4vocitjvruX6gnURMA/t9L/l M/ODuHlOYUpK1YRSt24EsaB7Nvpra0J5lErQfdFcWx7ggOZUG9EapJh98XWoQrPszFeh oohDwuf6mKRkhgVCbUzQL7/KmDjI4AhAq7G8te3QNJGkBaFPF/I7hyxa7439fjDwGTLZ s1CQ== 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:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=Yk39hJSAL1s337j3y2QUcMrFO19OnLEQBFX5zV3Sg+Y=; b=vtYZSadBcAKR1knZ1meQJDyEehbRqGvqA2KULGMvzNq6Ggc4yx3uWcl7jM8j/PbzG6 jCUJOR0BlJPSStne0DLuq4pua0fG03Pyios5U5ZtS2yoxPX6lR8epfC90F0Wu4xdytDJ Bqpxk18zGWfh0F1apfJJTU4JyQYrF78KzuQurY3OyJ/cZajNHs1Qs6RNNlq1tKfcQlpg zyuFs8DNcNa0Pf6Af6KSlzfkn/lwjRin9jazp/2syAL8/tSo72wDIOYTqgiYai9CAc7/ 5BZ1hokzeRnbo5BlQj8PPeuuGGkikAt3CaiQ5uvr09iYmG73OpSaDJ9tweKrGJQPhdpi g89g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=inEYw3f9; 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 m17-20020aa7d351000000b0045157a1991bsi6355210edr.323.2022.09.12.20.17.21; Mon, 12 Sep 2022 20:17:45 -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=inEYw3f9; 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 S229778AbiIMC7E (ORCPT + 99 others); Mon, 12 Sep 2022 22:59:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229607AbiIMC7C (ORCPT ); Mon, 12 Sep 2022 22:59:02 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29FD34F65B for ; Mon, 12 Sep 2022 19:59:01 -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 ams.source.kernel.org (Postfix) with ESMTPS id 9D1BEB80E13 for ; Tue, 13 Sep 2022 02:59:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A873C433D7; Tue, 13 Sep 2022 02:58:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663037939; bh=Iuuhzzq+GhRVr/IvNg5kSnLKv8rP3SeJsSTWDYFcbh0=; h=Date:Subject:To:References:From:In-Reply-To:From; b=inEYw3f9y8DakPYxBvnlGpUl6JJckq91J5p6hIOUNDbGPw6BDpIBIHB1S+ijwegL7 I1QmOuBrsMkJX4qolz4w3CUfzBrDZ0IDiwMfx4OpUqUBMk/9ChXu1QC3uIoQU39roK Az30b7douIb2pNnsZNd2eQxDyf/OH7I+n5464M9FfTM6gcZdkccEqxZEGA/AhJLJgp tFn8/g656rsFcHNZqYD06fJzXLL8eRFHG5uAqkYohJKSoCljaddOJVpDci5lJye0sr Ky8TZBMU9fg/5ZIiJs3XAtpYy+9LN3FHAykCeUJqcU0MTJ3Kpivy4a8DeWvZS6KJiv n03vR26zgDNhQ== Message-ID: <934dca55-c3ec-56bb-63c4-83decd27d2f5@kernel.org> Date: Tue, 13 Sep 2022 10:58:54 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [f2fs-dev] [PATCH 1/2] f2fs: flush pending checkpoints when freezing super Content-Language: en-US To: Jaegeuk Kim , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net References: <20220819231514.3609958-1-jaegeuk@kernel.org> From: Chao Yu In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-9.3 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 2022/8/25 4:02, Jaegeuk Kim wrote: > This avoids -EINVAL when trying to freeze f2fs. > > Signed-off-by: Jaegeuk Kim Reviewed-by: Chao Yu Thanks,