From patchwork Tue Jul 23 20:58:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaegeuk Kim X-Patchwork-Id: 13740383 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 lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 04266C3DA63 for ; Tue, 23 Jul 2024 20:58:25 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-3.v29.lw.sourceforge.com) by sfs-ml-3.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1sWMaW-0003eq-Os; Tue, 23 Jul 2024 20:58:24 +0000 Received: from [172.30.29.67] (helo=mx.sourceforge.net) by sfs-ml-3.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1sWMaV-0003ek-Hq for linux-f2fs-devel@lists.sourceforge.net; Tue, 23 Jul 2024 20:58:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:MIME-Version:Message-ID:Subject:Cc:To: From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=TKaYBJ2RwymJymTJEzZlcwufzWp6l0S0inWVIkYi3To=; b=KKLREHeJSLGO0BLqPCv5aVFNeN kudHdz1BH4Sjsu4sJHrAlydCljKZ0QYOYTbgXlVynXKsYalIRw2OF6mXXpHwlfxQLEaITzPu3zv6V IP6oEmW2XQ91PMP4M2K3C1ZD1RJ41OQJIR5rWzHEc8IeGzIH65NwkFf1Y80uR8Qcu4WA=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:MIME-Version:Message-ID:Subject:Cc:To:From:Date:Sender: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=TKaYBJ2RwymJymTJEzZlcwufzWp6l0S0inWVIkYi3To=; b=d ns+g3yRQm72Qvlbm0O0/ceLX404SDH0uwDldkBOou2luR1GL5W1qvj3zdVgRBnTgNkWwcwdWUN/SA PaOarpzxCDr1SXs6GVYaqAwPnjiX3+LNybCsnXWo3YBCTgZfHnQmJM9eFjRkK5t6G+DI0gmdJnCg3 fSzILEWYgUB4Enow=; Received: from sin.source.kernel.org ([145.40.73.55]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1sWMaT-0002gY-Pt for linux-f2fs-devel@lists.sourceforge.net; Tue, 23 Jul 2024 20:58:22 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 130B1CE0E85; Tue, 23 Jul 2024 20:58:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E427C4AF0A; Tue, 23 Jul 2024 20:58:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721768294; bh=vm7lqq1pDxSm5ib+uVF8/2QogGR2IqVX/x2iZhX1M7Y=; h=Date:From:To:Cc:Subject:From; b=XZhq7PtAx+SnLRsa8uewjsgGUJ2AljP4PR3dX+TwHyYC3U1VioXOljDT7QUHaJCS0 N+PF09Z3raEl+K5cB2XdEyI4kl2ZLSI9b+plwqEUgS39TVvdb6+2D1c2CJU39BDH2l XV0W/KICOv9ZoUeykCFraoA4MT0gWbuguayu9ZqxI4IcPNyYA/wERKHnuYuKmQOjco mvZxlRpvXCNRmdCnPDl5Byvh1qMttYFop+vhN3I9YJcifoWpUfJ2BIAJqn5kzM897S wUYPPgwLA8t/7/jTqJCx5o2BE8tzrHoFIX+6U+/jbu7MGEVU3lgvT6EngGtyqDs9Gx qRnQuct817Q8Q== Date: Tue, 23 Jul 2024 20:58:12 +0000 From: Jaegeuk Kim To: Linus Torvalds Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Headers-End: 1sWMaT-0002gY-Pt Subject: [f2fs-dev] [GIT PULL] f2fs update for 6.11-rc1 X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linux Kernel Mailing List , Linux F2FS Dev Mailing List Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net Hi Linus, Could you please consider this pull request? Thanks, The following changes since commit 2ef5971ff345d3c000873725db555085e0131961: Merge tag 'vfs-6.10-rc4.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs (2024-06-11 12:04:21 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git tags/f2fs-for-6.11-rc1 for you to fetch changes up to bed6b0317441d82c32506750ccd868d83850e6f4: f2fs: clean up addrs_per_{inode,block}() (2024-07-10 23:15:36 +0000) ---------------------------------------------------------------- f2fs update for 6.11-rc1 It's a pretty small update including mostly minor bug fixes in zoned storage along with the large section support. Enhancement: - add support for FS_IOC_GETFSSYSFSPATH - enable atgc dynamically if conditions are met - use new ioprio Macro to get ckpt thread ioprio level - remove unreachable lazytime mount option parsing Bug fix: - fix null reference error when checking end of zone - fix start segno of large section - fix to cover read extent cache access with lock - don't dirty inode for readonly filesystem - allocate a new section if curseg is not the first seg in its zone - only fragment segment in the same section - truncate preallocated blocks in f2fs_file_open() - fix to avoid use SSR allocate when do defragment - fix to force buffered IO on inline_data inode And, it includes some minor code clean-ups, and sanity checks. ---------------------------------------------------------------- Chao Yu (12): f2fs: fix to do sanity check on F2FS_INLINE_DATA flag in inode during GC f2fs: fix to do sanity check on blocks for inline_data inode f2fs: add support for FS_IOC_GETFSSYSFSPATH f2fs: fix to force buffered IO on inline_data inode f2fs: fix to don't dirty inode for readonly filesystem f2fs: fix return value of f2fs_convert_inline_inode() f2fs: fix to cover read extent cache access with lock f2fs: fix to truncate preallocated blocks in f2fs_file_open() f2fs: remove redundant sanity check in sanity_check_inode() f2fs: fix to update user block counts in block_operations() f2fs: clean up F2FS_I() f2fs: clean up addrs_per_{inode,block}() Daejun Park (1): f2fs: fix null reference error when checking end of zone Eric Sandeen (1): f2fs: remove unreachable lazytime mount option parsing Jaegeuk Kim (2): f2fs: clean up set REQ_RAHEAD given rac f2fs: assign CURSEG_ALL_DATA_ATGC if blkaddr is valid Sheng Yong (3): f2fs: alloc new section if curseg is not the first seg in its zone f2fs: fix start segno of large section f2fs: only fragment segment in the same section Sunmin Jeong (2): f2fs: use meta inode for GC of atomic file f2fs: use meta inode for GC of COW file Zhiguo Niu (5): f2fs: fix to remove redundant SBI_NEED_FSCK flag set f2fs: fix to avoid use SSR allocate when do defragment f2fs: use new ioprio Macro to get ckpt thread ioprio level f2fs: enable atgc dynamically if conditions are met f2fs: fix to use mnt_{want,drop}_write_file replace file_{start,end}_wrtie fs/f2fs/checkpoint.c | 11 ++-- fs/f2fs/compress.c | 2 +- fs/f2fs/data.c | 27 ++++++---- fs/f2fs/extent_cache.c | 48 +++++++---------- fs/f2fs/f2fs.h | 78 +++++++++++++++------------- fs/f2fs/file.c | 135 ++++++++++++++++++++++++++++++++++-------------- fs/f2fs/gc.c | 24 ++++++--- fs/f2fs/inline.c | 28 ++++++++-- fs/f2fs/inode.c | 84 ++++++++++++------------------ fs/f2fs/namei.c | 20 +++---- fs/f2fs/recovery.c | 11 ++-- fs/f2fs/segment.c | 54 +++++++++++++++---- fs/f2fs/segment.h | 3 +- fs/f2fs/super.c | 11 +--- fs/f2fs/sysfs.c | 12 ++--- include/linux/f2fs_fs.h | 7 ++- 16 files changed, 329 insertions(+), 226 deletions(-)