ci2 starts bisection 2024-11-23 17:10:19.805528156 +0000 UTC m=+69133.096594216 bisecting cause commit starting from 228a1157fb9fec47eb135b51c0202b574e079ebf building syzkaller on 68da6d951a345757b69b764ceb8dda1e9d65b038 ensuring issue is reproducible on original commit 228a1157fb9fec47eb135b51c0202b574e079ebf testing commit 228a1157fb9fec47eb135b51c0202b574e079ebf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1481df28629bca8b1afbb0efa8acd52b6a2ab46b28cfa5cb66e095a06e15cace all runs: crashed: WARNING in f2fs_rename2 representative crash: WARNING in f2fs_rename2, types: [WARNING] check whether we can drop unnecessary instrumentation disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN KASAN LOCKDEP], they are not needed testing commit 228a1157fb9fec47eb135b51c0202b574e079ebf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c2d2aaeced7a36f00b3eac99ae89ad2d93d6c1ed522cfc516d9d2eae91fdf71d all runs: crashed: WARNING in f2fs_rename2 representative crash: WARNING in f2fs_rename2, types: [WARNING] the bug reproduces without the instrumentation disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed kconfig minimization: base=4037 full=8220 leaves diff=2120 split chunks (needed=false): <2120> split chunk #0 of len 2120 into 5 parts testing without sub-chunk 1/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 228a1157fb9fec47eb135b51c0202b574e079ebf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1555cac8901bdb4c0597a4bc41e8c96be643483a57d49452d3bd3733f9d7429f all runs: crashed: WARNING in f2fs_rename2 representative crash: WARNING in f2fs_rename2, types: [WARNING] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 228a1157fb9fec47eb135b51c0202b574e079ebf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 228a1157fb9fec47eb135b51c0202b574e079ebf: drivers/gpu/drm/bridge/aux-bridge.c:116: undefined reference to `devm_drm_of_get_bridge' testing without sub-chunk 3/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN KASAN LOCKDEP], they are not needed testing commit 228a1157fb9fec47eb135b51c0202b574e079ebf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ae3942aa6f48352606643a89502621f315ba94ccc583b04f9f8cd7137e995ea6 all runs: crashed: WARNING in f2fs_rename2 representative crash: WARNING in f2fs_rename2, types: [WARNING] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 228a1157fb9fec47eb135b51c0202b574e079ebf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1e44d924d34f6e378279c15b6c873672877f8c58d00b9d215f6d1f2f181102ca all runs: crashed: WARNING in f2fs_rename2 representative crash: WARNING in f2fs_rename2, types: [WARNING] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN KASAN LOCKDEP], they are not needed testing commit 228a1157fb9fec47eb135b51c0202b574e079ebf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9fe99b1b2e27f7c7b5f6d26ad9d006b9f5f4088ee47bf5361d129a4ff4913fbb all runs: crashed: WARNING in f2fs_rename2 representative crash: WARNING in f2fs_rename2, types: [WARNING] the chunk can be dropped minimized to 424 configs; suspects: [6LOWPAN ARCH_ENABLE_MEMORY_HOTREMOVE ASUS_WMI CHARGER_BQ24190 CMA COMMON_CLK DAX DLM DRM DRM_BRIDGE DRM_MIPI_DSI DRM_PANEL DRM_PANEL_BRIDGE DRM_PANEL_EDP DRM_PANEL_ORIENTATION_QUIRKS DRM_SIMPLEDRM DRM_TTM DRM_TTM_HELPER DRM_UDL DRM_VGEM DRM_VIRTIO_GPU DRM_VIRTIO_GPU_KMS DRM_VKMS DRM_VMWGFX DUMMY DVB_AF9013 DVB_AF9033 DVB_AS102 DVB_AS102_FE DVB_B2C2_FLEXCOP DVB_B2C2_FLEXCOP_USB DVB_CORE DVB_DIB3000MB DVB_DIB3000MC DVB_EC100 DVB_GP8PSK_FE DVB_RTL2830 DVB_RTL2832 DVB_RTL2832_SDR DVB_TEST_DRIVERS DVB_TTUSB_BUDGET DVB_TTUSB_DEC DVB_USB DVB_USB_A800 DVB_USB_AF9005 DVB_USB_AF9005_REMOTE DVB_USB_AF9015 DVB_USB_AF9035 DVB_USB_ANYSEE DVB_USB_AU6610 DVB_USB_AZ6007 DVB_USB_AZ6027 DVB_USB_CE6230 DVB_USB_CINERGY_T2 DVB_USB_CXUSB DVB_USB_CXUSB_ANALOG DVB_USB_DIB0700 DVB_USB_DIB3000MC DVB_USB_DIBUSB_MB DVB_USB_DIBUSB_MC DVB_USB_DIGITV DVB_USB_DTT200U DVB_USB_DTV5100 DVB_USB_DVBSKY DVB_USB_DW2102 DVB_USB_EC168 DVB_USB_GL861 DVB_USB_GP8PSK DVB_USB_LME2510 DVB_USB_M920X DVB_USB_MXL111SF DVB_USB_NOVA_T_USB2 DVB_USB_OPERA1 DVB_USB_PCTV452E DVB_USB_RTL28XXU DVB_USB_TECHNISAT_USB2 DVB_USB_TTUSB2 DVB_USB_UMT_010 DVB_USB_V2 DVB_USB_VP702X DVB_USB_VP7045 DVB_USB_ZD1301 DVB_VIDTV DVB_ZL10353 ECRYPT_FS ECRYPT_FS_MESSAGING EDAC EEPROM_93CX6 EFS_FS ENCRYPTED_KEYS EQUALIZER EROFS_FS EROFS_FS_BACKED_BY_FILE EROFS_FS_POSIX_ACL EROFS_FS_SECURITY EROFS_FS_XATTR EROFS_FS_ZIP EVM EVM_ADD_XATTRS EVM_ATTR_FSUUID EVM_EXTRA_SMACK_XATTRS EXFAT_FS EXPORTFS_BLOCK_OPS EXT3_FS EXT3_FS_POSIX_ACL EXT3_FS_SECURITY EXTCON EXTCON_INTEL_CHT_WC EXTCON_PTN5150 EXTCON_USBC_TUSB320 F2FS_CHECK_FS F2FS_FAULT_INJECTION F2FS_FS F2FS_FS_COMPRESSION F2FS_FS_LZ4 F2FS_FS_LZ4HC F2FS_FS_LZO F2FS_FS_LZORLE F2FS_FS_POSIX_ACL F2FS_FS_SECURITY F2FS_FS_XATTR F2FS_FS_ZSTD F2FS_STAT_FS FANOTIFY FANOTIFY_ACCESS_PERMISSIONS FB FB_CFB_COPYAREA FB_CFB_FILLRECT FB_CFB_IMAGEBLIT FB_CORE FB_DEFERRED_IO FB_DEVICE FB_IOMEM_FOPS FB_IOMEM_HELPERS FB_NOTIFY FB_SYSMEM_FOPS FB_SYSMEM_HELPERS FB_SYSMEM_HELPERS_DEFERRED FB_SYS_COPYAREA FB_SYS_FILLRECT FB_SYS_IMAGEBLIT FB_TILEBLITTING FB_VESA FB_VGA16 FB_VIRTUAL FDDI FIREWIRE FIREWIRE_NET FIREWIRE_OHCI FIREWIRE_SBP2 FONT_8x16 FONT_8x8 FONT_SUPPORT FRAMEBUFFER_CONSOLE FRAMEBUFFER_CONSOLE_DETECT_PRIMARY FRAMEBUFFER_CONSOLE_ROTATION FS_DAX FS_DAX_PMD FS_ENCRYPTION FS_ENCRYPTION_ALGS FS_STACK FS_VERITY FS_VERITY_BUILTIN_SIGNATURES FTL FUSE_DAX FUSE_FS FW_LOADER_COMPRESS FW_LOADER_PAGED_BUF FW_LOADER_SYSFS FW_LOADER_USER_HELPER FW_LOADER_USER_HELPER_FALLBACK GACT_PROB GARP GENERIC_PHY GET_FREE_REGION GFS2_FS GFS2_FS_LOCKING_DLM GNSS GNSS_USB GOOGLE_COREBOOT_TABLE GOOGLE_FIRMWARE GOOGLE_MEMCONSOLE GOOGLE_MEMCONSOLE_COREBOOT GOOGLE_VPD GPIOLIB GPIOLIB_IRQCHIP GPIO_ACPI GPIO_DLN2 GPIO_LJCA GPIO_VIPERBOARD GREENASIA_FF GREYBUS GREYBUS_BRIDGED_PHY GREYBUS_ES2 GREYBUS_HID GREYBUS_USB GROUP_SCHED_WEIGHT GTP GUEST_PERF_EVENTS GVE HAVE_ARCH_NODE_DEV_GROUP HAVE_ARCH_USERFAULTFD_MINOR HAVE_ARCH_USERFAULTFD_WP HAVE_BOOTMEM_INFO_NODE HAVE_CLK_PREPARE HAVE_KVM_CPU_RELAX_INTERCEPT HAVE_KVM_DIRTY_RING HAVE_KVM_DIRTY_RING_ACQ_REL HAVE_KVM_DIRTY_RING_TSO HAVE_KVM_IRQCHIP HAVE_KVM_IRQ_BYPASS HAVE_KVM_IRQ_ROUTING HAVE_KVM_MSI HAVE_KVM_NO_POLL HAVE_KVM_PFNCACHE HAVE_KVM_PM_NOTIFIER HAVE_KVM_READONLY_MEM HAVE_SCHED_AVG_IRQ HDLC HDLC_CISCO HDLC_FR HDLC_PPP HDLC_RAW HDLC_RAW_ETH HDLC_X25 HDMI HFSPLUS_FS HFS_FS HID_ACCUTOUCH HID_ACRUX HID_ACRUX_FF HID_ALPS HID_APPLEIR HID_ASUS HID_AUREAL HID_BATTERY_STRENGTH HID_BETOP_FF HID_BIGBEN_FF HID_CMEDIA HID_CORSAIR HID_COUGAR HID_CP2112 HID_CREATIVE_SB0540 HID_ELAN HID_ELECOM HID_ELO HID_EMS_FF HID_EVISION HID_FT260 HID_GEMBIRD HID_GFRM HID_GLORIOUS HID_GOOGLE_STADIA_FF HID_GREENASIA HID_GT683R HID_HOLTEK HID_ICADE HID_JABRA HID_KEYTOUCH HID_KYE HID_LCPOWER HID_LED HID_LENOVO HID_LETSKETCH HID_LOGITECH_DJ HID_LOGITECH_HIDPP HID_MACALLY HID_MAGICMOUSE HID_MALTRON HID_MAYFLASH HID_MCP2200 HID_MCP2221 HID_MEGAWORLD_FF HID_MULTITOUCH HID_NTI HID_ORTEK HID_PENMOUNT HID_PICOLCD HID_PICOLCD_BACKLIGHT HID_PICOLCD_CIR HID_PICOLCD_FB HID_PICOLCD_LCD HID_PICOLCD_LEDS HID_PLANTRONICS HID_PRIMAX HID_PRODIKEYS HID_PXRC HID_RAZER HID_RETRODE HID_RMI HID_ROCCAT HID_SAITEK HID_SEMITEK HID_SENSOR_ACCEL_3D HID_SENSOR_ALS HID_SENSOR_CUSTOM_INTEL_HINGE HID_SENSOR_CUSTOM_SENSOR HID_SENSOR_DEVICE_ROTATION HID_SENSOR_GYRO_3D HID_SENSOR_HUB HID_SENSOR_HUMIDITY HID_SENSOR_IIO_COMMON HID_SENSOR_IIO_TRIGGER HID_SENSOR_INCLINOMETER_3D HID_SENSOR_MAGNETOMETER_3D HID_SENSOR_PRESS HID_SENSOR_PROX HID_SENSOR_TEMP HID_SIGMAMICRO HID_SPEEDLINK HID_STEELSERIES HID_THINGM HID_TIVO HID_TOPRE HID_TWINHAN HID_U2FZERO HID_UCLOGIC HID_UDRAW_PS3 HID_VIEWSONIC HID_VIVALDI HID_VIVALDI_COMMON HID_VRC2 HID_WACOM HID_WALTOP HID_WIIMOTE HID_XIAOMI HID_XINMO HID_ZYDACRON HMM_MIRROR HOLTEK_FF HOTPLUG_PCI_PCIE HPET_MMAP HPET_MMAP_DEFAULT HPFS_FS I2C_ALGOBIT I2C_CHARDEV I2C_CP2615 I2C_DESIGNWARE_CORE I2C_DESIGNWARE_PLATFORM I2C_DIOLAN_U2C I2C_DLN2 I2C_HID_ACPI I2C_HID_CORE I2C_HID_OF I2C_LJCA I2C_MUX I2C_MUX_REG I2C_ROBOTFUZZ_OSIF I2C_SI4713 I2C_SLAVE I2C_SLAVE_EEPROM I2C_TINY_USB I2C_VIPERBOARD IEEE802154 IEEE802154_6LOWPAN IEEE802154_ATUSB IEEE802154_DRIVERS IEEE802154_HWSIM IEEE802154_NL802154_EXPERIMENTAL IEEE802154_SOCKET IFB IIO IIO_BUFFER IIO_KFIFO_BUF IIO_TRIGGER IIO_TRIGGERED_BUFFER IKCONFIG IKCONFIG_PROC IMA IMA_APPRAISE IMA_APPRAISE_MODSIG IMA_DEFAULT_HASH_SHA256 IMA_LSM_RULES IMA_MEASURE_ASYMMETRIC_KEYS IMA_NG_TEMPLATE IMA_QUEUE_EARLY_BOOT_KEYS IMA_READ_POLICY IMA_WRITE_POLICY INET6_ESPINTCP INET6_ESP_OFFLOAD INET6_IPCOMP INET6_TUNNEL INET6_XFRM_TUNNEL INET_AH INET_DCCP_DIAG INET_DIAG INET_DIAG_DESTROY INET_ESP INET_ESPINTCP INET_ESP_OFFLOAD INET_IPCOMP INET_MPTCP_DIAG INET_RAW_DIAG INET_SCTP_DIAG INET_TCP_DIAG INET_UDP_DIAG INET_XFRM_TUNNEL INFINIBAND INFINIBAND_ADDR_TRANS INFINIBAND_ADDR_TRANS_CONFIGFS INFINIBAND_IPOIB INFINIBAND_IPOIB_CM INFINIBAND_IPOIB_DEBUG INFINIBAND_ISER INFINIBAND_ON_DEMAND_PAGING INFINIBAND_RTRS INFINIBAND_SRP INFINIBAND_USER_ACCESS INFINIBAND_USER_MAD INFINIBAND_USER_MEM INPUT_ATI_REMOTE2 INPUT_CM109 INPUT_IMS_PCU INPUT_JOYDEV INPUT_KEYSPAN_REMOTE INPUT_LEDS INPUT_MOUSEDEV INPUT_MOUSEDEV_PSAUX INPUT_POWERMATE INPUT_UINPUT INPUT_YEALINK INTEGRITY INTEGRITY_ASYMMETRIC_KEYS INTEGRITY_AUDIT INTEGRITY_SIGNATURE INTEGRITY_TRUSTED_KEYRING INTEL_CHTWC_INT33FE INTEL_IDMA64 INTEL_IOATDMA INTEL_IOMMU_DEFAULT_ON INTEL_IOMMU_SVM INTEL_ISHTP_ECLITE INTEL_ISH_FIRMWARE_DOWNLOADER INTEL_ISH_HID INTEL_SOC_PMIC_CHTWC INTERVAL_TREE_SPAN_ITER IOMMUFD IOMMUFD_DRIVER IOMMUFD_DRIVER_CORE IOMMUFD_TEST IP6_NF_MATCH_AH IP6_NF_MATCH_EUI64 IP6_NF_MATCH_FRAG IP6_NF_MATCH_HL IP6_NF_MATCH_MH IP6_NF_MATCH_OPTS IP6_NF_MATCH_RPFILTER IP6_NF_MATCH_RT IP6_NF_MATCH_SRH IP6_NF_NAT IP6_NF_RAW IP6_NF_SECURITY IP6_NF_TARGET_HL IP6_NF_TARGET_MASQUERADE IP6_NF_TARGET_NPT IP6_NF_TARGET_SYNPROXY IPV6_FOU IPV6_FOU_TUNNEL IPV6_GRE IPV6_ILA IPV6_MIP6 IPV6_MROUTE IPV6_MROUTE_MULTIPLE_TABLES IPV6_MULTIPLE_TABLES IPV6_OPTIMISTIC_DAD IPV6_PIMSM_V2 IPV6_ROUTER_PREF IPV6_ROUTE_INFO IPV6_RPL_LWTUNNEL IPV6_SEG6_BPF IPV6_SEG6_HMAC IPV6_SEG6_LWTUNNEL IPV6_SIT_6RD IPV6_SUBTREES IPV6_TUNNEL IPV6_VTI IPVLAN IPVLAN_L3S IPVTAP IP_DCCP IP_DCCP_CCID3 IP_DCCP_TFRC_LIB IP_FIB_TRIE_STATS IP_MROUTE_MULTIPLE_TABLES IP_NF_ARPFILTER IP_NF_ARPTABLES IP_NF_ARP_MANGLE IP_NF_MATCH_AH IP_NF_MATCH_ECN IP_NF_MATCH_RPFILTER IP_NF_MATCH_TTL IP_NF_RAW IP_NF_SECURITY IP_NF_TARGET_ECN IP_NF_TARGET_NETMAP IP_NF_TARGET_REDIRECT IP_NF_TARGET_SYNPROXY IP_NF_TARGET_TTL IP_ROUTE_CLASSID IP_SCTP IP_SET IP_SET_BITMAP_IP IP_SET_BITMAP_IPMAC IP_SET_BITMAP_PORT IP_SET_HASH_IP IP_SET_HASH_IPMAC IP_SET_HASH_IPMARK IP_SET_HASH_IPPORT IP_SET_HASH_IPPORTIP IP_SET_HASH_IPPORTNET IP_SET_HASH_MAC IP_SET_HASH_NET IP_SET_HASH_NETIFACE IP_SET_HASH_NETNET IP_SET_HASH_NETPORT IP_SET_HASH_NETPORTNET IP_SET_LIST_SET IP_VS IP_VS_DH IP_VS_FO IP_VS_FTP IP_VS_PROTO_TCP IRQ_TIME_ACCOUNTING LAPB LCD_CLASS_DEVICE MAC802154 MEDIA_DIGITAL_TV_SUPPORT MEDIA_RADIO_SUPPORT MEDIA_SDR_SUPPORT MEDIA_SUPPORT MEDIA_TEST_SUPPORT MEDIA_USB_SUPPORT MEMORY_HOTPLUG MEMORY_HOTREMOVE MFD_DLN2 MFD_VIPERBOARD MPTCP MTD NETFILTER_ADVANCED NET_ACT_GACT NET_ACT_MIRRED NET_IPGRE_DEMUX NFT_COMPAT NFT_COMPAT_ARP NFT_FWD_NETDEV NF_TABLES NF_TABLES_ARP NF_TABLES_NETDEV RADIO_ADAPTERS RADIO_SI4713 RAS RC_CORE REGULATOR RFKILL SND SOUND STAGING TRANSPARENT_HUGEPAGE TYPEC TYPEC_MUX_PI3USB30532 USB_LJCA USB_ROLES_INTEL_XHCI USB_ROLE_SWITCH VIDEO_DEV VIRTIO_FS WAN ZONE_DEVICE] disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed picked [v6.12 v6.11 v6.10 v6.8 v6.6 v6.4 v6.2 v6.0 v5.17 v5.14 v5.11 v5.8 v5.5 v5.2 v4.20 v4.19] out of 35 release tags testing release v6.12 testing commit adc218676eef25575469234709c2d87185ca223a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d995d81ef779a91c133c8c266cd8311361a1c7b821a78f50eee13385b4d8b2df all runs: crashed: WARNING in f2fs_rename2 representative crash: WARNING in f2fs_rename2, types: [WARNING] testing release v6.11 testing commit 98f7e32f20d28ec452afb208f9cffc08448a2652 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c4ed1ae745429e40a488ad0d1af9b1a899de1fb2f296fd5ecc12858b2aafac91 all runs: crashed: WARNING in f2fs_rename2 representative crash: WARNING in f2fs_rename2, types: [WARNING] testing release v6.10 testing commit 0c3836482481200ead7b416ca80c68a29cfdaabd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 02d88e16ecb8b6379f7007a9eec355521ddabc49f8f88c65c77e6d4b239d2f30 all runs: crashed: WARNING in f2fs_rename2 representative crash: WARNING in f2fs_rename2, types: [WARNING] testing release v6.8 testing commit e8f897f4afef0031fe618a8e94127a0934896aba gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 58375cbd129042727d2461d5a3f49c8e23e818198ea148fde5d445297a3e79f3 all runs: crashed: WARNING in f2fs_rename2 representative crash: WARNING in f2fs_rename2, types: [WARNING] testing release v6.6 testing commit ffc253263a1375a65fa6c9f62a893e9767fbebfa gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0e0e6c228ec25c721ef36b8911885eb7dc92edb2bf0d1b41d965d02a36f90721 all runs: crashed: WARNING in f2fs_rename2 representative crash: WARNING in f2fs_rename2, types: [WARNING] testing release v6.4 testing commit 6995e2de6891c724bfeb2db33d7b87775f913ad1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 190530ef27020e1f76147532eeb96dbaa62b29bb09c079e10028af7bda9f9cf5 all runs: crashed: WARNING in f2fs_rename2 representative crash: WARNING in f2fs_rename2, types: [WARNING] testing release v6.2 testing commit c9c3395d5e3dcc6daee66c6908354d47bf98cb0c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 908a1bfbfbea036a796ce15ce0cbda420e529c30dd94abfa967502be9fec9e87 all runs: crashed: WARNING in f2fs_rename2 representative crash: WARNING in f2fs_rename2, types: [WARNING] testing release v6.0 testing commit 4fe89d07dcc2804c8b562f6c7896a45643d34b2f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bfe9a330b83a11f9bdb3552b29622d13318d0ed3d65016c0ac149a487cc58998 all runs: crashed: WARNING in f2fs_rename2 representative crash: WARNING in f2fs_rename2, types: [WARNING] testing release v5.17 testing commit f443e374ae131c168a065ea1748feac6b2e76613 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 92001d1eca41faff0ca4377d4d985b28d799fbfdc822d803954996b0159e23c2 all runs: crashed: WARNING in f2fs_rename2 representative crash: WARNING in f2fs_rename2, types: [WARNING] testing release v5.14 testing commit 7d2a07b769330c34b4deabeed939325c77a7ec2f gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f2867be15fcd7616eaba8ab43ffff9ad90d8ce99908c260fa1a3113532e9126d all runs: crashed: WARNING in f2fs_rename2 representative crash: WARNING in f2fs_rename2, types: [WARNING] testing release v5.11 testing commit f40ddce88593482919761f74910f42f4b84c004b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cd58a5b6bf7ddbf20db5eb527ff922c70214a0439beffd30a49730edd51ff02c all runs: crashed: WARNING in f2fs_rename2 representative crash: WARNING in f2fs_rename2, types: [WARNING] testing release v5.8 testing commit bcf876870b95592b52519ed4aafcf9d95999bc9c gcc compiler: gcc (GCC) 8.4.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bd27cef4e248747496cc5fe363ef54373efabe7081c6b529abc674bce741055e all runs: crashed: WARNING in f2fs_rename2 representative crash: WARNING in f2fs_rename2, types: [WARNING] testing release v5.5 testing commit d5226fa6dbae0569ee43ecfc08bdcd6770fc4755 gcc compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 2b99d1b3507c3603aace711131e3b9f59a8caac41dbcb6c119b2d17a168beb54 all runs: OK false negative chance: 0.000 # git bisect start bcf876870b95592b52519ed4aafcf9d95999bc9c d5226fa6dbae0569ee43ecfc08bdcd6770fc4755 Bisecting: 23175 revisions left to test after this (roughly 15 steps) [a943353d170e286dd3d877ac5aa15c1034cdfefc] Merge tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm testing commit a943353d170e286dd3d877ac5aa15c1034cdfefc gcc compiler: gcc version 8.4.1 20210217 (GCC) failed building a943353d170e286dd3d877ac5aa15c1034cdfefc: scripts/extract-cert.c:46:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] scripts/extract-cert.c:59:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] scripts/sign-file.c:89:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] scripts/sign-file.c:102:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] # git bisect skip a943353d170e286dd3d877ac5aa15c1034cdfefc Bisecting: 23153 revisions left to test after this (roughly 15 steps) [d8836005236425cf3cfcc8967abd1d5c21f607f8] Merge branch 'for-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup testing commit d8836005236425cf3cfcc8967abd1d5c21f607f8 gcc compiler: gcc version 8.4.1 20210217 (GCC) failed building d8836005236425cf3cfcc8967abd1d5c21f607f8: scripts/extract-cert.c:46:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] scripts/extract-cert.c:59:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] scripts/sign-file.c:89:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] scripts/sign-file.c:102:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] # git bisect skip d8836005236425cf3cfcc8967abd1d5c21f607f8 Bisecting: 23153 revisions left to test after this (roughly 15 steps) [05a5a7621ce66c142e081ffc24dd6ade6e912061] Btrfs: implement full reflink support for inline extents testing commit 05a5a7621ce66c142e081ffc24dd6ade6e912061 gcc compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 275cff8a3305c340ff23b4a890f3e87c913d52bec1e1564ccf6b40395f0f7d8e all runs: crashed: WARNING in f2fs_rename2 representative crash: WARNING in f2fs_rename2, types: [WARNING] # git bisect bad 05a5a7621ce66c142e081ffc24dd6ade6e912061 Bisecting: 5947 revisions left to test after this (roughly 13 steps) [9f68e3655aae6d49d6ba05dd263f99f33c2567af] Merge tag 'drm-next-2020-01-30' of git://anongit.freedesktop.org/drm/drm testing commit 9f68e3655aae6d49d6ba05dd263f99f33c2567af gcc compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: c526710bb84bf6bc4c050694c202a133b6ed5900109a9dc029299a8b3fe9d717 all runs: OK false negative chance: 0.000 # git bisect good 9f68e3655aae6d49d6ba05dd263f99f33c2567af Bisecting: 3193 revisions left to test after this (roughly 12 steps) [469030d454bd1620c7b2651d9ec8cdcbaa74deb9] Merge tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc testing commit 469030d454bd1620c7b2651d9ec8cdcbaa74deb9 gcc compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 8e30d828109b356d8747e09f6d8cd0b1e1b38f93b29ff46f8fbf4b4ddc472ac4 all runs: crashed: WARNING in f2fs_rename2 representative crash: WARNING in f2fs_rename2, types: [WARNING] # git bisect bad 469030d454bd1620c7b2651d9ec8cdcbaa74deb9 Bisecting: 1354 revisions left to test after this (roughly 11 steps) [f4a6365ae88d38528b4eec717326dab877b515ea] Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux testing commit f4a6365ae88d38528b4eec717326dab877b515ea gcc compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 2211fa5d3510d36d8731e510398c36d91c84366626b70c310ccf2395b76540e6 all runs: crashed: WARNING in f2fs_rename2 representative crash: WARNING in f2fs_rename2, types: [WARNING] # git bisect bad f4a6365ae88d38528b4eec717326dab877b515ea Bisecting: 653 revisions left to test after this (roughly 10 steps) [8fdd4019bcb2d824c5ab45c6fc340293cfed843f] Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma testing commit 8fdd4019bcb2d824c5ab45c6fc340293cfed843f gcc compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: a8c30e48a7c774a06b37b54b52d24d568531d66f79c0f660a6764a0a98077ed5 all runs: crashed: WARNING in f2fs_rename2 representative crash: WARNING in f2fs_rename2, types: [WARNING] # git bisect bad 8fdd4019bcb2d824c5ab45c6fc340293cfed843f Bisecting: 350 revisions left to test after this (roughly 9 steps) [e813e65038389b66d2f8dd87588694caf8dc2923] Merge tag 'kvm-5.6-1' of git://git.kernel.org/pub/scm/virt/kvm/kvm testing commit e813e65038389b66d2f8dd87588694caf8dc2923 gcc compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: fa8461ea4bfbc9306216cc378ee3b3e972f2da0363f4956c6676d3b1757beba4 all runs: crashed: WARNING in f2fs_rename2 representative crash: WARNING in f2fs_rename2, types: [WARNING] # git bisect bad e813e65038389b66d2f8dd87588694caf8dc2923 Bisecting: 192 revisions left to test after this (roughly 8 steps) [1d5920c306f11db2c9e517f12843216b58c15046] Merge tag 'kvm-ppc-next-5.6-2' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc into HEAD testing commit 1d5920c306f11db2c9e517f12843216b58c15046 gcc compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 66b613ab54ee535638db1e9a1ae8234ad011f0cd6d0410281a28e0dabc14002c all runs: OK false negative chance: 0.000 # git bisect good 1d5920c306f11db2c9e517f12843216b58c15046 Bisecting: 100 revisions left to test after this (roughly 7 steps) [0196be12aab2dc3a3e44824045229b0e539be8fd] Merge tag 'for_v5.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs testing commit 0196be12aab2dc3a3e44824045229b0e539be8fd gcc compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: f2e7de9e9e76cc78aeaa74480f859fd7afadde48af6017b724c60f4550b8d583 all runs: OK false negative chance: 0.000 # git bisect good 0196be12aab2dc3a3e44824045229b0e539be8fd Bisecting: 56 revisions left to test after this (roughly 6 steps) [e84bcd61f686d65956c9f54872778bb215059519] Merge tag 'upstream-5.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs testing commit e84bcd61f686d65956c9f54872778bb215059519 gcc compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 667542a682e92642820720f9b6d55408c219a0b045c22140439e4debb59cbd56 all runs: crashed: WARNING in f2fs_rename2 representative crash: WARNING in f2fs_rename2, types: [WARNING] # git bisect bad e84bcd61f686d65956c9f54872778bb215059519 Bisecting: 21 revisions left to test after this (roughly 5 steps) [fad5fbce4f072f05d3c8adefecdfd149a268d0ff] f2fs: show the CP_PAUSE reason in checkpoint traces testing commit fad5fbce4f072f05d3c8adefecdfd149a268d0ff gcc compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: e8016fd18e4e76cfa88d6ae621d1abb679fcbcfd7f1916d94b48a53fa4dec5f2 all runs: crashed: WARNING in f2fs_rename2 representative crash: WARNING in f2fs_rename2, types: [WARNING] # git bisect bad fad5fbce4f072f05d3c8adefecdfd149a268d0ff Bisecting: 10 revisions left to test after this (roughly 4 steps) [5b1dbb082f196278f82b6a15a13848efacb9ff11] f2fs: set I_LINKABLE early to avoid wrong access by vfs testing commit 5b1dbb082f196278f82b6a15a13848efacb9ff11 gcc compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 1cfbf3401faf8fdd22da3ffb523374a0f3bb5bc409bdc0304af102faaa142f0e all runs: OK false negative chance: 0.000 # git bisect good 5b1dbb082f196278f82b6a15a13848efacb9ff11 Bisecting: 4 revisions left to test after this (roughly 3 steps) [3e5e479a39ce9ed60cd63f7565cc1d9da77c2a4e] f2fs: fix to add swap extent correctly testing commit 3e5e479a39ce9ed60cd63f7565cc1d9da77c2a4e gcc compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 692265a67d8bf245a67d144e455dca789834034222f6312272171f3b4c1f6e08 all runs: crashed: WARNING in f2fs_rename2 representative crash: WARNING in f2fs_rename2, types: [WARNING] # git bisect bad 3e5e479a39ce9ed60cd63f7565cc1d9da77c2a4e Bisecting: 2 revisions left to test after this (roughly 2 steps) [820d366736c949ffe698d3b3fe1266a91da1766d] f2fs: free sysfs kobject testing commit 820d366736c949ffe698d3b3fe1266a91da1766d gcc compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 7b66013019f5464ac5b38fa959c44a0b77b8d03eb4be631a562fefc776f50656 all runs: OK false negative chance: 0.000 # git bisect good 820d366736c949ffe698d3b3fe1266a91da1766d Bisecting: 1 revision left to test after this (roughly 1 step) [4c8ff7095bef64fc47e996a938f7d57f9e077da3] f2fs: support data compression testing commit 4c8ff7095bef64fc47e996a938f7d57f9e077da3 gcc compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 2ae551807fdc0bd0c8057d2e674bfb339983279e48d48c61aae4cc1972b18369 all runs: crashed: WARNING in f2fs_rename2 representative crash: WARNING in f2fs_rename2, types: [WARNING] # git bisect bad 4c8ff7095bef64fc47e996a938f7d57f9e077da3 4c8ff7095bef64fc47e996a938f7d57f9e077da3 is the first bad commit commit 4c8ff7095bef64fc47e996a938f7d57f9e077da3 Author: Chao Yu Date: Fri Nov 1 18:07:14 2019 +0800 f2fs: support data compression This patch tries to support compression in f2fs. - New term named cluster is defined as basic unit of compression, file can be divided into multiple clusters logically. One cluster includes 4 << n (n >= 0) logical pages, compression size is also cluster size, each of cluster can be compressed or not. - In cluster metadata layout, one special flag is used to indicate cluster is compressed one or normal one, for compressed cluster, following metadata maps cluster to [1, 4 << n - 1] physical blocks, in where f2fs stores data including compress header and compressed data. - In order to eliminate write amplification during overwrite, F2FS only support compression on write-once file, data can be compressed only when all logical blocks in file are valid and cluster compress ratio is lower than specified threshold. - To enable compression on regular inode, there are three ways: * chattr +c file * chattr +c dir; touch dir/file * mount w/ -o compress_extension=ext; touch file.ext Compress metadata layout: [Dnode Structure] +-----------------------------------------------+ | cluster 1 | cluster 2 | ......... | cluster N | +-----------------------------------------------+ . . . . . . . . . Compressed Cluster . . Normal Cluster . +----------+---------+---------+---------+ +---------+---------+---------+---------+ |compr flag| block 1 | block 2 | block 3 | | block 1 | block 2 | block 3 | block 4 | +----------+---------+---------+---------+ +---------+---------+---------+---------+ . . . . . . +-------------+-------------+----------+----------------------------+ | data length | data chksum | reserved | compressed data | +-------------+-------------+----------+----------------------------+ Changelog: 20190326: - fix error handling of read_end_io(). - remove unneeded comments in f2fs_encrypt_one_page(). 20190327: - fix wrong use of f2fs_cluster_is_full() in f2fs_mpage_readpages(). - don't jump into loop directly to avoid uninitialized variables. - add TODO tag in error path of f2fs_write_cache_pages(). 20190328: - fix wrong merge condition in f2fs_read_multi_pages(). - check compressed file in f2fs_post_read_required(). 20190401 - allow overwrite on non-compressed cluster. - check cluster meta before writing compressed data. 20190402 - don't preallocate blocks for compressed file. - add lz4 compress algorithm - process multiple post read works in one workqueue Now f2fs supports processing post read work in multiple workqueue, it shows low performance due to schedule overhead of multiple workqueue executing orderly. 20190921 - compress: support buffered overwrite C: compress cluster flag V: valid block address N: NEW_ADDR One cluster contain 4 blocks before overwrite after overwrite - VVVV -> CVNN - CVNN -> VVVV - CVNN -> CVNN - CVNN -> CVVV - CVVV -> CVNN - CVVV -> CVVV 20191029 - add kconfig F2FS_FS_COMPRESSION to isolate compression related codes, add kconfig F2FS_FS_{LZO,LZ4} to cover backend algorithm. note that: will remove lzo backend if Jaegeuk agreed that too. - update codes according to Eric's comments. 20191101 - apply fixes from Jaegeuk 20191113 - apply fixes from Jaegeuk - split workqueue for fsverity 20191216 - apply fixes from Jaegeuk 20200117 - fix to avoid NULL pointer dereference [Jaegeuk Kim] - add tracepoint for f2fs_{,de}compress_pages() - fix many bugs and add some compression stats - fix overwrite/mmap bugs - address 32bit build error, reported by Geert. - bug fixes when handling errors and i_compressed_blocks Reported-by: Signed-off-by: Chao Yu Signed-off-by: Jaegeuk Kim Documentation/filesystems/f2fs.txt | 52 ++ fs/f2fs/Kconfig | 25 + fs/f2fs/Makefile | 1 + fs/f2fs/compress.c | 1176 ++++++++++++++++++++++++++++++++++++ fs/f2fs/data.c | 624 ++++++++++++++++--- fs/f2fs/debug.c | 6 + fs/f2fs/f2fs.h | 280 ++++++++- fs/f2fs/file.c | 186 +++++- fs/f2fs/inode.c | 41 ++ fs/f2fs/namei.c | 51 ++ fs/f2fs/segment.c | 5 +- fs/f2fs/segment.h | 12 - fs/f2fs/super.c | 112 +++- fs/f2fs/sysfs.c | 7 + include/linux/f2fs_fs.h | 5 + include/trace/events/f2fs.h | 100 +++ 16 files changed, 2566 insertions(+), 117 deletions(-) create mode 100644 fs/f2fs/compress.c accumulated error probability: 0.00 culprit signature: 2ae551807fdc0bd0c8057d2e674bfb339983279e48d48c61aae4cc1972b18369 parent signature: 7b66013019f5464ac5b38fa959c44a0b77b8d03eb4be631a562fefc776f50656 revisions tested: 33, total time: 6h54m41.06226798s (build: 4h5m42.213791901s, test: 2h38m31.916102556s) first bad commit: 4c8ff7095bef64fc47e996a938f7d57f9e077da3 f2fs: support data compression recipients (to): ["jaegeuk@kernel.org" "yuchao0@huawei.com"] recipients (cc): [] crash: WARNING in f2fs_rename2 F2FS-fs (loop3): invalid crc value F2FS-fs (loop3): Found nat_bits in checkpoint F2FS-fs (loop3): Mounted with checkpoint version = 48b305e4 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3922 at fs/inode.c:301 drop_nlink+0x1e/0x30 fs/inode.c:305 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 3922 Comm: syz.3.15 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x50/0x70 lib/dump_stack.c:118 panic+0xf6/0x2c5 kernel/panic.c:221 __warn.cold.12+0x20/0x26 kernel/panic.c:582 report_bug+0xb8/0x100 lib/bug.c:195 fixup_bug arch/x86/kernel/traps.c:174 [inline] fixup_bug arch/x86/kernel/traps.c:169 [inline] do_error_trap+0x9a/0xc0 arch/x86/kernel/traps.c:267 do_invalid_op+0x31/0x40 arch/x86/kernel/traps.c:286 invalid_op+0x28/0x30 arch/x86/entry/entry_64.S:1027 RIP: 0010:drop_nlink+0x1e/0x30 fs/inode.c:301 Code: 66 2e 0f 1f 84 00 00 00 00 00 66 90 8b 47 48 8d 50 ff 85 c0 74 14 85 d2 89 57 48 75 0c 48 8b 47 28 f0 48 ff 80 98 07 00 00 c3 <0f> 0b c7 47 48 ff ff ff ff c3 0f 1f 84 00 00 00 00 00 b8 01 00 00 RSP: 0018:ffffc90000bebd08 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888223d38818 RCX: 000000002f794057 RDX: 00000000ffffffff RSI: 00000000297b6067 RDI: ffff888223d40818 RBP: ffffc90000bebdb0 R08: 0000000000000000 R09: 0000000000000000 R10: ffff88821bdb2028 R11: ffff88821bdb1740 R12: ffff88821bfba000 R13: ffff88822c44a04a R14: 0000000000000000 R15: ffff888223d38818 f2fs_i_links_write fs/f2fs/f2fs.h:2591 [inline] f2fs_rename fs/f2fs/namei.c:989 [inline] f2fs_rename2+0x5df/0x15a0 fs/f2fs/namei.c:1280 vfs_rename+0x2df/0x990 fs/namei.c:4481 do_renameat2+0x3df/0x570 fs/namei.c:4631 __do_sys_renameat2 fs/namei.c:4666 [inline] __se_sys_renameat2 fs/namei.c:4663 [inline] __x64_sys_renameat2+0x1b/0x20 fs/namei.c:4663 do_syscall_64+0x50/0x190 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f8117621819 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f81170a2038 EFLAGS: 00000246 ORIG_RAX: 000000000000013c RAX: ffffffffffffffda RBX: 00007f81177d8fa0 RCX: 00007f8117621819 RDX: 0000000000000004 RSI: 00000000200000c0 RDI: 0000000000000005 RBP: 00007f811769475e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000100 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f81177d8fa0 R15: 00007ffe1956f338 Kernel Offset: disabled Rebooting in 86400 seconds..