# git rev-parse -q --verify c0927a7a5391f7d8e593e5e50ead7505a23cadf9^{commit} c0927a7a5391f7d8e593e5e50ead7505a23cadf9 already have revision, skipping fetch # git checkout -q -f -B kisskb c0927a7a5391f7d8e593e5e50ead7505a23cadf9 # git clean -qxdf # < git log -1 # commit c0927a7a5391f7d8e593e5e50ead7505a23cadf9 # Merge: 1899946aaf25 6e2985c938e8 # Author: Linus Torvalds # Date: Tue Feb 28 16:08:30 2023 -0800 # # Merge tag 'xfs-6.3-merge-4' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux # # Pull moar xfs updates from Darrick Wong: # "This contains a fix for a deadlock in the allocator. It continues the # slow march towards being able to offline AGs, and it refactors the # interface to the xfs allocator to be less indirection happy. # # Summary: # # - Fix a deadlock in the free space allocator due to the AG-walking # algorithm forgetting to follow AG-order locking rules # # - Make the inode allocator prefer existing free inodes instead of # failing to allocate new inode chunks when free space is low # # - Set minleft correctly when setting allocator parameters for bmap # changes # # - Fix uninitialized variable access in the getfsmap code # # - Make a distinction between active and passive per-AG structure # references. For now, active references are taken to perform some # work in an AG on behalf of a high level operation; passive # references are used by lower level code to finish operations # started by other threads. Eventually this will become part of # online shrink # # - Split out all the different allocator strategies into separate # functions to move us away from design antipattern of filling out a # huge structure for various differentish things and issuing a single # function multiplexing call # # - Various cleanups in the filestreams allocator code, which we might # very well want to deprecate instead of continuing # # - Fix a bug with the agi rotor code that was introduced earlier in # this series" # # * tag 'xfs-6.3-merge-4' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux: (44 commits) # xfs: restore old agirotor behavior # xfs: fix uninitialized variable access # xfs: refactor the filestreams allocator pick functions # xfs: return a referenced perag from filestreams allocator # xfs: pass perag to filestreams tracing # xfs: use for_each_perag_wrap in xfs_filestream_pick_ag # xfs: track an active perag reference in filestreams # xfs: factor out MRU hit case in xfs_filestream_select_ag # xfs: remove xfs_filestream_select_ag() longest extent check # xfs: merge new filestream AG selection into xfs_filestream_select_ag() # xfs: merge filestream AG lookup into xfs_filestream_select_ag() # xfs: move xfs_bmap_btalloc_filestreams() to xfs_filestreams.c # xfs: use xfs_bmap_longest_free_extent() in filestreams # xfs: get rid of notinit from xfs_bmap_longest_free_extent # xfs: factor out filestreams from xfs_bmap_btalloc_nullfb # xfs: convert trim to use for_each_perag_range # xfs: convert xfs_alloc_vextent_iterate_ags() to use perag walker # xfs: move the minimum agno checks into xfs_alloc_vextent_check_args # xfs: fold xfs_alloc_ag_vextent() into callers # xfs: move allocation accounting to xfs_alloc_vextent_set_fsbno() # ... # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 c0927a7a5391f7d8e593e5e50ead7505a23cadf9 # < make -s -j 160 ARCH=sh O=/kisskb/build/linus_se7619_defconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- se7619_defconfig # < make -s -j 160 ARCH=sh O=/kisskb/build/linus_se7619_defconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- help # make -s -j 160 ARCH=sh O=/kisskb/build/linus_se7619_defconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- olddefconfig # make -s -j 160 ARCH=sh O=/kisskb/build/linus_se7619_defconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h :1517:2: warning: #warning syscall clone3 not implemented [-Wcpp] In file included from /kisskb/src/arch/sh/include/asm/hw_irq.h:6, from /kisskb/src/include/linux/irq.h:596, from /kisskb/src/include/asm-generic/hardirq.h:17, from /kisskb/src/arch/sh/include/asm/hardirq.h:9, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/serial_core.h:13, from /kisskb/src/include/linux/serial_sci.h:6, from /kisskb/src/arch/sh/kernel/cpu/sh2/setup-sh7619.c:11: /kisskb/src/include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /kisskb/src/include/linux/sh_intc.h:105:31: note: in expansion of macro '_INTC_ARRAY' 105 | _INTC_ARRAY(vectors), _INTC_ARRAY(groups), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:124:15: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/sh2/setup-sh7619.c:58:8: note: in expansion of macro 'DECLARE_INTC_DESC' 58 | static DECLARE_INTC_DESC(intc_desc, "sh7619", vectors, NULL, | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /kisskb/src/include/linux/sh_intc.h:106:9: note: in expansion of macro '_INTC_ARRAY' 106 | _INTC_ARRAY(mask_regs), _INTC_ARRAY(prio_regs), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:124:15: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/sh2/setup-sh7619.c:58:8: note: in expansion of macro 'DECLARE_INTC_DESC' 58 | static DECLARE_INTC_DESC(intc_desc, "sh7619", vectors, NULL, | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /kisskb/src/include/linux/sh_intc.h:107:9: note: in expansion of macro '_INTC_ARRAY' 107 | _INTC_ARRAY(sense_regs), _INTC_ARRAY(ack_regs), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:124:15: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/sh2/setup-sh7619.c:58:8: note: in expansion of macro 'DECLARE_INTC_DESC' 58 | static DECLARE_INTC_DESC(intc_desc, "sh7619", vectors, NULL, | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /kisskb/src/include/linux/sh_intc.h:107:34: note: in expansion of macro '_INTC_ARRAY' 107 | _INTC_ARRAY(sense_regs), _INTC_ARRAY(ack_regs), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:124:15: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/sh2/setup-sh7619.c:58:8: note: in expansion of macro 'DECLARE_INTC_DESC' 58 | static DECLARE_INTC_DESC(intc_desc, "sh7619", vectors, NULL, | ^~~~~~~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/linus_se7619_defconfig_sh4-gcc11 # Build took: 0:00:29.625008