Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5783084rwr; Mon, 24 Apr 2023 08:56:09 -0700 (PDT) X-Google-Smtp-Source: AKy350bXd7W+bUOuA6Vw/xUaLRQFUzuPQNCClyiNDoJ5hNHrH82MKfMeCNqzDb7AGM6bfgm8XVbM X-Received: by 2002:a05:6a20:54a4:b0:db:7055:d4e9 with SMTP id i36-20020a056a2054a400b000db7055d4e9mr18479683pzk.27.1682351769275; Mon, 24 Apr 2023 08:56:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682351769; cv=none; d=google.com; s=arc-20160816; b=wjlkD8uFV8h/Cs+xVXQROSkDunEkL8h8yTJx6l9J7cH9O7oWLe9IDLoz0AaMRDwjXh eVXfqLnKbP8Kxq9vWKRWmLkI79M+1gyK6qpHoI9AgG8loIJRhSPY63v/t1wA4z9KsvDz ujToBZkB0zymirjurk6qz2enR+GADT5QB6s67uKVnjOsS0L5qk+xG9QaaTMNrKibCytg lL+3nFfLAQhILyQxdiS9BZgW5t6GLQmQ9tFR9Mg5IFFhlz2fAy4b10KuDZ6i2ADYwUX0 c+6XXm0Mh3QQRv8BuKSMSuD3RSRjGhC3qDB8GkHrTq9CPe7VIAB8tt8xa0mZmZMJ4Ajw 4XiA== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=kN8IDUqW0EmeFZzzB0jKCfL06jXe7XO0VewqhkyjHqg=; b=ORE+w1/r7axl5kfO8z6IFQ9UjuEX/ib7afIbTAJ0PLPlRzgDq2Vw7CS9moyVhSRdDh 60V+4EppTFMkKxRzSxvupXRV73YzRFIK0Y4MzlNyzyJKjxro///Q6C/turqqsl/HLOHn m5nrjp5YFcmwyBNgrsxyj3CMz7ydeFjdBG8J5Y5VqKfsxkQ+NXY2omEeOn2ZcvsV4kPW vulDDS3jBTwq9ooqi1SiXFB4gfE0FXbBaO7PdGyeq8ekyD5GQ4uVdnYZELEWhaTmxA5f ogcOi2JC4nxU81RZ6B6heXZJ2H10s8kOqb7lNOL6lIC3T3O94Xdm9SPfG7aT0Wzc2ECP tTBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e6uGRl4n; 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 e11-20020a056a0000cb00b0063f032d78efsi11109908pfj.269.2023.04.24.08.55.57; Mon, 24 Apr 2023 08:56:09 -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=e6uGRl4n; 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 S232082AbjDXPrL (ORCPT + 99 others); Mon, 24 Apr 2023 11:47:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231319AbjDXPrJ (ORCPT ); Mon, 24 Apr 2023 11:47:09 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25B4786AD for ; Mon, 24 Apr 2023 08:47:08 -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 9B7AF62080 for ; Mon, 24 Apr 2023 15:47:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D63B9C433EF; Mon, 24 Apr 2023 15:47:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682351227; bh=LC4skObKqPI+7BhFR03IM0NOmyFyRnFGlYN8RXopcKI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=e6uGRl4nBYkGrXa7TEWDsXPoE4r/LgOUzIJvAhyvBH1uHJAGQy2XZ71irQiCmvfW0 uzrABUnvNEgTkD/PwQvog7FqSIYwvlnXRHgNzPOeiZ6tT68fhu9S0z36KkS11WHPAk f4MgcLJ2ku0nmoCyEVFKwmuaYbSOZRVNiwZLMVABWKxx+xgIHq2oZB2n0lTMRXIXlf LFZLccItwTst56B6IiKEmmWWoYVWDt7Cmf+/xltk6J+qxmHFjLTH8z32PHBFLDx93M Vry33lynzuzLT2SVe/4urTQt2g2QeK2bBkSsTQdw1CNEMAeRub2pHsA6NwWMYYN0ve 2MBZeaLaQw9/Q== Message-ID: <4f72f8f4-7f00-aaad-7d5c-c2ce0b80c500@kernel.org> Date: Mon, 24 Apr 2023 23:47:05 +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: use cow inode data when updating atomic write To: Daeho Jeong , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, kernel-team@android.com Cc: Daeho Jeong References: <20230424154348.22885-1-daeho43@gmail.com> Content-Language: en-US From: Chao Yu In-Reply-To: <20230424154348.22885-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:43, Daeho Jeong wrote: > From: Daeho Jeong > > Need to use cow inode data content instead of the one in the original > inode, when we try to write the already updated atomic write files. > > Fixes: 3db1de0e582c ("f2fs: change the current atomic write way") > Signed-off-by: Daeho Jeong Reviewed-by: Chao Yu Thanks,