ci2 starts bisection 2024-11-22 00:30:52.098479013 +0000 UTC m=+84800.922752178 bisecting cause commit starting from 43fb83c17ba2d63dfb798f0be7453ed55ca3f9c2 building syzkaller on 4b25d554e5643186ba6a09429089ac0275f7573b ensuring issue is reproducible on original commit 43fb83c17ba2d63dfb798f0be7453ed55ca3f9c2 testing commit 43fb83c17ba2d63dfb798f0be7453ed55ca3f9c2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bc581456aa59693bc360c18a46dea7d892f7b7e4dafd168d5608538481f2feeb all runs: crashed: WARNING in f2fs_unlink representative crash: WARNING in f2fs_unlink, 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 43fb83c17ba2d63dfb798f0be7453ed55ca3f9c2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 277403edd5ace35f41c29a95ee3caa728a9a248f504d38313547df486b401965 all runs: crashed: WARNING in f2fs_unlink representative crash: WARNING in f2fs_unlink, types: [WARNING] the bug reproduces without the instrumentation disabling configs for [UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed kconfig minimization: base=4037 full=8199 leaves diff=2116 split chunks (needed=false): <2116> split chunk #0 of len 2116 into 5 parts testing without sub-chunk 1/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN KASAN], they are not needed testing commit 43fb83c17ba2d63dfb798f0be7453ed55ca3f9c2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 60ce39085a9f63664b82ead9dfa3f5aca0d1ea27e016341f8a68bb39461bd3e6 all runs: crashed: WARNING in f2fs_unlink representative crash: WARNING in f2fs_unlink, types: [WARNING] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 43fb83c17ba2d63dfb798f0be7453ed55ca3f9c2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 87fba62b05df60cb7ef6b44775c2ce36fa7c7f0067f91bf56d85d03d121aef95 all runs: OK false negative chance: 0.000 testing without sub-chunk 3/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 43fb83c17ba2d63dfb798f0be7453ed55ca3f9c2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c2b21ac88593209613ec2efc0b4f7ca28f312c331d3716a1e1ac7a872adfc765 all runs: crashed: WARNING in f2fs_unlink representative crash: WARNING in f2fs_unlink, 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 43fb83c17ba2d63dfb798f0be7453ed55ca3f9c2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b6cff7aaf838ea92765fd4eaac5d7351fa952b76418a284f2884d675af087aef all runs: crashed: WARNING in f2fs_unlink representative crash: WARNING in f2fs_unlink, types: [WARNING] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 43fb83c17ba2d63dfb798f0be7453ed55ca3f9c2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e524b146008da717739ab60410946ed3ab5eaee73ee5d40f5d5b0eb59ae5b6cb all runs: crashed: WARNING in f2fs_unlink representative crash: WARNING in f2fs_unlink, 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_SIMPLEDRM DRM_TTM DRM_TTM_HELPER DRM_UDL DRM_VGEM DRM_VIRTIO_GPU DRM_VIRTIO_GPU_KMS DRM_VKMS DRM_VMWGFX DRM_VRAM_HELPER 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_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_IPV6 IP_VS_LBLC IP_VS_LBLCR IP_VS_LC 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: 8acd15e2c136199e7611aec806d81ecbe5126abbd5e67cf49e8ab1cc6ae82901 all runs: crashed: WARNING in f2fs_unlink representative crash: WARNING in f2fs_unlink, 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: ed4d1630a6cf8d3dbf764858208823ff113e01b21d9ac5132ff62f5c50e44795 all runs: crashed: WARNING in f2fs_unlink representative crash: WARNING in f2fs_unlink, 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: 6d909498d542ea6e628270ee7095d2e82804ae268a824ebcf48973f93588c3ab all runs: crashed: WARNING in f2fs_unlink representative crash: WARNING in f2fs_unlink, 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: 1573dad0f462ac6fdb0764aca455ad777ebdbc648633545c9e8570f34d387668 all runs: crashed: WARNING in f2fs_unlink representative crash: WARNING in f2fs_unlink, 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: c6c7f97d4cec0e22908a187cf9ad9b28cff334f46addccb892cf3c6984d61940 all runs: crashed: WARNING in f2fs_unlink representative crash: WARNING in f2fs_unlink, 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: 06410fb720148d73be634746a6015b4e0530033c34d6d55e686755136bf042bf all runs: crashed: WARNING in f2fs_unlink representative crash: WARNING in f2fs_unlink, 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: bf68168caa0b6e13ea2366067b73e7057fdef73bc12f850a5c3273bb70fdc731 all runs: crashed: WARNING in f2fs_unlink representative crash: WARNING in f2fs_unlink, 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: 0e3a70b40cf503122038e5c86837e68c972eef2080ce003952aa24cba2837a39 all runs: crashed: WARNING in f2fs_unlink representative crash: WARNING in f2fs_unlink, 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: fdfb2d673b6dc3e7185747a956b594cb85fa81d0f0a656b25e19dab7c65c8843 all runs: crashed: WARNING in f2fs_unlink representative crash: WARNING in f2fs_unlink, 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: 9839ec804be8f645da7c751995944966764c05cd642c4977004d11fe3e37fb55 all runs: crashed: WARNING in f2fs_unlink representative crash: WARNING in f2fs_unlink, 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: ea76f553a22b1e9b264cf12b76ca83dbbd9a1e2e1dc5a696df61f32dd73da7ad all runs: crashed: WARNING in f2fs_unlink representative crash: WARNING in f2fs_unlink, 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: f5f41d0f4bbe3d22c6e7c4a1f0230d7bde7d6fdeb0116ed0b0ec3564d6c91d7a all runs: crashed: WARNING in f2fs_unlink representative crash: WARNING in f2fs_unlink, types: [WARNING] testing release v5.5 testing commit d5226fa6dbae0569ee43ecfc08bdcd6770fc4755 gcc compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: ab8a426326bf8a00bb46bd0dc4de5aca393433f437fc02b6a6c1b8a67493efce 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: a8b89619c9e397743fd69e7e149078b8625076e9647eb1fefc221f75b79e909c all runs: crashed: WARNING in f2fs_delete_entry representative crash: WARNING in f2fs_delete_entry, 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: 147d6be4e3c16a3a3d6573938beb2519dfb4b531cf20db1f7e0383c6f91dbc40 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: 2bd42582663b16d9c29696f037bcd680759eb727ef8caa8936d56c022ab984a5 all runs: crashed: WARNING in f2fs_delete_entry representative crash: WARNING in f2fs_delete_entry, 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: 109ad8d8629da83b873f974be7184688dde939609c266da6c02c481759eed6d1 all runs: crashed: WARNING in f2fs_delete_entry representative crash: WARNING in f2fs_delete_entry, 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: c1cdd981abf4217fd7cd29df0034b1a76e04b828cf8b01bddcce2b7527f5d898 all runs: crashed: WARNING in f2fs_delete_entry representative crash: WARNING in f2fs_delete_entry, 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: d0d177b62504e9f61e618be43f1906e6b3dd424d95291838f758a07438653ce3 all runs: crashed: WARNING in f2fs_delete_entry representative crash: WARNING in f2fs_delete_entry, 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: fe136ba8afd8049b6542edff58be9bf0f8da3771a748dbb4c2ab587a8e66b3b8 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: 7a09e99d8d01c5601a69408f74a283014e1e46e74dd971306cd9632fc2baa15b 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: e0c2781a99e3585e97fee45eb5f7830eb8fe3250f262177292af12e18572ada9 all runs: crashed: WARNING in f2fs_delete_entry representative crash: WARNING in f2fs_delete_entry, 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: 7294dc0ae7be6ff4640ef1f93efb486ebaabc471d0fca55da780f1f5ff2fbe86 all runs: crashed: WARNING in f2fs_delete_entry representative crash: WARNING in f2fs_delete_entry, 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: 31a12848a8ec6687cf7cc082835c6102ad7f5c81d51aeeedcb251e27f57b7a02 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: bba084274f3fefee083c166503e89a39c53889fdde1af0b54d2b665cc54f4845 all runs: crashed: WARNING in f2fs_delete_entry representative crash: WARNING in f2fs_delete_entry, 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: 2188791948b321b4d71c35b918fc47d2631127f1735b492814ceee828ec6bd6b 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: 16730a266a74d19c37db491f5513b1d900e0699a266a0cddd872c2d6cb63a490 all runs: crashed: WARNING in f2fs_delete_entry representative crash: WARNING in f2fs_delete_entry, 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: 16730a266a74d19c37db491f5513b1d900e0699a266a0cddd872c2d6cb63a490 parent signature: 2188791948b321b4d71c35b918fc47d2631127f1735b492814ceee828ec6bd6b revisions tested: 34, total time: 8h37m39.439058059s (build: 4h24m8.329602534s, test: 3h15m9.710194806s) first bad commit: 4c8ff7095bef64fc47e996a938f7d57f9e077da3 f2fs: support data compression recipients (to): ["jaegeuk@kernel.org" "yuchao0@huawei.com"] recipients (cc): [] crash: WARNING in f2fs_delete_entry 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: 3535 at fs/inode.c:301 drop_nlink+0x1e/0x30 fs/inode.c:305 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 3535 Comm: syz.3.15 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/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:ffffc90000bbbdc8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88821b128000 RCX: 0000000000000000 RDX: 00000000ffffffff RSI: 0000000000000001 RDI: ffff88821b128000 RBP: ffffc90000bbbdf8 R08: 0000000000000000 R09: 0000000000000000 R10: ffff88822b513768 R11: ffff88822b512e80 R12: ffff88821b1283e0 R13: ffff88822b5be000 R14: ffff88821b120818 R15: ffff88822d03603f f2fs_i_links_write fs/f2fs/f2fs.h:2591 [inline] f2fs_drop_nlink+0x59/0x140 fs/f2fs/dir.c:792 f2fs_delete_entry+0x143/0x490 fs/f2fs/dir.c:843 f2fs_unlink+0x10a/0x300 fs/f2fs/namei.c:599 vfs_unlink+0x104/0x1e0 fs/namei.c:4003 do_unlinkat+0x233/0x300 fs/namei.c:4067 do_syscall_64+0x50/0x190 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7fcdf1007819 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:00007fcdf0a88038 EFLAGS: 00000246 ORIG_RAX: 0000000000000107 RAX: ffffffffffffffda RBX: 00007fcdf11befa0 RCX: 00007fcdf1007819 RDX: 0000000000000000 RSI: 0000000020000380 RDI: ffffffffffffff9c RBP: 00007fcdf107a75e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fcdf11befa0 R15: 00007ffedacac848 Kernel Offset: disabled Rebooting in 86400 seconds..