Skip to contentSkip to conversation

f2fs for 5.14-rc1

GIT PULL Merged Jaegeuk Kim 4 participants 6 messages Jul 7, 2021 – Jul 9, 2021

lore
Share & tools
lore
#0 lore raw

Hi Linus,

Could you please consider this pull request?

Thanks,

The following changes since commit bd3c9cdb21a2674dd0db70199df884828e37abd4:

Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux (2021-05-14 10:52:47 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git tags/f2fs-for-5.14-rc1

for you to fetch changes up to 28607bf3aa6f9762b32dc7f1ed0488823c0651b8:

f2fs: drop dirty node pages when cp is in error status (2021-07-06 22:05:06 -0700)

----------------------------------------------------------------
f2fs-for-5.14-rc1

In this round, we've improved the compression support especially for Android such as allowing compression for mmap files, replacing the immutable bit with internal bit to prohibits data writes explicitly, and adding a mount option, "compress_cache", to improve random reads. And, we added "readonly" feature to compact the partition w/ compression enabled, which will be useful for Android RO partitions.

Enhancement:
- support compression for mmap file
- use an f2fs flag instead of IMMUTABLE bit for compression
- support RO feature w/ extent_cache
- fully support swapfile with file pinning
- improve atgc tunability
- add nocompress extensions to unselect files for compression

Bug fix:
- fix false alaram on iget failure during GC
- fix race condition on global pointers when there are multiple f2fs instances
- add MODULE_SOFTDEP for initramfs

As usual, we've also cleaned up some places for better code readability. (e.g., sysfs/feature, debugging messages, slab cache name, and docs)

----------------------------------------------------------------
Chao Yu (17):
f2fs: compress: rename __cluster_may_compress
f2fs: add cp_error check in f2fs_write_compressed_pages
f2fs: restructure f2fs page.private layout
f2fs: fix to avoid racing on fsync_entry_slab by multi filesystem instances
f2fs: atgc: fix to set default age threshold
f2fs: compress: remove unneeded f2fs_put_dnode()
f2fs: compress: clean up parameter of __f2fs_cluster_blocks()
f2fs: add MODULE_SOFTDEP to ensure crc32 is included in the initramfs
f2fs: compress: fix to disallow temp extension
f2fs: atgc: export entries for better tunability via sysfs
f2fs: compress: remove unneeded preallocation
f2fs: compress: add compress_inode to cache compressed blocks
f2fs: swap: remove dead codes
f2fs: swap: support migrating swapfile in aligned write mode
f2fs: introduce f2fs_casefolded_name slab cache
f2fs: fix to avoid adding tab before doc section
MAINTAINERS: f2fs: update my email address

Daeho Jeong (1):
f2fs: enable extent cache for compression files in read-only

Daniel Rosenberg (2):
f2fs: Show casefolding support only when supported
f2fs: Advertise encrypted casefolding in sysfs

Fengnan Chang (1):
f2fs: compress: add nocompress extensions support

Jaegeuk Kim (8):
f2fs: let's allow compression for mmap files
f2fs: introduce FI_COMPRESS_RELEASED instead of using IMMUTABLE bit
f2fs: support RO feature
f2fs: add pin_file in feature list
f2fs: clean up /sys/fs/f2fs/<disk>/features
f2fs: remove false alarm on iget failure during GC
f2fs: initialize page->private when using for our internal use
f2fs: drop dirty node pages when cp is in error status

Joe Perches (1):
f2fs: logging neatening

Shin'ichiro Kawasaki (1):
f2fs: Prevent swap file in LFS mode

Tom Rix (1):
f2fs: return success if there is no work to do

 Documentation/ABI/testing/sysfs-fs-f2fs |  57 ++++-
 Documentation/filesystems/f2fs.rst      |  50 ++++-
 MAINTAINERS                             |   2 +-
 fs/f2fs/checkpoint.c                    |   4 +-
 fs/f2fs/compress.c                      | 255 +++++++++++++++++-----
 fs/f2fs/data.c                          | 360 ++++++++++++++------------------
 fs/f2fs/debug.c                         |  13 ++
 fs/f2fs/dir.c                           |  25 ++-
 fs/f2fs/f2fs.h                          | 228 ++++++++++++++++----
 fs/f2fs/file.c                          |  37 ++--
 fs/f2fs/gc.c                            |  16 +-
 fs/f2fs/inline.c                        |   4 +-
 fs/f2fs/inode.c                         |  23 +-
 fs/f2fs/namei.c                         |  36 +++-
 fs/f2fs/node.c                          |  35 ++--
 fs/f2fs/node.h                          |  33 +--
 fs/f2fs/recovery.c                      |  29 ++-
 fs/f2fs/segment.c                       |  34 ++-
 fs/f2fs/super.c                         | 188 ++++++++++++++++-
 fs/f2fs/sysfs.c                         | 232 +++++++++++++++-----
 include/linux/f2fs_fs.h                 |   2 +
 21 files changed, 1168 insertions(+), 495 deletions(-)
#1 lore raw

Hi Jaegeuk,

Quoted 9 lines · On Wed, 7 Jul 2021 12:58:50 -0700 Jaegeuk Kim <[email protected]> wrote:

Could you please consider this pull request?

Thanks,

The following changes since commit bd3c9cdb21a2674dd0db70199df884828e37abd4:

Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux (2021-05-14 10:52:47 -0700)

Quoted 7 lines

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git tags/f2fs-for-5.14-rc1

for you to fetch changes up to 28607bf3aa6f9762b32dc7f1ed0488823c0651b8:

f2fs: drop dirty node pages when cp is in error status (2021-07-06 22:05:06 -0700)

Its worth mentioning the semantic conflict against the ext3 tree (which hasn't been merged by Linus yet, but presumably will be).

https://lore.kernel.org/lkml/[email protected]/

The ext3 commit has been rebased and is now

1474c39351f0 ("f2fs: Convert to using invalidate_lock")

but I am still applying the mentioned merge resolution patch.

Signature · 2 lines
Cheers,
Stephen Rothwell
#2 lore raw

Hi Stephen,

Quoted 16 lines · Stephen Rothwell

Hi Jaegeuk,

Quoted 13 lines · On Wed, 7 Jul 2021 12:58:50 -0700 Jaegeuk Kim <[email protected]> wrote:

Could you please consider this pull request?

Thanks,

The following changes since commit bd3c9cdb21a2674dd0db70199df884828e37abd4:

Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux (2021-05-14 10:52:47 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git tags/f2fs-for-5.14-rc1

Quoted 8 lines
Quoted 3 lines

for you to fetch changes up to 28607bf3aa6f9762b32dc7f1ed0488823c0651b8:

f2fs: drop dirty node pages when cp is in error status (2021-07-06 22:05:06 -0700)

Its worth mentioning the semantic conflict against the ext3 tree (which hasn't been merged by Linus yet, but presumably will be).

https://lore.kernel.org/lkml/[email protected]/

I think this looks good to me. Thank you~

Quoted 9 lines

The ext3 commit has been rebased and is now

1474c39351f0 ("f2fs: Convert to using invalidate_lock")

but I am still applying the mentioned merge resolution patch.

Signature · 2 lines
Cheers,
Stephen Rothwell
#3 lore raw
In reply to Stephen Rothwell
Quoted 14 lines · Stephen Rothwell

Hi Jaegeuk,

Quoted 11 lines · On Wed, 7 Jul 2021 12:58:50 -0700 Jaegeuk Kim <[email protected]> wrote:

Could you please consider this pull request?

Thanks,

The following changes since commit bd3c9cdb21a2674dd0db70199df884828e37abd4:

Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux (2021-05-14 10:52:47 -0700)

are available in the Git repository at:

Quoted 8 lines
Quoted 5 lines

git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git tags/f2fs-for-5.14-rc1

for you to fetch changes up to 28607bf3aa6f9762b32dc7f1ed0488823c0651b8:

f2fs: drop dirty node pages when cp is in error status (2021-07-06 22:05:06 -0700)

Its worth mentioning the semantic conflict against the ext3 tree (which hasn't been merged by Linus yet, but presumably will be).

Whether that particular series causing the conflict will be merged by Linus in this merge window is uncertain - Linus didn't like how filemap_fault() unconditionally acquired the lock. I've created an optimization patch to avoid that but review is pending... At this point I'm leaning towards the variant that series won't go in during the merge window. In that case I'll probably rebase on top of rc1 and force-push everything.

Honza

Signature · 2 lines
Jan Kara <[email protected]>
SUSE Labs, CR
#4 lore raw

Hi Jan,

Quoted 7 lines · On Thu, 8 Jul 2021 11:52:17 +0200 Jan Kara <[email protected]> wrote:

Whether that particular series causing the conflict will be merged by Linus in this merge window is uncertain - Linus didn't like how filemap_fault() unconditionally acquired the lock. I've created an optimization patch to avoid that but review is pending... At this point I'm leaning towards the variant that series won't go in during the merge window. In that case I'll probably rebase on top of rc1 and force-push everything.

No worries, thanks for the reply.

Signature · 2 lines
Cheers,
Stephen Rothwell
merge bot Merged
#5 lore raw
In reply to Jaegeuk Kim
The pull request you sent on Wed, 7 Jul 2021 12:58:50 -0700:

The pull request you sent on Wed, 7 Jul 2021 12:58:50 -0700:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git tags/f2fs-for-5.14-rc1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/227c4d507c71acb7bece298a98d83e5b44433f62

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html