From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 08AA3C04A95 for ; Thu, 29 Sep 2022 06:58:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234989AbiI2G62 (ORCPT ); Thu, 29 Sep 2022 02:58:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234921AbiI2G6Z (ORCPT ); Thu, 29 Sep 2022 02:58:25 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8049712FF16 for ; Wed, 28 Sep 2022 23:58: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 sin.source.kernel.org (Postfix) with ESMTPS id 761B5CE13CD for ; Thu, 29 Sep 2022 06:58:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ACA7EC433D6; Thu, 29 Sep 2022 06:58:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664434696; bh=48Yc5HgQmEVMfhl/617yDA7Og2HjBTpYuAiPgq/9KqU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=U8AcfEsTChMEnTKrDEy2bTMj3LFvM9IGogneaYpz5w3drMArm/k9aUcBZ1cAixD8s IjW+Rd5UJfjIuB9k5gtUJuzy4tR8hoUAgfw7HJZtdpReBRyBZ45GNH3Rrl8gIYllfk YixmJbUMW1rKMTtO2gXtlJaV4x9sSlH6To+IVcqytZVOAdsxlbvQtQM3dO48mK3XDd GrW/S/XizkwWGdyPPVu/pduFOofRVYFXgKeJEGIgesLABscADWXCiwMmzdSKHszW0v +DF2QGE1GLuGyXhTNt2O6xyuWNgxNNVNQFRDLdKb+2ZW2ffuljZqA8FRUlXyHkmicz 6TGOdFz+hAMzg== Message-ID: Date: Thu, 29 Sep 2022 14:58:11 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [f2fs-dev] [PATCH 1/2] f2fs: correct i_size change for atomic writes 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: <20220919160644.2219088-1-daeho43@gmail.com> From: Chao Yu In-Reply-To: <20220919160644.2219088-1-daeho43@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022/9/20 0:06, Daeho Jeong wrote: > From: Daeho Jeong > > We need to make sure i_size doesn't change until atomic write commit is > successful and restore it when commit is failed. > > Signed-off-by: Daeho Jeong Reviewed-by: Chao Yu Thanks,