-
- Downloads
Merge tag 'f2fs-for-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs
Pull f2fs updates from Jaegeuk Kim: "In this round, we've mainly focused on discard, aka unmap, control along with fstrim for Android-specific usage model. In addition, we've fixed writepage flow which returned EAGAIN previously resulting in EIO of fsync(2) due to mapping's error state. In order to avoid old MM bug [1], we decided not to use __GFP_ZERO for the mapping for node and meta page caches. As always, we've cleaned up many places for future fsverity and symbol conflicts. Enhancements: - do discard/fstrim in lower priority considering fs utilization - split large discard commands into smaller ones for better responsiveness - add more sanity checks to address syzbot reports - add a mount option, fsync_mode=nobarrier, which can reduce # of cache flushes - clean up symbol namespace with modified function names - be strict on block allocation and IO control in corner cases Bug fixes: - don't use __GFP_ZERO for mappings - fix error reports in writepage to avoid fsync() failure - avoid selinux denial on CAP_RESOURCE on resgid/resuid - fix some subtle race conditions in GC/atomic writes/shutdown - fix overflow bugs in sanity_check_raw_super - fix missing bits on get_flags Clean-ups: - prepare the generic flow for future fsverity integration - fix some broken coding standard" [1] https://lkml.org/lkml/2018/4/8/661 * tag 'f2fs-for-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (79 commits) f2fs: fix to clear FI_VOLATILE_FILE correctly f2fs: let sync node IO interrupt async one f2fs: don't change wbc->sync_mode f2fs: fix to update mtime correctly fs: f2fs: insert space around that ':' and ', ' fs: f2fs: add missing blank lines after declarations fs: f2fs: changed variable type of offset "unsigned" to "loff_t" f2fs: clean up symbol namespace f2fs: make set_de_type() static f2fs: make __f2fs_write_data_pages() static f2fs: fix to avoid accessing cross the boundary f2fs: fix to let caller retry allocating block address disable loading f2fs module on PAGE_SIZE > 4KB f2fs: fix error path of move_data_page f2fs: don't drop dentry pages after fs shutdown f2fs: fix to avoid race during access gc_thread pointer f2fs: clean up with clear_radix_tree_dirty_tag f2fs: fix to don't trigger writeback during recovery f2fs: clear discard_wake earlier f2fs: let discard thread wait a little longer if dev is busy ...
No related branches found
No related tags found
Showing
- Documentation/ABI/testing/sysfs-fs-f2fs 2 additions, 1 deletionDocumentation/ABI/testing/sysfs-fs-f2fs
- Documentation/filesystems/f2fs.txt 9 additions, 7 deletionsDocumentation/filesystems/f2fs.txt
- fs/crypto/bio.c 22 additions, 13 deletionsfs/crypto/bio.c
- fs/crypto/crypto.c 7 additions, 1 deletionfs/crypto/crypto.c
- fs/crypto/fscrypt_private.h 0 additions, 1 deletionfs/crypto/fscrypt_private.h
- fs/ext4/readpage.c 1 addition, 1 deletionfs/ext4/readpage.c
- fs/f2fs/checkpoint.c 78 additions, 71 deletionsfs/f2fs/checkpoint.c
- fs/f2fs/data.c 239 additions, 160 deletionsfs/f2fs/data.c
- fs/f2fs/debug.c 6 additions, 0 deletionsfs/f2fs/debug.c
- fs/f2fs/dir.c 35 additions, 41 deletionsfs/f2fs/dir.c
- fs/f2fs/extent_cache.c 11 additions, 11 deletionsfs/f2fs/extent_cache.c
- fs/f2fs/f2fs.h 268 additions, 192 deletionsfs/f2fs/f2fs.h
- fs/f2fs/file.c 177 additions, 158 deletionsfs/f2fs/file.c
- fs/f2fs/gc.c 101 additions, 82 deletionsfs/f2fs/gc.c
- fs/f2fs/gc.h 0 additions, 2 deletionsfs/f2fs/gc.h
- fs/f2fs/inline.c 37 additions, 41 deletionsfs/f2fs/inline.c
- fs/f2fs/inode.c 70 additions, 45 deletionsfs/f2fs/inode.c
- fs/f2fs/namei.c 37 additions, 30 deletionsfs/f2fs/namei.c
- fs/f2fs/node.c 154 additions, 131 deletionsfs/f2fs/node.c
- fs/f2fs/recovery.c 32 additions, 33 deletionsfs/f2fs/recovery.c
Loading
Please register or sign in to comment