# 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/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 c0927a7a5391f7d8e593e5e50ead7505a23cadf9 # < make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allyesconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 allyesconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_KCOV=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # Added to kconfig CONFIG_GCC_PLUGIN_STRUCTLEAK=n # Added to kconfig CONFIG_GCC_PLUGIN_RANDSTRUCT=n # Added to kconfig CONFIG_UML_NET=n # Added to kconfig CONFIG_UML_NET_ETHERTAP=n # Added to kconfig CONFIG_UML_NET_TUNTAP=n # Added to kconfig CONFIG_UML_NET_SLIP=n # Added to kconfig CONFIG_UML_NET_DAEMON=n # Added to kconfig CONFIG_UML_NET_VDE=n # Added to kconfig CONFIG_UML_NET_MCAST=n # Added to kconfig CONFIG_UML_NET_PCAP=n # Added to kconfig CONFIG_UML_NET_SLIRP=n # Added to kconfig CONFIG_GCOV_KERNEL=n # Added to kconfig CONFIG_DEBUG_INFO_BTF=n # Added to kconfig CONFIG_BPF_PRELOAD=n # < make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allyesconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 help # make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allyesconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 olddefconfig .config:12937:warning: override: reassigning to symbol GCC_PLUGIN_LATENT_ENTROPY .config:12941:warning: override: reassigning to symbol UML_NET_ETHERTAP .config:12943:warning: override: reassigning to symbol UML_NET_SLIP .config:12946:warning: override: reassigning to symbol UML_NET_MCAST .config:12948:warning: override: reassigning to symbol UML_NET_SLIRP # make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allyesconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 /kisskb/src/drivers/spi/spi-stm32-qspi.c: In function 'stm32_qspi_dirmap_read': /kisskb/src/drivers/spi/spi-stm32-qspi.c:523:27: error: 'op' is used uninitialized [-Werror=uninitialized] 523 | struct spi_mem_op op; | ^~ /kisskb/src/drivers/spi/spi-stm32-qspi.c:523:27: note: 'op' declared here 523 | struct spi_mem_op op; | ^~ /kisskb/src/drivers/spi/spi-stm32-qspi.c: In function 'stm32_qspi_transfer_one_message': /kisskb/src/drivers/spi/spi-stm32-qspi.c:564:27: error: 'op' is used uninitialized [-Werror=uninitialized] 564 | struct spi_mem_op op; | ^~ /kisskb/src/drivers/spi/spi-stm32-qspi.c:564:27: note: 'op' declared here 564 | struct spi_mem_op op; | ^~ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:252: drivers/spi/spi-stm32-qspi.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:494: drivers/spi] Error 2 make[3]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/arch/x86/um/asm/processor.h:41, from /kisskb/src/include/linux/mutex.h:19, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/pci.h:35, from /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:26: /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c: In function 'kfd_cpumask_to_apic_id': /kisskb/src/arch/um/include/asm/processor-generic.h:94:19: error: called object is not a function or function pointer 94 | #define cpu_data (&boot_cpu_data) | ~^~~~~~~~~~~~~~~ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:2157:16: note: in expansion of macro 'cpu_data' 2157 | return cpu_data(first_cpu_of_numa_node).apicid; | ^~~~~~~~ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:2161:1: error: control reaches end of non-void function [-Werror=return-type] 2161 | } | ^ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:252: drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:494: drivers/gpu/drm/amd/amdgpu] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:494: drivers/gpu/drm] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:494: drivers/gpu] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:494: drivers] Error 2 make[1]: *** [/kisskb/src/Makefile:2028: .] Error 2 make: *** [Makefile:226: __sub-make] Error 2 Command 'make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allyesconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_um-allyesconfig_um-x86_64-gcc12 # Build took: 0:13:08.787271