f2fs update for 5.16-rc1
Hi Linus,
Could you please consider this pull request?
Thanks,
The following changes since commit ff1ffd71d5f0612cf194f5705c671d6b64bf5f91:
Merge tag 'hyperv-fixes-signed-20210915' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux (2021-09-15 17:18:56 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git tags/f2fs-for-5.16-rc1
for you to fetch changes up to 5429c9dbc9025f9a166f64e22e3a69c94fd5b29b:
f2fs: fix UAF in f2fs_available_free_memory (2021-11-09 08:23:17 -0800)
----------------------------------------------------------------
f2fs-for-5.16-rc1
In this cycle, we've applied relatively small number of patches which fix subtle corner cases mainly, while introducing a new mount option to be able to fragment the disk intentionally for performance tests.
Enhancement:
- add a mount option to fragmente on-disk layout to understand the performance
- support direct IO for multi-partitions
- add a fault injection of dquot_initialize
Bug fix:
- address some lockdep complaints
- fix a deadlock issue with quota
- fix a memory tuning condition
- fix compression condition to improve the ratio
- fix disabling compression on the non-empty compressed file
- invalidate cached pages before IPU/DIO writes
And, we've added some minor clean-ups as usual.
----------------------------------------------------------------
Chao Yu (7):
f2fs: quota: fix potential deadlock
f2fs: avoid attaching SB_ACTIVE flag during mount
f2fs: introduce excess_dirty_threshold()
f2fs: fix wrong condition to trigger background checkpoint correctly
f2fs: multidevice: support direct IO
f2fs: fix incorrect return value in f2fs_sanity_check_ckpt()
f2fs: support fault injection for dquot_initialize()
Daeho Jeong (2):
f2fs: include non-compressed blocks in compr_written_block
f2fs: introduce fragment allocation mode mount option
Dongliang Mu (1):
f2fs: fix UAF in f2fs_available_free_memory
Fengnan Chang (1):
f2fs: compress: fix overwrite may reduce compress ratio unproperly
Gao Xiang (1):
f2fs: fix up f2fs_lookup tracepoints
Hyeong-Jun Kim (2):
f2fs: compress: disallow disabling compress on non-empty compressed file
f2fs: invalidate META_MAPPING before IPU/DIO write
Jaegeuk Kim (1):
f2fs: should use GFP_NOFS for directory inodes
Keoseong Park (1):
f2fs: fix to use WHINT_MODE
Qing Wang (1):
f2fs: replace snprintf in show functions with sysfs_emit
Weichao Guo (1):
f2fs: set SBI_NEED_FSCK flag when inconsistent node block found
Documentation/ABI/testing/sysfs-fs-f2fs | 16 ++++++ Documentation/filesystems/f2fs.rst | 19 +++++++ fs/f2fs/checkpoint.c | 8 ++- fs/f2fs/compress.c | 20 +++++++ fs/f2fs/data.c | 95 +++++++++++++++++++++++++-------- fs/f2fs/f2fs.h | 54 ++++++++++++++++--- fs/f2fs/file.c | 6 +-- fs/f2fs/gc.c | 5 +- fs/f2fs/inline.c | 2 +- fs/f2fs/inode.c | 4 +- fs/f2fs/namei.c | 32 +++++------ fs/f2fs/node.c | 1 + fs/f2fs/node.h | 5 -- fs/f2fs/recovery.c | 14 ++--- fs/f2fs/segment.c | 83 +++++++++++++++++++++------- fs/f2fs/segment.h | 1 + fs/f2fs/super.c | 39 +++++++++++++- fs/f2fs/sysfs.c | 24 ++++++++- fs/f2fs/verity.c | 2 +- fs/f2fs/xattr.c | 2 +- include/trace/events/f2fs.h | 33 ++++++++---- 21 files changed, 359 insertions(+), 106 deletions(-)
So question on the direct I/O code. The perfectly fine iomap code wasn't merged because of the pre-existing stale data exposure issuewith f2fs direct I/O low-level implementation. This doesn't seem to be fixed or even worked around, but instead we do get new direct I/O features?
Quoted 93 lines · Jaegeuk Kim
Hi Linus,
Could you please consider this pull request?
Thanks,
The following changes since commit
ff1ffd71d5f0612cf194f5705c671d6b64bf5f91:Merge tag 'hyperv-fixes-signed-20210915' of
git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux(2021-09-15 17:18:56 -0700)are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.gittags/f2fs-for-5.16-rc1for you to fetch changes up to
5429c9dbc9025f9a166f64e22e3a69c94fd5b29b:f2fs: fix UAF in
f2fs_available_free_memory(2021-11-09 08:23:17 -0800)----------------------------------------------------------------
f2fs-for-5.16-rc1In this cycle, we've applied relatively small number of patches which fix subtle corner cases mainly, while introducing a new mount option to be able to fragment the disk intentionally for performance tests.
Enhancement:
- add a mount option to fragmente on-disk layout to understand the performance
- support direct IO for multi-partitions
- add a fault injection ofdquot_initializeBug fix:
- address some lockdep complaints
- fix a deadlock issue with quota
- fix a memory tuning condition
- fix compression condition to improve the ratio
- fix disabling compression on the non-empty compressed file
- invalidate cached pages before IPU/DIO writesAnd, we've added some minor clean-ups as usual.
----------------------------------------------------------------
Chao Yu (7):
f2fs: quota: fix potential deadlock
f2fs: avoid attachingSB_ACTIVEflag during mount
f2fs: introduceexcess_dirty_threshold()
f2fs: fix wrong condition to trigger background checkpoint correctly
f2fs: multidevice: support direct IO
f2fs: fix incorrect return value inf2fs_sanity_check_ckpt()
f2fs: support fault injection fordquot_initialize()Daeho Jeong (2):
f2fs: include non-compressed blocks incompr_written_block
f2fs: introduce fragment allocation mode mount optionDongliang Mu (1):
f2fs: fix UAF inf2fs_available_free_memoryFengnan Chang (1):
f2fs: compress: fix overwrite may reduce compress ratio unproperlyGao Xiang (1):
f2fs: fix upf2fs_lookuptracepointsHyeong-Jun Kim (2):
f2fs: compress: disallow disabling compress on non-empty compressed file
f2fs: invalidateMETA_MAPPINGbefore IPU/DIO writeJaegeuk Kim (1):
f2fs: should useGFP_NOFSfor directory inodesKeoseong Park (1):
f2fs: fix to useWHINT_MODEQing Wang (1):
f2fs: replace snprintf in show functions withsysfs_emitWeichao Guo (1):
f2fs: setSBI_NEED_FSCKflag when inconsistent node block foundDocumentation/ABI/testing/sysfs-fs-f2fs | 16 ++++++ Documentation/filesystems/f2fs.rst | 19 +++++++ fs/f2fs/checkpoint.c | 8 ++- fs/f2fs/compress.c | 20 +++++++ fs/f2fs/data.c | 95 +++++++++++++++++++++++++-------- fs/f2fs/f2fs.h | 54 ++++++++++++++++--- fs/f2fs/file.c | 6 +-- fs/f2fs/gc.c | 5 +- fs/f2fs/inline.c | 2 +- fs/f2fs/inode.c | 4 +- fs/f2fs/namei.c | 32 +++++------ fs/f2fs/node.c | 1 + fs/f2fs/node.h | 5 -- fs/f2fs/recovery.c | 14 ++---
Quoted 8 lines
fs/f2fs/segment.c | 83 +++++++++++++++++++++------- fs/f2fs/segment.h | 1 + fs/f2fs/super.c | 39 +++++++++++++- fs/f2fs/sysfs.c | 24 ++++++++- fs/f2fs/verity.c | 2 +- fs/f2fs/xattr.c | 2 +- include/trace/events/f2fs.h | 33 ++++++++---- 21 files changed, 359 insertions(+), 106 deletions(-)
---end quoted text---
Quoted 4 lines · Christoph Hellwig
So question on the direct I/O code. The perfectly fine iomap code wasn't merged because of the pre-existing stale data exposure issuewith f2fs direct I/O low-level implementation. This doesn't seem to be fixed or even worked around, but instead we do get new direct I/O features?
No worries. I'm working on the fix and will apply the Eric's patches on top of this change.
Quoted 104 lines · Jaegeuk Kim
Quoted 93 lines
Hi Linus,
Could you please consider this pull request?
Thanks,
The following changes since commit
ff1ffd71d5f0612cf194f5705c671d6b64bf5f91:Merge tag 'hyperv-fixes-signed-20210915' of
git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux(2021-09-15 17:18:56 -0700)are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.gittags/f2fs-for-5.16-rc1for you to fetch changes up to
5429c9dbc9025f9a166f64e22e3a69c94fd5b29b:f2fs: fix UAF in
f2fs_available_free_memory(2021-11-09 08:23:17 -0800)----------------------------------------------------------------
f2fs-for-5.16-rc1In this cycle, we've applied relatively small number of patches which fix subtle corner cases mainly, while introducing a new mount option to be able to fragment the disk intentionally for performance tests.
Enhancement:
- add a mount option to fragmente on-disk layout to understand the performance
- support direct IO for multi-partitions
- add a fault injection ofdquot_initializeBug fix:
- address some lockdep complaints
- fix a deadlock issue with quota
- fix a memory tuning condition
- fix compression condition to improve the ratio
- fix disabling compression on the non-empty compressed file
- invalidate cached pages before IPU/DIO writesAnd, we've added some minor clean-ups as usual.
----------------------------------------------------------------
Chao Yu (7):
f2fs: quota: fix potential deadlock
f2fs: avoid attachingSB_ACTIVEflag during mount
f2fs: introduceexcess_dirty_threshold()
f2fs: fix wrong condition to trigger background checkpoint correctly
f2fs: multidevice: support direct IO
f2fs: fix incorrect return value inf2fs_sanity_check_ckpt()
f2fs: support fault injection fordquot_initialize()Daeho Jeong (2):
f2fs: include non-compressed blocks incompr_written_block
f2fs: introduce fragment allocation mode mount optionDongliang Mu (1):
f2fs: fix UAF inf2fs_available_free_memoryFengnan Chang (1):
f2fs: compress: fix overwrite may reduce compress ratio unproperlyGao Xiang (1):
f2fs: fix upf2fs_lookuptracepointsHyeong-Jun Kim (2):
f2fs: compress: disallow disabling compress on non-empty compressed file
f2fs: invalidateMETA_MAPPINGbefore IPU/DIO writeJaegeuk Kim (1):
f2fs: should useGFP_NOFSfor directory inodesKeoseong Park (1):
f2fs: fix to useWHINT_MODEQing Wang (1):
f2fs: replace snprintf in show functions withsysfs_emitWeichao Guo (1):
f2fs: setSBI_NEED_FSCKflag when inconsistent node block foundDocumentation/ABI/testing/sysfs-fs-f2fs | 16 ++++++ Documentation/filesystems/f2fs.rst | 19 +++++++ fs/f2fs/checkpoint.c | 8 ++- fs/f2fs/compress.c | 20 +++++++ fs/f2fs/data.c | 95 +++++++++++++++++++++++++-------- fs/f2fs/f2fs.h | 54 ++++++++++++++++--- fs/f2fs/file.c | 6 +-- fs/f2fs/gc.c | 5 +- fs/f2fs/inline.c | 2 +- fs/f2fs/inode.c | 4 +- fs/f2fs/namei.c | 32 +++++------ fs/f2fs/node.c | 1 + fs/f2fs/node.h | 5 -- fs/f2fs/recovery.c | 14 ++---Quoted 8 lines
fs/f2fs/segment.c | 83 +++++++++++++++++++++------- fs/f2fs/segment.h | 1 + fs/f2fs/super.c | 39 +++++++++++++- fs/f2fs/sysfs.c | 24 ++++++++- fs/f2fs/verity.c | 2 +- fs/f2fs/xattr.c | 2 +- include/trace/events/f2fs.h | 33 ++++++++---- 21 files changed, 359 insertions(+), 106 deletions(-)---end quoted text---
The pull request you sent on Wed, 10 Nov 2021 20:11:10 -0800:
The pull request you sent on Wed, 10 Nov 2021 20:11:10 -0800:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.gittags/f2fs-for-5.16-rc1
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/5664896ba29e6d8c60b6a73564d0a97d380c0f92
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html