Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp217175lqb; Thu, 14 Mar 2024 09:20:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW4OCLM5hpNaoRZSKLYa996TSx6zmlqbX/3elToPfXD4fmkRA1DY/gxE0gyz8p5UQkHVj+FolESAulDdYPWdhGiheAc2AsRhNhUoWZx4g== X-Google-Smtp-Source: AGHT+IEfJ+nWLEUplBQnEJGb6yofRQB4q+UHIxiIV1dtVnpHVKP4nS6zP49QQWFqPdG9uPyNsVkM X-Received: by 2002:a17:906:4ad8:b0:a46:5e78:7400 with SMTP id u24-20020a1709064ad800b00a465e787400mr1415706ejt.45.1710433243890; Thu, 14 Mar 2024 09:20:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710433243; cv=pass; d=google.com; s=arc-20160816; b=X3JA08HfR3Qf+NAYOeqWk3jez7qpgaKrc+0CdBqMSrhFyLT56W9mfNxEd+wDM4TkbO saKZchPPic0nURWcASb7Pcyr7zIY0wPTn74Ii9AsCe9zSHlHw0PX+tsaGx+klWK8iHay ehqBv2vmEQ2bvyTmpjWBJbDLYvqhng6tQazuwoov87kIsA3YWMEKEk1iLrA6xkdyz0K9 3elyO00dUTK67/+jCif9qigcz1dZ7fIbLnXDrsqKUDDDD71l04qR6CGru3ytv7eHWHIC yuG3CaxE46REkDL4ADt+ndi3JZoR7FZT4RT7xxLtinfadxcpNdfu+HtsQBukFeyXwhbY y2Xw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=YfF+tAL/p+thewa7FFaMIgSeQKQ3b/CR7sKOD0k1WPk=; fh=Vz6pnlooPVJyURjx37gjbjypPo5sHWC1toiARJhcL50=; b=uTLb3CwBHowMRV6BV+PcoWlK0Ja/pE2n7j3qEwJB1BDBqcZ5iylRh8ZTN9Y09aBGDz VzY7VOp/ukQbbPw5Hu3dIuLg7yUh18ERc8N7MZjvS4AnpgqWVZedTGgb7g3A6u5HCsyF SFMZf7uXD2WNPe66WmJB1e7fvuTV/8Uxc782wLEvlY2IS6n0V9B2n3Gkam90Ns9EBBeq SjIlLddR1XXwK9T9/x7a2i53NqzWtn5HcBLd2MZ+V7ZEneRTPZiXqzPrHsmZq1XBPEEl 2HyxvQNyWlwEt5bLWBY9dByueX8NMfHV8kQYyMbPsKlW2DFRFXvkKEKcbAkn7AO3g9VI 4EhQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="q2h/Tn7S"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-103563-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103563-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id d18-20020a170906345200b00a3eb8bf2d7asi849916ejb.1036.2024.03.14.09.20.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 09:20:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-103563-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="q2h/Tn7S"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-103563-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103563-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 9A0481F22725 for ; Thu, 14 Mar 2024 16:20:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AD35D7352C; Thu, 14 Mar 2024 16:20:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="q2h/Tn7S" 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 CC16873500; Thu, 14 Mar 2024 16:20:31 +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=1710433231; cv=none; b=m7uTbVjyVeFSvwjp9tl5ozHgQTE86hiEr3HOnB2RBEOv+WgCms8Bst7DNLTfufIXqkR5SaWGBRIYkQj2o4PTJlZRno1bcgf87yokkwYTILYEiwUprNuUJhmPCL2ooN+wh89cKMpDvAXecaHOF+BzT+MGYeS9+mXsiWnLopKVWdc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710433231; c=relaxed/simple; bh=7+09w1oE97rDTiXYwrzXL4LqGid17J4YBQSF+zZK/30=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=G+25zk9D5cQ+e80HX9rVoPIIVsj5BNG/xXU8eLXugEX6ueifn++82wOtkciSqNjbpGxKuUiIliblvOp5nCSP/odlQU52eePbOqezcuI8t+RsssJ6Yb5uirXpJCzHVn1+qZ4XWmDHZYiLK96uDAvdZY18RQju0wMJxN9upttC7E4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=q2h/Tn7S; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 691D8C433C7; Thu, 14 Mar 2024 16:20:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710433231; bh=7+09w1oE97rDTiXYwrzXL4LqGid17J4YBQSF+zZK/30=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=q2h/Tn7SJ1Z6TURl9ZfaYEeCvSR+2ZpQbTUHRgzIzNga9f8h2nfOqcGVKrI53z7iP 1ZrbkD1XirVCgitqPQNlCIpPPRFc78wiqhBKw9BTu0ux/l5f6NofvdBXhkkESHVtXu c4A2nCRMxw59HtDxHNC64kbktzV4c3fvSq/upv2E8CvawZwiryVUbls0FakW/GZqLr lcv3+afq/QQun/4s7hyVjlZrk+adq0zE3T/C452+nxzHVyVe0RQpPfIDhCbmaXAeJH fY8tzQIWxMMExfNzoD07Y/peL59SgjRH3xhjaWXPLNBcXiHA78a6FmkJJjfy76kxPc BfQPOoPiwNAFQ== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 57438C595C3; Thu, 14 Mar 2024 16:20:31 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [f2fs-dev] [PATCH 1/2] f2fs: mark inode dirty for FI_ATOMIC_COMMITTED flag From: patchwork-bot+f2fs@kernel.org Message-Id: <171043323135.13516.13152557202790425298.git-patchwork-notify@kernel.org> Date: Thu, 14 Mar 2024 16:20:31 +0000 References: <20240313112620.1061463-1-s_min.jeong@samsung.com> In-Reply-To: <20240313112620.1061463-1-s_min.jeong@samsung.com> To: Sunmin Jeong Cc: jaegeuk@kernel.org, chao@kernel.org, daehojeong@google.com, linux-f2fs-devel@lists.sourceforge.net, stable@vger.kernel.org, linux-kernel@vger.kernel.org, sj1557.seo@samsung.com Hello: This series was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Wed, 13 Mar 2024 20:26:19 +0900 you wrote: > In f2fs_update_inode, i_size of the atomic file isn't updated until > FI_ATOMIC_COMMITTED flag is set. When committing atomic write right > after the writeback of the inode, i_size of the raw inode will not be > updated. It can cause the atomicity corruption due to a mismatch between > old file size and new data. > > To prevent the problem, let's mark inode dirty for FI_ATOMIC_COMMITTED > > [...] Here is the summary with links: - [f2fs-dev,1/2] f2fs: mark inode dirty for FI_ATOMIC_COMMITTED flag https://git.kernel.org/jaegeuk/f2fs/c/4bf78322346f - [f2fs-dev,2/2] f2fs: truncate page cache before clearing flags when aborting atomic write https://git.kernel.org/jaegeuk/f2fs/c/74b0ebcbdde4 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html