From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796340010; b=Kkmv2a+uzL1QGWmd416V/nUpGZEoxIpx7v5lYzybYSG1w9lAmRvMmgnCLTyLPKdhPEAn lPbQtdqY+b+R8pSmr2bktTP0znR9U7dvRPEsMYKgVGhyKt9xMSkh4TKwweOcPs86H7WzI 0K2WwivHXIpmI1Fau9+Tz3wlPddGtwm+KjwTb15A98gAAfd3HDvISJ+S4/aktRqn9C1xw oCy//6vx3fK870AfbtNiQDQGQKNvY6q/DeOV6S0R5QSKmobIRDCsYTN0uRZQFexNPpfHh LzGSsQckZYZNgbpFXsnAJvc+gLZURNY+AeNKj9ag8rTDYMC/1XTa9As05ejyXQdEA4w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796340010; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=KOtmEJHLazOIwgGr5mlxUUVNv46a1+byYsaBiOXrnU8=; b=CfsF/agWHqXd6ZV51MWIU/LSeynm4VISDk4+iLu5HPRGOzugKbcDrrSF+BNWXhJEjBjU tuivv/xzx3LXps8QW/VB040Kkui1H/qUWSs3s2/wp/cvTWfaOBt9rWuoLY0n8P1w1Uz5m jxtp4pC/M7KdHcLCrmBjSGf8M23Rbzo0vrGi/BkZD1+s/Lwt/dMmHzskH+qRGmk7LNHLw kiDqFH37u0SM2RB+Sc4IWH12NioQDIxPyfCBhVEYaapinixAfTCiY05NwhVMQV0B5r2Es eDWqIXZzgzNiiB8r/svopH3fhVA8jjFMvCJ1uUMd/Z2yHFtPOC3VRXlCJuOjhnSCtKA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ZzoGQPzR; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A1FD2606A33A; Thu, 3 Dec 2026 23:20:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ZzoGQPzR Received: by smtp.kernel.org (Postfix) with ESMTPSA id 48DE31F000CE; Thu, 3 Dec 2026 23:20:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796340010; bh=KOtmEJHLazOIwgGr5mlxUUVNv46a1+byYsaBiOXrnU8=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=ZzoGQPzRK51krDjvU+ERymtjQswdVPc2Pify1/b0fZHywA67+BuphheqfAKUHr9EG GTXMKxbyCBx1EwprsDUrxVx97fg0WwqUIji2nW30l45hVq+UjO5KwRWJPu9QBNx5fr SgKdX4yqZi8Y8be7aqZU1jxnmqa+YDxugKww9LXTZrao9xyu2G/5104jw9mcDuePBz LqQXjJdpPWxHP6F6xIP4q5hZS+gLoalOGm4o2vbqXKH403TqpHz+Im1Ju8dXMMhXTK 3Tl313R1zOdi2p3SxqDcoVO/1J5ei9hpFSmQn4zUxe9M3jojcl022ZsRPqBIcTqZCc yRadTSPaqA9yQ== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 3DE59391B141; Thu, 3 Dec 2026 23:20:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" X-Mailing-List: stable@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [f2fs-dev] [PATCH v2 1/7] f2fs: fix to persist i_size extended inside last block for fsync From: patchwork-bot+f2fs@kernel.org Message-Id: <179634000889.710291.18168905853695659276.git-patchwork-notify@kernel.org> Date: Thu, 03 Dec 2026 23:20:08 +0000 References: <20261127105608.537148-8-chao@kernel.org> In-Reply-To: <20261127105608.537148-8-chao@kernel.org> To: Chao Yu Cc: jaegeuk@kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Hello: This series was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Fri, 27 Nov 2026 10:56:08 +0000 you wrote: > From: Chao Yu > > generic/737 fails on 16k block size f2fs, after writing a 1M file w/ > O_SYNC buffered or direct IO and shutdown, the file size is 0xff000 > rather than 0x100000, i.e. the last fsynced 4k data is lost. > > It can be reproduced as below w/ 16k block size: > > [...] Here is the summary with links: - [f2fs-dev,v2,1/7] f2fs: fix to persist i_size extended inside last block for fsync https://git.kernel.org/jaegeuk/f2fs/c/3ef37c421f2a - [f2fs-dev,v2,2/7] f2fs: fix to return -EIO from f2fs_sync_fs() if cp_error is set https://git.kernel.org/jaegeuk/f2fs/c/391f690b9167 - [f2fs-dev,v2,3/7] f2fs: fix to return -EIO from f2fs_write_checkpoint() once cp_error is set https://git.kernel.org/jaegeuk/f2fs/c/4f9840ca68b0 - [f2fs-dev,v2,4/7] f2fs: fix to truncate stale meta cache entry on in-place update (no matching commit) - [f2fs-dev,v2,5/7] f2fs: fix to truncate meta cache entry in F2FS_IOC_SEC_TRIM_FILE https://git.kernel.org/jaegeuk/f2fs/c/8bfdea283394 - [f2fs-dev,v2,6/7] f2fs: fix to serialize truncation of COW blocks w/ GC (no matching commit) - [f2fs-dev,v2,7/7] f2fs: cache: fix to initialize f2fs_writeback info at mount time https://git.kernel.org/jaegeuk/f2fs/c/e011b4e707b8 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5B61B606A32D for ; Thu, 3 Dec 2026 23:20:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lists.sourceforge.net header.i=@lists.sourceforge.net header.a=rsa-sha256 header.s=beta header.b=gQhF5s0x; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sourceforge.net header.i=@sourceforge.net header.a=rsa-sha256 header.s=x header.b=APQkzX74; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sf.net header.i=@sf.net header.a=rsa-sha256 header.s=x header.b=GR3F5+kI; dkim=neutral header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ZzoGQPzR DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type:Cc: Reply-To:From:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Subject:To:In-Reply-To:References:Date:Message-Id: MIME-Version:Sender:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Unsubscribe-Post: List-Owner; bh=DzTlbwmULG6dqAkWbhFRhbaS8zEuzj79Rx1jbQc8Irw=; b=gQhF5s0xi0IO6T QqGSvwme0jaqfCKINYJTNn9DppN2L5vEj8zAn0KLeA7OrSXWt+cHLuL25bK2BlPK86YQRGTWBza4S aM9KTgx7/Y7+21fBGQlu1Wl1aOVL39WUxOj7Uy3tRshCYiy2ULKpfIq8I9e8WFG1Rx/VpEdSifLzg 0Qw=; Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.100.1) (envelope-from ) id 1xZG66-0000000072r-0MM6; Thu, 03 Dec 2026 23:20:18 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.100.1) (envelope-from ) id 1xZG65-0000000072k-0Ivi for linux-f2fs-devel@lists.sourceforge.net; Thu, 03 Dec 2026 23:20:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Cc:To:In-Reply-To:References:Date:Message-Id:From: Subject:Content-Transfer-Encoding:MIME-Version:Content-Type:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Unsubscribe-Post:List-Subscribe:List-Post:List-Owner:List-Archive; bh=KOtmEJHLazOIwgGr5mlxUUVNv46a1+byYsaBiOXrnU8=; b=APQkzX74KI2mCPMCn/cOwK3/ju quU6ZWismWAR4LHR5+hx13V3vIz1VVEaT90OkQMT84u8rY9TDCUy0JCgLZeIPHdQJteBuBZBBJkvb DQ1arCuexcv7bO3gI/88l1Gjqttu9aOIbNOZOaPVWkHR/nT91p84KCGpLJzTepfU2NDU=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Cc:To:In-Reply-To:References:Date:Message-Id:From:Subject: Content-Transfer-Encoding:MIME-Version:Content-Type:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Unsubscribe-Post:List-Subscribe:List-Post:List-Owner:List-Archive; bh=KOtmEJHLazOIwgGr5mlxUUVNv46a1+byYsaBiOXrnU8=; b=GR3F5+kIAv8g6ybqYEv27EVedq LLVrKNudUQ3w3KklKn962mXtnZWQACkK9M7pKYdTEa5xUTJEUm3/zAZqrXd4nk17Lj3i3p51xwKyC 2BgJNWOACAAUJP9u7LOiWW6aeGLguNN8t54P1gMz8Dh7D2CR2G/G1iNaCskB40+lAeBQ=; Received: from sea.source.kernel.org ([172.234.252.31]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.100.1) id 1xZG63-000000007fK-2u9W for linux-f2fs-devel@lists.sourceforge.net; Thu, 03 Dec 2026 23:20:17 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id 660DD452B4 for ; Thu, 3 Dec 2026 23:20:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 48DE31F000CE; Thu, 3 Dec 2026 23:20:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796340010; bh=KOtmEJHLazOIwgGr5mlxUUVNv46a1+byYsaBiOXrnU8=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=ZzoGQPzRK51krDjvU+ERymtjQswdVPc2Pify1/b0fZHywA67+BuphheqfAKUHr9EG GTXMKxbyCBx1EwprsDUrxVx97fg0WwqUIji2nW30l45hVq+UjO5KwRWJPu9QBNx5fr SgKdX4yqZi8Y8be7aqZU1jxnmqa+YDxugKww9LXTZrao9xyu2G/5104jw9mcDuePBz LqQXjJdpPWxHP6F6xIP4q5hZS+gLoalOGm4o2vbqXKH403TqpHz+Im1Ju8dXMMhXTK 3Tl313R1zOdi2p3SxqDcoVO/1J5ei9hpFSmQn4zUxe9M3jojcl022ZsRPqBIcTqZCc yRadTSPaqA9yQ== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 3DE59391B141; Thu, 3 Dec 2026 23:20:10 +0000 (UTC) X-Archived-By: MIME-Version: 1.0 Message-Id: <179634000889.710291.18168905853695659276.git-patchwork-notify@kernel.org> Date: Thu, 03 Dec 2026 23:20:08 +0000 References: <20261127105608.537148-8-chao@kernel.org> In-Reply-To: <20261127105608.537148-8-chao@kernel.org> To: Chao Yu X-Spam-Score: 0.8 (/) X-Headers-End: 1xZG63-000000007fK-2u9W Subject: Re: [f2fs-dev] [PATCH v2 1/7] f2fs: fix to persist i_size extended inside last block for fsync X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , From: patchwork-bot+f2fs--- via Linux-f2fs-devel Reply-To: patchwork-bot+f2fs@kernel.org Cc: jaegeuk@kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-11.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Hello: This series was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Fri, 27 Nov 2026 10:56:08 +0000 you wrote: > From: Chao Yu > > generic/737 fails on 16k block size f2fs, after writing a 1M file w/ > O_SYNC buffered or direct IO and shutdown, the file size is 0xff000 > rather than 0x100000, i.e. the last fsynced 4k data is lost. > > It can be reproduced as below w/ 16k block size: > > [...] Here is the summary with links: - [f2fs-dev,v2,1/7] f2fs: fix to persist i_size extended inside last block for fsync https://git.kernel.org/jaegeuk/f2fs/c/3ef37c421f2a - [f2fs-dev,v2,2/7] f2fs: fix to return -EIO from f2fs_sync_fs() if cp_error is set https://git.kernel.org/jaegeuk/f2fs/c/391f690b9167 - [f2fs-dev,v2,3/7] f2fs: fix to return -EIO from f2fs_write_checkpoint() once cp_error is set https://git.kernel.org/jaegeuk/f2fs/c/4f9840ca68b0 - [f2fs-dev,v2,4/7] f2fs: fix to truncate stale meta cache entry on in-place update (no matching commit) - [f2fs-dev,v2,5/7] f2fs: fix to truncate meta cache entry in F2FS_IOC_SEC_TRIM_FILE https://git.kernel.org/jaegeuk/f2fs/c/8bfdea283394 - [f2fs-dev,v2,6/7] f2fs: fix to serialize truncation of COW blocks w/ GC (no matching commit) - [f2fs-dev,v2,7/7] f2fs: cache: fix to initialize f2fs_writeback info at mount time https://git.kernel.org/jaegeuk/f2fs/c/e011b4e707b8 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel