# git rev-parse -q --verify 041fae9c105ae342a4245cf1e0dc56a23fbb9d3c^{commit} 041fae9c105ae342a4245cf1e0dc56a23fbb9d3c already have revision, skipping fetch # git checkout -q -f -B kisskb 041fae9c105ae342a4245cf1e0dc56a23fbb9d3c # git clean -qxdf # < git log -1 # commit 041fae9c105ae342a4245cf1e0dc56a23fbb9d3c # Merge: eb67d239f3aa 26a8057a1ada # Author: Linus Torvalds # Date: Wed Dec 14 15:27:57 2022 -0800 # # Merge tag 'f2fs-for-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs # # Pull f2fs updates from Jaegeuk Kim: # "In this round, we've added two features: F2FS_IOC_START_ATOMIC_REPLACE # and a per-block age-based extent cache. # # F2FS_IOC_START_ATOMIC_REPLACE is a variant of the previous atomic # write feature which guarantees a per-file atomicity. It would be more # efficient than AtomicFile implementation in Android framework. # # The per-block age-based extent cache implements another type of extent # cache in memory which keeps the per-block age in a file, so that block # allocator could split the hot and cold data blocks more accurately. # # Enhancements: # - introduce F2FS_IOC_START_ATOMIC_REPLACE # - refactor extent_cache to add a new per-block-age-based extent cache support # - introduce discard_urgent_util, gc_mode, max_ordered_discard sysfs knobs # - add proc entry to show discard_plist info # - optimize iteration over sparse directories # - add barrier mount option # # Bug fixes: # - avoid victim selection from previous victim section # - fix to enable compress for newly created file if extension matches # - set zstd compress level correctly # - initialize locks early in f2fs_fill_super() to fix bugs reported by syzbot # - correct i_size change for atomic writes # - allow to read node block after shutdown # - allow to set compression for inlined file # - fix gc mode when gc_urgent_high_remaining is 1 # - should put a page when checking the summary info # # Minor fixes and various clean-ups in GC, discard, debugfs, sysfs, and # doc" # # * tag 'f2fs-for-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (63 commits) # f2fs: reset wait_ms to default if any of the victims have been selected # f2fs: fix some format WARNING in debug.c and sysfs.c # f2fs: don't call f2fs_issue_discard_timeout() when discard_cmd_cnt is 0 in f2fs_put_super() # f2fs: fix iostat parameter for discard # f2fs: Fix spelling mistake in label: free_bio_enrty_cache -> free_bio_entry_cache # f2fs: add block_age-based extent cache # f2fs: allocate the extent_cache by default # f2fs: refactor extent_cache to support for read and more # f2fs: remove unnecessary __init_extent_tree # f2fs: move internal functions into extent_cache.c # f2fs: specify extent cache for read explicitly # f2fs: introduce f2fs_is_readonly() for readability # f2fs: remove F2FS_SET_FEATURE() and F2FS_CLEAR_FEATURE() macro # f2fs: do some cleanup for f2fs module init # MAINTAINERS: Add f2fs bug tracker link # f2fs: remove the unused flush argument to change_curseg # f2fs: open code allocate_segment_by_default # f2fs: remove struct segment_allocation default_salloc_ops # f2fs: introduce discard_urgent_util sysfs node # f2fs: define MIN_DISCARD_GRANULARITY macro # ... # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux-ld --version # < git log --format=%s --max-count=1 041fae9c105ae342a4245cf1e0dc56a23fbb9d3c # < make -s -j 24 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux- sun3_defconfig # < make -s -j 24 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 24 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig # make -s -j 24 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux- In file included from /kisskb/src/include/linux/swab.h:5, from /kisskb/src/include/uapi/linux/byteorder/big_endian.h:14, from /kisskb/src/include/linux/byteorder/big_endian.h:5, from /kisskb/src/arch/m68k/include/uapi/asm/byteorder.h:5, from /kisskb/src/include/asm-generic/bitops/le.h:6, from /kisskb/src/arch/m68k/include/asm/bitops.h:545, from /kisskb/src/include/linux/bitops.h:68, from /kisskb/src/include/linux/kernel.h:22, from /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:31: /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c: In function 'sun3_82586_timeout': /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:989:108: warning: array subscript 1 is above array bounds of 'volatile struct transmit_cmd_struct *[1]' [-Warray-bounds] printk("%s: command-stats: %04x %04x\n",dev->name,swab16(p->xmit_cmds[0]->cmd_status),swab16(p->xmit_cmds[1]->cmd_status)); ~~~~~~~~~~~~^~~ /kisskb/src/include/uapi/linux/swab.h:107:12: note: in definition of macro '__swab16' __fswab16(x)) ^ /kisskb/src/include/linux/printk.h:457:26: note: in expansion of macro 'printk_index_wrap' #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:989:3: note: in expansion of macro 'printk' printk("%s: command-stats: %04x %04x\n",dev->name,swab16(p->xmit_cmds[0]->cmd_status),swab16(p->xmit_cmds[1]->cmd_status)); ^~~~~~ Completed OK # rm -rf /kisskb/build/linus_sun3_defconfig_m68k-gcc8 # Build took: 0:03:13.534820