Skip to contentSkip to conversation

f2fs-5.7-rc1

GIT PULL Merged Jaegeuk Kim 2 participants 2 messages Apr 7, 2020

lore
Share & tools
lore
#0 lore raw

Hi Linus,

Could you please consider this pull request?

Thank you,

The following changes since commit b19e8c68470385dd2c5440876591fddb02c8c402:

Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux (2020-02-13 14:36:57 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 531dfae52e8c386f72fc4935b97486409291fdb1:

f2fs: keep inline_data when compression conversion (2020-04-03 10:21:32 -0700)

----------------------------------------------------------------
f2fs-for-5.7-rc1

In this round, we've mainly focused on fixing bugs and addressing issues in recently introduced compression support.

Enhancement:
- add zstd support, and set LZ4 by default
- add ioctl() to show # of compressed blocks
- show mount time in debugfs
- replace rwsem with spinlock
- avoid lock contention in DIO reads

Some major bug fixes wrt compression:
- compressed block count
- memory access and leak
- remove obsolete fields
- flag controls

Other bug fixes and clean ups:
- fix overflow when handling .flags in inode_info
- fix SPO issue during resize FS flow
- fix compression with fsverity enabled
- potential deadlock when writing compressed pages
- show missing mount options

----------------------------------------------------------------
Chao Yu (53):
f2fs: fix to wait all node page writeback
f2fs: fix to avoid NULL pointer dereference
f2fs: recycle unused compress_data.chksum feild
f2fs: add missing function name in kernel message
f2fs: fix to avoid potential deadlock
f2fs: fix to check i_compr_blocks correctly
f2fs: cover last_disk_size update with spinlock
f2fs: remove i_sem lock coverage in f2fs_setxattr()
f2fs: fix inconsistent comments
f2fs: fix to avoid using uninitialized variable
f2fs: fix to avoid use-after-free in f2fs_write_multi_pages()
f2fs: fix to account compressed inode correctly
f2fs: fix to check dirty pages during compressed inode conversion
f2fs: allow to clear F2FS_COMPR_FL flag
f2fs: clean up codes with {f2fs_,}data_blkaddr()
f2fs: clean up parameter of macro XATTR_SIZE()
f2fs: fix to show norecovery mount option
f2fs: clean up lfs/adaptive mount option
f2fs: clean up bggc mount option
f2fs: introduce DEFAULT_IO_TIMEOUT
f2fs: add prefix for f2fs slab cache name
f2fs: fix to avoid triggering IO in write path
f2fs: introduce F2FS_IOC_GET_COMPRESS_BLOCKS
f2fs: avoid __GFP_NOFAIL in f2fs_bio_alloc
f2fs: fix to show tracepoint correctly
f2fs: use kmem_cache pool during inline xattr lookups
f2fs: fix to update f2fs_super_block fields under sb_lock
f2fs: fix to account compressed blocks in f2fs_compressed_blocks()
f2fs: don't mark compressed inode dirty during f2fs_iget()
f2fs: fix potential deadlock on compressed quota file
f2fs: don't change inode status under page lock
f2fs: fix to avoid potential deadlock
f2fs: clean up f2fs_may_encrypt()
f2fs: fix NULL pointer dereference in f2fs_write_begin()
f2fs: don't trigger data flush in foreground operation
f2fs: don't call fscrypt_get_encryption_info() explicitly in f2fs_tmpfile()
f2fs: fix to clear PG_error if fsverity failed
f2fs: fix NULL pointer dereference in f2fs_verity_work()
f2fs: fix potential .flags overflow on 32bit architecture
f2fs: fix to avoid double unlock
f2fs: fix to use f2fs_readpage_limit() in f2fs_read_multi_pages()
f2fs: clean up {cic,dic}.ref handling
f2fs: change default compression algorithm
f2fs: compress: fix to call missing destroy_compress_ctx()
f2fs: compress: add .{init,destroy}_decompress_ctx callback
f2fs: compress: support zstd compress algorithm
f2fs: clean up dic->tpages assignment
f2fs: show compression in statx
f2fs: fix to verify tpage before releasing in f2fs_free_dic()
f2fs: switch discard_policy.timeout to bool type
f2fs: add missing CONFIG_F2FS_FS_COMPRESSION
f2fs: fix to disable compression on directory
f2fs: keep inline_data when compression conversion

DongDongJu (1):
f2fs: delete DIO read lock

Eric Biggers (1):
f2fs: fix leaking uninitialized memory in compressed clusters

Gustavo A. R. Silva (1):
f2fs: xattr.h: Replace zero-length array with flexible-array member

Jaegeuk Kim (5):
f2fs: fix wrong check on F2FS_IOC_FSSETXATTR
f2fs: show mounted time
f2fs: add migration count iff migration happens
f2fs: skip GC when section is full
f2fs: skip migration only when BG_GC is called

Sahitya Tummala (3):
f2fs: fix the panic in do_checkpoint()
f2fs: Fix mount failure due to SPO after a successful online resize FS
f2fs: Add a new CP flag to help fsck fix resize SPO issues

Takashi Iwai (1):
f2fs: Use scnprintf() for avoiding potential buffer overflow

YueHaibing (1):
f2fs: xattr.h: Make stub helpers inline

 Documentation/ABI/testing/sysfs-fs-f2fs |   5 +
 Documentation/filesystems/f2fs.txt      |   4 +-
 fs/f2fs/Kconfig                         |   9 +
 fs/f2fs/checkpoint.c                    |  42 ++---
 fs/f2fs/compress.c                      | 317 ++++++++++++++++++++++++++------
 fs/f2fs/data.c                          | 141 ++++++++------
 fs/f2fs/debug.c                         |   3 +
 fs/f2fs/dir.c                           |  16 +-
 fs/f2fs/f2fs.h                          | 206 ++++++++++++---------
 fs/f2fs/file.c                          |  91 +++++----
 fs/f2fs/gc.c                            |  51 +++--
 fs/f2fs/inode.c                         |  29 ++-
 fs/f2fs/namei.c                         |  12 +-
 fs/f2fs/node.c                          |  33 ++--
 fs/f2fs/recovery.c                      |  12 +-
 fs/f2fs/segment.c                       |  54 +++---
 fs/f2fs/segment.h                       |   2 +-
 fs/f2fs/shrinker.c                      |   2 +-
 fs/f2fs/super.c                         |  89 +++++----
 fs/f2fs/sysfs.c                         |  50 +++--
 fs/f2fs/xattr.c                         |  67 +++++--
 fs/f2fs/xattr.h                         |   9 +-
 include/linux/f2fs_fs.h                 |   1 +
 include/trace/events/f2fs.h             |   3 +-
 24 files changed, 820 insertions(+), 428 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Mon, 6 Apr 2020 20:02:42 -0700:

The pull request you sent on Mon, 6 Apr 2020 20:02:42 -0700:

Quoted 1 line

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

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

Thank you!

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