History log of /linux/fs/bcachefs/ (Results 1 – 25 of 4211)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
7b83601d01-Nov-2024 Linus Torvalds <torvalds@linux-foundation.org>

Merge tag 'bcachefs-2024-10-31' of git://evilpiepirate.org/bcachefs

Pull bcachefs fixes from Kent Overstreet:
"Various syzbot fixes, and the more notable ones:

- Fix for pointers in an extent o

Merge tag 'bcachefs-2024-10-31' of git://evilpiepirate.org/bcachefs

Pull bcachefs fixes from Kent Overstreet:
"Various syzbot fixes, and the more notable ones:

- Fix for pointers in an extent overflowing the max (16) on a
filesystem with many devices: we were creating too many cached
copies when moving data around. Now, we only create at most one
cached copy if there's a promote target set.

Caching will be a bit broken for reflinked data until 6.13: I have
larger series queued up which significantly improves the plumbing
for data options down into the extent (bch_extent_rebalance) to fix
this.

- Fix for deadlock on -ENOSPC on tiny filesystems

Allocation from the partial open_bucket list wasn't correctly
accounting partial open_buckets as free: this fixes the main cause
of tests timing out in the automated tests"

* tag 'bcachefs-2024-10-31' of git://evilpiepirate.org/bcachefs:
bcachefs: Fix NULL ptr dereference in btree_node_iter_and_journal_peek
bcachefs: fix possible null-ptr-deref in __bch2_ec_stripe_head_get()
bcachefs: Fix deadlock on -ENOSPC w.r.t. partial open buckets
bcachefs: Don't filter partial list buckets in open_buckets_to_text()
bcachefs: Don't keep tons of cached pointers around
bcachefs: init freespace inited bits to 0 in bch2_fs_initialize
bcachefs: Fix unhandled transaction restart in fallocate
bcachefs: Fix UAF in bch2_reconstruct_alloc()
bcachefs: fix null-ptr-deref in have_stripes()
bcachefs: fix shift oob in alloc_lru_idx_fragmentation
bcachefs: Fix invalid shift in validate_sb_layout()

show more ...


/linux/.mailmap
/linux/Documentation/admin-guide/pm/cpufreq.rst
/linux/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.yaml
/linux/Documentation/devicetree/bindings/sound/rockchip,rk3308-codec.yaml
/linux/Documentation/networking/packet_mmap.rst
/linux/Documentation/userspace-api/mseal.rst
/linux/MAINTAINERS
/linux/Makefile
/linux/arch/arm64/net/bpf_jit_comp.c
/linux/arch/loongarch/include/asm/bootinfo.h
/linux/arch/loongarch/include/asm/kasan.h
/linux/arch/loongarch/include/asm/loongarch.h
/linux/arch/loongarch/include/asm/pgalloc.h
/linux/arch/loongarch/include/asm/pgtable.h
/linux/arch/loongarch/kernel/process.c
/linux/arch/loongarch/kernel/setup.c
/linux/arch/loongarch/kernel/traps.c
/linux/arch/loongarch/kernel/vdso.c
/linux/arch/loongarch/kvm/timer.c
/linux/arch/loongarch/kvm/vcpu.c
/linux/arch/loongarch/mm/init.c
/linux/arch/loongarch/mm/pgtable.c
/linux/arch/x86/Kconfig
/linux/arch/x86/include/asm/runtime-const.h
/linux/arch/x86/include/asm/uaccess_64.h
/linux/arch/x86/kernel/cpu/common.c
/linux/arch/x86/kernel/cpu/microcode/amd.c
/linux/arch/x86/kernel/traps.c
/linux/arch/x86/kernel/vmlinux.lds.S
/linux/arch/x86/lib/getuser.S
/linux/arch/x86/virt/svm/sev.c
/linux/block/blk-map.c
/linux/drivers/acpi/button.c
/linux/drivers/acpi/cppc_acpi.c
/linux/drivers/acpi/prmt.c
/linux/drivers/acpi/resource.c
/linux/drivers/ata/libata-eh.c
/linux/drivers/char/tpm/tpm-chip.c
/linux/drivers/char/tpm/tpm-dev-common.c
/linux/drivers/char/tpm/tpm-interface.c
/linux/drivers/char/tpm/tpm2-sessions.c
/linux/drivers/firewire/core-topology.c
/linux/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
/linux/drivers/gpu/drm/amd/amdgpu/sdma_v7_0.c
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
/linux/drivers/gpu/drm/amd/display/modules/power/power_helpers.c
/linux/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
/linux/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu14_driver_if_v14_0.h
/linux/drivers/gpu/drm/amd/pm/swsmu/inc/smu_v14_0.h
/linux/drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c
/linux/drivers/gpu/drm/bridge/aux-bridge.c
/linux/drivers/gpu/drm/bridge/tc358767.c
/linux/drivers/gpu/drm/i915/Kconfig
/linux/drivers/gpu/drm/xe/xe_device.c
/linux/drivers/gpu/drm/xe/xe_force_wake.c
/linux/drivers/gpu/drm/xe/xe_guc_ct.c
/linux/drivers/gpu/drm/xe/xe_guc_submit.c
/linux/drivers/gpu/drm/xe/xe_sync.c
/linux/drivers/hid/hid-ids.h
/linux/drivers/hid/hid-lenovo.c
/linux/drivers/hid/hid-multitouch.c
/linux/drivers/hid/i2c-hid/i2c-hid-core.c
/linux/drivers/infiniband/hw/bnxt_re/qplib_fp.c
/linux/drivers/infiniband/hw/bnxt_re/qplib_rcfw.c
/linux/drivers/infiniband/hw/bnxt_re/qplib_rcfw.h
/linux/drivers/infiniband/hw/cxgb4/provider.c
/linux/drivers/infiniband/hw/mlx5/qp.c
/linux/drivers/md/md.c
/linux/drivers/md/raid10.c
/linux/drivers/net/dsa/microchip/ksz_common.c
/linux/drivers/net/dsa/mv88e6xxx/chip.h
/linux/drivers/net/dsa/mv88e6xxx/port.c
/linux/drivers/net/dsa/mv88e6xxx/ptp.c
/linux/drivers/net/ethernet/broadcom/bnxt/bnxt.c
/linux/drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c
/linux/drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.h
/linux/drivers/net/ethernet/emulex/benet/be_main.c
/linux/drivers/net/ethernet/freescale/fman/mac.c
/linux/drivers/net/ethernet/freescale/fman/mac.h
/linux/drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
/linux/drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
/linux/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h
/linux/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.c
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_regs.c
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_regs.c
/linux/drivers/net/ethernet/i825xx/sun3_82586.c
/linux/drivers/net/ethernet/intel/ice/devlink/devlink_port.c
/linux/drivers/net/ethernet/intel/ice/ice_dpll.c
/linux/drivers/net/ethernet/intel/ice/ice_ptp_hw.c
/linux/drivers/net/ethernet/intel/ice/ice_ptp_hw.h
/linux/drivers/net/ethernet/intel/igb/igb_main.c
/linux/drivers/net/ethernet/marvell/octeon_ep/octep_rx.c
/linux/drivers/net/ethernet/mediatek/mtk_wed_wo.h
/linux/drivers/net/ethernet/mellanox/mlxsw/pci.c
/linux/drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c
/linux/drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c
/linux/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
/linux/drivers/net/ethernet/realtek/r8169_main.c
/linux/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c
/linux/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h
/linux/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
/linux/drivers/net/gtp.c
/linux/drivers/net/hyperv/netvsc_drv.c
/linux/drivers/net/macsec.c
/linux/drivers/net/mctp/mctp-i2c.c
/linux/drivers/net/netdevsim/fib.c
/linux/drivers/net/phy/dp83822.c
/linux/drivers/net/plip/plip.c
/linux/drivers/net/pse-pd/pse_core.c
/linux/drivers/net/usb/qmi_wwan.c
/linux/drivers/net/usb/r8152.c
/linux/drivers/net/usb/usbnet.c
/linux/drivers/net/virtio_net.c
/linux/drivers/net/wireless/ath/ath10k/wmi-tlv.c
/linux/drivers/net/wireless/ath/ath10k/wmi.c
/linux/drivers/net/wireless/ath/ath11k/dp_rx.c
/linux/drivers/net/wireless/ath/wil6210/txrx.c
/linux/drivers/net/wireless/broadcom/brcm80211/Kconfig
/linux/drivers/net/wireless/intel/ipw2x00/ipw2100.c
/linux/drivers/net/wireless/intel/ipw2x00/ipw2200.h
/linux/drivers/net/wireless/intel/iwlegacy/common.c
/linux/drivers/net/wireless/intel/iwlegacy/common.h
/linux/drivers/net/wireless/intel/iwlwifi/fw/acpi.c
/linux/drivers/net/wireless/intel/iwlwifi/fw/init.c
/linux/drivers/net/wireless/intel/iwlwifi/iwl-drv.c
/linux/drivers/net/wireless/intel/iwlwifi/iwl-drv.h
/linux/drivers/net/wireless/intel/iwlwifi/mvm/d3.c
/linux/drivers/net/wireless/intel/iwlwifi/mvm/fw.c
/linux/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
/linux/drivers/net/wireless/intel/iwlwifi/mvm/mld-mac80211.c
/linux/drivers/net/wireless/intel/iwlwifi/mvm/scan.c
/linux/drivers/net/wireless/marvell/libertas/radiotap.h
/linux/drivers/net/wireless/mediatek/mt76/mcu.c
/linux/drivers/net/wireless/microchip/wilc1000/mon.c
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192du/sw.c
/linux/drivers/net/wireless/realtek/rtw88/usb.c
/linux/drivers/net/wireless/realtek/rtw89/coex.c
/linux/drivers/net/wireless/realtek/rtw89/pci.c
/linux/drivers/net/wireless/virtual/mac80211_hwsim.c
/linux/drivers/net/wwan/wwan_core.c
/linux/drivers/pci/probe.c
/linux/drivers/pci/pwrctl/pci-pwrctl-pwrseq.c
/linux/drivers/platform/x86/asus-wmi.c
/linux/drivers/platform/x86/dell/dell-wmi-base.c
/linux/drivers/platform/x86/intel/pmc/adl.c
/linux/drivers/platform/x86/intel/pmc/cnp.c
/linux/drivers/platform/x86/intel/pmc/core.c
/linux/drivers/platform/x86/intel/pmc/core.h
/linux/drivers/platform/x86/intel/pmc/core_ssram.c
/linux/drivers/platform/x86/intel/pmc/icl.c
/linux/drivers/platform/x86/intel/pmc/mtl.c
/linux/drivers/platform/x86/intel/pmc/tgl.c
/linux/drivers/powercap/dtpm_devfreq.c
/linux/drivers/scsi/scsi_debug.c
/linux/drivers/soundwire/intel_ace2x.c
/linux/drivers/spi/spi-fsl-dspi.c
/linux/drivers/spi/spi-geni-qcom.c
/linux/drivers/spi/spi-mtk-snfi.c
/linux/drivers/spi/spi-stm32.c
/linux/drivers/ufs/core/ufshcd.c
/linux/drivers/video/fbdev/Kconfig
/linux/drivers/video/fbdev/Makefile
/linux/drivers/video/fbdev/bw2.c
/linux/drivers/video/fbdev/cg14.c
/linux/drivers/video/fbdev/cg3.c
/linux/drivers/video/fbdev/cg6.c
/linux/drivers/video/fbdev/ffb.c
/linux/drivers/video/fbdev/leo.c
/linux/drivers/video/fbdev/nvidia/nv_hw.c
/linux/drivers/video/fbdev/p9100.c
/linux/drivers/video/fbdev/sbuslib.c
/linux/drivers/video/fbdev/sbuslib.h
/linux/drivers/video/fbdev/sstfb.c
/linux/drivers/video/fbdev/tcx.c
/linux/fs/9p/v9fs.h
/linux/fs/9p/v9fs_vfs.h
/linux/fs/9p/vfs_inode.c
/linux/fs/9p/vfs_inode_dotl.c
/linux/fs/9p/vfs_super.c
/linux/fs/backing-file.c
alloc_background.h
alloc_foreground.c
bcachefs.h
btree_iter.c
data_update.c
data_update.h
ec.c
errcode.h
extents.c
extents.h
fs-io.c
move.c
recovery.c
sb-downgrade.c
super-io.c
/linux/fs/btrfs/block-group.c
/linux/fs/btrfs/dir-item.c
/linux/fs/btrfs/disk-io.c
/linux/fs/btrfs/extent_io.c
/linux/fs/btrfs/extent_map.c
/linux/fs/btrfs/inode.c
/linux/fs/btrfs/qgroup.c
/linux/fs/btrfs/qgroup.h
/linux/fs/btrfs/super.c
/linux/fs/fuse/file.c
/linux/fs/fuse/passthrough.c
/linux/fs/jfs/jfs_dmap.c
/linux/fs/nfsd/nfs4state.c
/linux/fs/nfsd/state.h
/linux/fs/nilfs2/page.c
/linux/fs/ocfs2/file.c
/linux/fs/overlayfs/file.c
/linux/fs/smb/client/cifsfs.c
/linux/fs/smb/client/fs_context.c
/linux/fs/userfaultfd.c
/linux/fs/xfs/libxfs/xfs_ag.c
/linux/fs/xfs/libxfs/xfs_ag.h
/linux/fs/xfs/scrub/repair.c
/linux/fs/xfs/xfs_buf_item_recover.c
/linux/fs/xfs/xfs_fsops.c
/linux/fs/xfs/xfs_log_recover.c
/linux/fs/xfs/xfs_mount.c
/linux/include/linux/backing-file.h
/linux/include/linux/bpf.h
/linux/include/linux/bpf_mem_alloc.h
/linux/include/linux/bpf_types.h
/linux/include/linux/ksm.h
/linux/include/linux/mm.h
/linux/include/linux/netdevice.h
/linux/include/linux/uaccess.h
/linux/include/linux/userfaultfd_k.h
/linux/include/net/bluetooth/bluetooth.h
/linux/include/net/cfg80211.h
/linux/include/net/ieee80211_radiotap.h
/linux/include/net/ip_tunnels.h
/linux/include/net/netns/xfrm.h
/linux/include/net/xfrm.h
/linux/include/uapi/linux/bpf.h
/linux/include/uapi/sound/asoc.h
/linux/kernel/bpf/cgroup.c
/linux/kernel/bpf/helpers.c
/linux/kernel/bpf/inode.c
/linux/kernel/bpf/lpm_trie.c
/linux/kernel/bpf/memalloc.c
/linux/kernel/bpf/ringbuf.c
/linux/kernel/bpf/syscall.c
/linux/kernel/bpf/verifier.c
/linux/kernel/cgroup/cgroup.c
/linux/kernel/fork.c
/linux/kernel/resource.c
/linux/kernel/sched/ext.c
/linux/kernel/time/posix-clock.c
/linux/kernel/trace/bpf_trace.c
/linux/kernel/trace/fgraph.c
/linux/kernel/trace/trace_eprobe.c
/linux/kernel/trace/trace_fprobe.c
/linux/kernel/trace/trace_kprobe.c
/linux/kernel/trace/trace_probe.c
/linux/kernel/trace/trace_uprobe.c
/linux/lib/objpool.c
/linux/lib/slub_kunit.c
/linux/mm/Kconfig
/linux/mm/kasan/init.c
/linux/mm/memory.c
/linux/mm/mmap.c
/linux/mm/numa_memblks.c
/linux/mm/page_alloc.c
/linux/mm/pagewalk.c
/linux/mm/shmem.c
/linux/mm/slab_common.c
/linux/mm/sparse-vmemmap.c
/linux/mm/vma.c
/linux/mm/vma.h
/linux/net/bluetooth/af_bluetooth.c
/linux/net/bluetooth/hci_core.c
/linux/net/bluetooth/hci_sync.c
/linux/net/bluetooth/iso.c
/linux/net/bluetooth/sco.c
/linux/net/bpf/test_run.c
/linux/net/core/dev.c
/linux/net/core/filter.c
/linux/net/core/rtnetlink.c
/linux/net/core/sock_map.c
/linux/net/ipv4/ip_tunnel.c
/linux/net/ipv4/tcp_bpf.c
/linux/net/ipv4/xfrm4_policy.c
/linux/net/ipv6/netfilter/nf_reject_ipv6.c
/linux/net/ipv6/xfrm6_policy.c
/linux/net/mac80211/Kconfig
/linux/net/mac80211/cfg.c
/linux/net/mac80211/ieee80211_i.h
/linux/net/mac80211/key.c
/linux/net/mac80211/link.c
/linux/net/mac80211/main.c
/linux/net/mptcp/protocol.c
/linux/net/netfilter/nf_bpf_link.c
/linux/net/netfilter/nft_payload.c
/linux/net/netfilter/x_tables.c
/linux/net/netfilter/xt_NFLOG.c
/linux/net/netfilter/xt_TRACE.c
/linux/net/netfilter/xt_mark.c
/linux/net/sched/act_api.c
/linux/net/sched/cls_api.c
/linux/net/sched/sch_api.c
/linux/net/sched/sch_generic.c
/linux/net/sched/sch_taprio.c
/linux/net/wireless/core.c
/linux/net/wireless/scan.c
/linux/net/xfrm/xfrm_device.c
/linux/net/xfrm/xfrm_policy.c
/linux/net/xfrm/xfrm_user.c
/linux/sound/firewire/amdtp-stream.c
/linux/sound/hda/intel-dsp-config.c
/linux/sound/pci/hda/Kconfig
/linux/sound/pci/hda/patch_realtek.c
/linux/sound/soc/amd/yc/acp6x-mach.c
/linux/sound/soc/codecs/aw88399.c
/linux/sound/soc/codecs/cs42l51.c
/linux/sound/soc/codecs/lpass-rx-macro.c
/linux/sound/soc/codecs/max98388.c
/linux/sound/soc/codecs/pcm3060-i2c.c
/linux/sound/soc/codecs/pcm3060-spi.c
/linux/sound/soc/codecs/pcm3060.c
/linux/sound/soc/codecs/pcm3060.h
/linux/sound/soc/codecs/rt5640.c
/linux/sound/soc/codecs/rt722-sdca-sdw.c
/linux/sound/soc/codecs/wcd937x.c
/linux/sound/soc/codecs/wcd937x.h
/linux/sound/soc/fsl/fsl_esai.c
/linux/sound/soc/fsl/fsl_micfil.c
/linux/sound/soc/intel/atom/sst/sst_acpi.c
/linux/sound/soc/intel/avs/core.c
/linux/sound/soc/intel/avs/pcm.c
/linux/sound/soc/intel/avs/pcm.h
/linux/sound/soc/intel/boards/bytcr_rt5640.c
/linux/sound/soc/intel/common/soc-acpi-intel-lnl-match.c
/linux/sound/soc/loongson/loongson_card.c
/linux/sound/soc/qcom/Kconfig
/linux/sound/soc/qcom/lpass-cpu.c
/linux/sound/soc/qcom/sc7280.c
/linux/sound/soc/qcom/sdm845.c
/linux/sound/soc/sh/rcar/core.c
/linux/sound/soc/soc-dapm.c
/linux/sound/soc/sof/amd/acp-loader.c
/linux/sound/soc/sof/amd/acp.c
/linux/sound/soc/sof/intel/hda-dai-ops.c
/linux/sound/soc/sof/intel/hda-dai.c
/linux/sound/soc/sof/intel/hda-loader.c
/linux/sound/soc/sof/ipc4-topology.c
/linux/sound/usb/mixer_quirks.c
/linux/tools/arch/arm64/include/asm/cputype.h
/linux/tools/arch/x86/include/asm/msr-index.h
/linux/tools/arch/x86/include/uapi/asm/kvm.h
/linux/tools/arch/x86/include/uapi/asm/unistd_32.h
/linux/tools/arch/x86/include/uapi/asm/unistd_64.h
/linux/tools/include/linux/bits.h
/linux/tools/include/linux/unaligned.h
/linux/tools/include/uapi/linux/bits.h
/linux/tools/include/uapi/linux/bpf.h
/linux/tools/include/uapi/linux/const.h
/linux/tools/include/vdso/unaligned.h
/linux/tools/perf/Makefile.config
/linux/tools/perf/builtin-trace.c
/linux/tools/perf/check-headers.sh
/linux/tools/perf/tests/shell/base_probe/test_adding_blacklisted.sh
/linux/tools/perf/util/bpf_skel/augmented_raw_syscalls.bpf.c
/linux/tools/perf/util/cap.c
/linux/tools/perf/util/python.c
/linux/tools/perf/util/syscalltbl.c
/linux/tools/sched_ext/include/scx/common.bpf.h
/linux/tools/testing/selftests/bpf/map_tests/lpm_trie_map_get_next_key.c
/linux/tools/testing/selftests/bpf/prog_tests/verifier.c
/linux/tools/testing/selftests/bpf/progs/verifier_bits_iter.c
/linux/tools/testing/selftests/bpf/progs/verifier_bpf_fastcall.c
/linux/tools/testing/selftests/bpf/progs/verifier_const.c
/linux/tools/testing/selftests/bpf/progs/verifier_mtu.c
/linux/tools/testing/selftests/bpf/progs/verifier_search_pruning.c
/linux/tools/testing/selftests/bpf/veristat.cfg
/linux/tools/testing/selftests/mm/uffd-common.c
/linux/tools/testing/selftests/mm/uffd-common.h
/linux/tools/testing/selftests/mm/uffd-unit-tests.c
/linux/tools/testing/selftests/net/forwarding/ip6gre_flat.sh
/linux/tools/testing/selftests/net/forwarding/ip6gre_flat_key.sh
/linux/tools/testing/selftests/net/forwarding/ip6gre_flat_keys.sh
/linux/tools/testing/selftests/net/forwarding/ip6gre_hier.sh
/linux/tools/testing/selftests/net/forwarding/ip6gre_hier_key.sh
/linux/tools/testing/selftests/net/forwarding/ip6gre_hier_keys.sh
/linux/tools/testing/selftests/net/forwarding/ip6gre_lib.sh
/linux/tools/testing/selftests/net/mptcp/mptcp_connect.sh
/linux/tools/testing/selftests/net/netfilter/conntrack_dump_flush.c
/linux/tools/testing/selftests/net/netfilter/nft_flowtable.sh
/linux/tools/testing/selftests/sched_ext/Makefile
/linux/tools/testing/selftests/sched_ext/create_dsq.bpf.c
/linux/tools/testing/selftests/sched_ext/ddsp_bogus_dsq_fail.bpf.c
/linux/tools/testing/selftests/sched_ext/ddsp_vtimelocal_fail.bpf.c
/linux/tools/testing/selftests/sched_ext/dsp_local_on.bpf.c
/linux/tools/testing/selftests/sched_ext/enq_last_no_enq_fails.bpf.c
/linux/tools/testing/selftests/sched_ext/enq_last_no_enq_fails.c
/linux/tools/testing/selftests/sched_ext/enq_select_cpu_fails.bpf.c
/linux/tools/testing/selftests/sched_ext/exit.bpf.c
/linux/tools/testing/selftests/sched_ext/hotplug.bpf.c
/linux/tools/testing/selftests/sched_ext/init_enable_count.bpf.c
/linux/tools/testing/selftests/sched_ext/maximal.bpf.c
/linux/tools/testing/selftests/sched_ext/maybe_null.bpf.c
/linux/tools/testing/selftests/sched_ext/maybe_null_fail_dsp.bpf.c
/linux/tools/testing/selftests/sched_ext/maybe_null_fail_yld.bpf.c
/linux/tools/testing/selftests/sched_ext/prog_run.bpf.c
/linux/tools/testing/selftests/sched_ext/select_cpu_dfl.bpf.c
/linux/tools/testing/selftests/sched_ext/select_cpu_dfl_nodispatch.bpf.c
/linux/tools/testing/selftests/sched_ext/select_cpu_dispatch.bpf.c
/linux/tools/testing/selftests/sched_ext/select_cpu_dispatch_bad_dsq.bpf.c
/linux/tools/testing/selftests/sched_ext/select_cpu_dispatch_dbl_dsp.bpf.c
/linux/tools/testing/selftests/sched_ext/select_cpu_vtime.bpf.c
/linux/tools/testing/vma/vma.c
3726a19727-Oct-2024 Piotr Zalewski <pZ010001011111@proton.me>

bcachefs: Fix NULL ptr dereference in btree_node_iter_and_journal_peek

Add NULL check for key returned from bch2_btree_and_journal_iter_peek in
btree_node_iter_and_journal_peek to avoid NULL ptr der

bcachefs: Fix NULL ptr dereference in btree_node_iter_and_journal_peek

Add NULL check for key returned from bch2_btree_and_journal_iter_peek in
btree_node_iter_and_journal_peek to avoid NULL ptr dereference in
bch2_bkey_buf_reassemble.

When key returned from bch2_btree_and_journal_iter_peek is NULL it means
that btree topology needs repair. Print topology error message with
position at which node wasn't found, its parent node information and
btree_id with level.

Return error code returned by bch2_topology_error to ensure that topology
error is handled properly by recovery.

Reported-by: syzbot+005ef9aa519f30d97657@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=005ef9aa519f30d97657
Fixes: 5222a4607cd8 ("bcachefs: BTREE_ITER_WITH_JOURNAL")
Suggested-by: Alan Huang <mmpgouride@gmail.com>
Suggested-by: Kent Overstreet <kent.overstreet@linux.dev>
Signed-off-by: Piotr Zalewski <pZ010001011111@proton.me>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

show more ...

ca959e3226-Oct-2024 Gaosheng Cui <cuigaosheng1@huawei.com>

bcachefs: fix possible null-ptr-deref in __bch2_ec_stripe_head_get()

The function ec_new_stripe_head_alloc() returns nullptr if kzalloc()
fails. It is crucial to verify its return value before deref

bcachefs: fix possible null-ptr-deref in __bch2_ec_stripe_head_get()

The function ec_new_stripe_head_alloc() returns nullptr if kzalloc()
fails. It is crucial to verify its return value before dereferencing
it to avoid a potential nullptr dereference.

Fixes: 035d72f72c91 ("bcachefs: bch2_ec_stripe_head_get() now checks for change in rw devices")
Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

show more ...

778ac32427-Oct-2024 Kent Overstreet <kent.overstreet@linux.dev>

bcachefs: Fix deadlock on -ENOSPC w.r.t. partial open buckets

Open buckets on the partial list should not count as allocated when
we're trying to allocate from the partial list.

Signed-off-by: Kent

bcachefs: Fix deadlock on -ENOSPC w.r.t. partial open buckets

Open buckets on the partial list should not count as allocated when
we're trying to allocate from the partial list.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

show more ...

e0fafac518-Oct-2024 Kent Overstreet <kent.overstreet@linux.dev>

bcachefs: Don't filter partial list buckets in open_buckets_to_text()

these are an important source of stranded buckets we need to be able to
watch

Signed-off-by: Kent Overstreet <kent.overstreet@l

bcachefs: Don't filter partial list buckets in open_buckets_to_text()

these are an important source of stranded buckets we need to be able to
watch

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

show more ...

a34eef6d21-Oct-2024 Kent Overstreet <kent.overstreet@linux.dev>

bcachefs: Don't keep tons of cached pointers around

We had a bug report where the data update path was creating an extent
that failed to validate because it had too many pointers; almost all of
them

bcachefs: Don't keep tons of cached pointers around

We had a bug report where the data update path was creating an extent
that failed to validate because it had too many pointers; almost all of
them were cached.

To fix this, we have:
- want_cached_ptr(), a new helper that checks if we even want a cached
pointer (is on appropriate target, device is readable).

- bch2_extent_set_ptr_cached() now only sets a pointer cached if we want
it.

- bch2_extent_normalize_by_opts() now ensures that we only have a single
cached pointer that we want.

While working on this, it was noticed that this doesn't work well with
reflinked data and per-file options. Another patch series is coming that
plumbs through additional io path options through bch_extent_rebalance,
with improved option handling.

Reported-by: Reed Riley <reed@riley.engineer>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

show more ...

3fd27e9c26-Oct-2024 Piotr Zalewski <pZ010001011111@proton.me>

bcachefs: init freespace inited bits to 0 in bch2_fs_initialize

Initialize freespace_initialized bits to 0 in member's flags and update
member's cached version for each device in bch2_fs_initialize.

bcachefs: init freespace inited bits to 0 in bch2_fs_initialize

Initialize freespace_initialized bits to 0 in member's flags and update
member's cached version for each device in bch2_fs_initialize.

It's possible for the bits to be set to 1 before fs is initialized and if
call to bch2_trans_mark_dev_sbs (just before bch2_fs_freespace_init) fails
bits remain to be 1 which can later indirectly trigger BUG condition in
bch2_bucket_alloc_freelist during shutdown.

Reported-by: syzbot+2b6a17991a6af64f9489@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=2b6a17991a6af64f9489
Fixes: bbe682c76789 ("bcachefs: Ensure devices are always correctly initialized")
Suggested-by: Kent Overstreet <kent.overstreet@linux.dev>
Signed-off-by: Piotr Zalewski <pZ010001011111@proton.me>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

show more ...

c1fa854a26-Oct-2024 Kent Overstreet <kent.overstreet@linux.dev>

bcachefs: Fix unhandled transaction restart in fallocate

This used to not matter, but now we're being more strict.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

8e910ca225-Oct-2024 Kent Overstreet <kent.overstreet@linux.dev>

bcachefs: Fix UAF in bch2_reconstruct_alloc()

write_super() -> sb_counters_from_cpu() may reallocate the superblock

Reported-by: syzbot+9fc4dac4775d07bcfe34@syzkaller.appspotmail.com
Signed-off-by:

bcachefs: Fix UAF in bch2_reconstruct_alloc()

write_super() -> sb_counters_from_cpu() may reallocate the superblock

Reported-by: syzbot+9fc4dac4775d07bcfe34@syzkaller.appspotmail.com
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

show more ...

a25a83de23-Oct-2024 Jeongjun Park <aha310510@gmail.com>

bcachefs: fix null-ptr-deref in have_stripes()

c->btree_roots_known[i].b can be NULL. In this case, a NULL pointer dereference
occurs, so you need to add code to check the variable.

Reported-by: sy

bcachefs: fix null-ptr-deref in have_stripes()

c->btree_roots_known[i].b can be NULL. In this case, a NULL pointer dereference
occurs, so you need to add code to check the variable.

Reported-by: syzbot+b468b9fef56949c3b528@syzkaller.appspotmail.com
Fixes: 7773df19c35f ("bcachefs: metadata version bucket_stripe_sectors")
Signed-off-by: Jeongjun Park <aha310510@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

show more ...

5c41f75d21-Oct-2024 Jeongjun Park <aha310510@gmail.com>

bcachefs: fix shift oob in alloc_lru_idx_fragmentation

The size of a.data_type is set abnormally large, causing shift-out-of-bounds.
To fix this, we need to add validation on a.data_type in
alloc_lr

bcachefs: fix shift oob in alloc_lru_idx_fragmentation

The size of a.data_type is set abnormally large, causing shift-out-of-bounds.
To fix this, we need to add validation on a.data_type in
alloc_lru_idx_fragmentation().

Reported-by: syzbot+7f45fa9805c40db3f108@syzkaller.appspotmail.com
Fixes: 260af1562ec1 ("bcachefs: Kill alloc_v4.fragmentation_lru")
Signed-off-by: Jeongjun Park <aha310510@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

show more ...

2045fc4223-Oct-2024 Gianfranco Trad <gianf.trad@gmail.com>

bcachefs: Fix invalid shift in validate_sb_layout()

Add check on layout->sb_max_size_bits against BCH_SB_LAYOUT_SIZE_BITS_MAX
to prevent UBSAN shift-out-of-bounds in validate_sb_layout().

Reported-

bcachefs: Fix invalid shift in validate_sb_layout()

Add check on layout->sb_max_size_bits against BCH_SB_LAYOUT_SIZE_BITS_MAX
to prevent UBSAN shift-out-of-bounds in validate_sb_layout().

Reported-by: syzbot+089fad5a3a5e77825426@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=089fad5a3a5e77825426
Fixes: 03ef80b469d5 ("bcachefs: Ignore unknown mount options")
Tested-by: syzbot+089fad5a3a5e77825426@syzkaller.appspotmail.com
Signed-off-by: Gianfranco Trad <gianf.trad@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

show more ...

c1e8227524-Oct-2024 Linus Torvalds <torvalds@linux-foundation.org>

Merge tag 'bcachefs-2024-10-22' of https://github.com/koverstreet/bcachefs

Pull bcachefs fixes from Kent Overstreet:
"Lots of hotfixes:

- transaction restart injection has been shaking out a fe

Merge tag 'bcachefs-2024-10-22' of https://github.com/koverstreet/bcachefs

Pull bcachefs fixes from Kent Overstreet:
"Lots of hotfixes:

- transaction restart injection has been shaking out a few things

- fix a data corruption in the buffered write path on -ENOSPC, found
by xfstests generic/299

- Some small show_options fixes

- Repair mismatches in inode hash type, seed: different snapshot
versions of an inode must have the same hash/type seed, used for
directory entries and xattrs. We were checking the hash seed, but
not the type, and a user contributed a filesystem where the hash
type on one inode had somehow been flipped; these fixes allow his
filesystem to repair.

Additionally, the hash type flip made some directory entries
invisible, which were then recreated by userspace; so the hash
check code now checks for duplicate non dangling dirents, and
renames one of them if necessary.

- Don't use wait_event_interruptible() in recovery: this fixes some
filesystems failing to mount with -ERESTARTSYS

- Workaround for kvmalloc not supporting > INT_MAX allocations,
causing an -ENOMEM when allocating the sorted array of journal
keys: this allows a 75 TB filesystem to mount

- Make sure bch_inode_unpacked.bi_snapshot is set in the old inode
compat path: this alllows Marcin's filesystem (in use since before
6.7) to repair and mount"

* tag 'bcachefs-2024-10-22' of https://github.com/koverstreet/bcachefs: (26 commits)
bcachefs: Set bch_inode_unpacked.bi_snapshot in old inode path
bcachefs: Mark more errors as AUTOFIX
bcachefs: Workaround for kvmalloc() not supporting > INT_MAX allocations
bcachefs: Don't use wait_event_interruptible() in recovery
bcachefs: Fix __bch2_fsck_err() warning
bcachefs: fsck: Improve hash_check_key()
bcachefs: bch2_hash_set_or_get_in_snapshot()
bcachefs: Repair mismatches in inode hash seed, type
bcachefs: Add hash seed, type to inode_to_text()
bcachefs: INODE_STR_HASH() for bch_inode_unpacked
bcachefs: Run in-kernel offline fsck without ratelimit errors
bcachefs: skip mount option handle for empty string.
bcachefs: fix incorrect show_options results
bcachefs: Fix data corruption on -ENOSPC in buffered write path
bcachefs: bch2_folio_reservation_get_partial() is now better behaved
bcachefs: fix disk reservation accounting in bch2_folio_reservation_get()
bcachefS: ec: fix data type on stripe deletion
bcachefs: Don't use commit_do() unnecessarily
bcachefs: handle restarts in bch2_bucket_io_time_reset()
bcachefs: fix restart handling in __bch2_resume_logged_op_finsert()
...

show more ...


/linux/.mailmap
/linux/Documentation/admin-guide/LSM/ipe.rst
/linux/Documentation/core-api/protection-keys.rst
/linux/Documentation/devicetree/bindings/iio/dac/adi,ad5686.yaml
/linux/Documentation/devicetree/bindings/iio/dac/adi,ad5696.yaml
/linux/Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml
/linux/Documentation/filesystems/iomap/operations.rst
/linux/Documentation/filesystems/netfs_library.rst
/linux/Documentation/mm/damon/maintainer-profile.rst
/linux/Documentation/process/maintainer-soc.rst
/linux/Documentation/virt/kvm/api.rst
/linux/Documentation/virt/kvm/locking.rst
/linux/MAINTAINERS
/linux/Makefile
/linux/arch/Kconfig
/linux/arch/arm/boot/dts/broadcom/bcm2837-rpi-cm3-io3.dts
/linux/arch/arm64/boot/dts/marvell/cn9130-sr-som.dtsi
/linux/arch/arm64/include/asm/kvm_asm.h
/linux/arch/arm64/include/asm/kvm_host.h
/linux/arch/arm64/include/asm/kvm_mmu.h
/linux/arch/arm64/include/asm/kvm_nested.h
/linux/arch/arm64/include/asm/uprobes.h
/linux/arch/arm64/kernel/asm-offsets.c
/linux/arch/arm64/kernel/probes/decode-insn.c
/linux/arch/arm64/kernel/probes/simulate-insn.c
/linux/arch/arm64/kernel/probes/uprobes.c
/linux/arch/arm64/kernel/process.c
/linux/arch/arm64/kvm/arm.c
/linux/arch/arm64/kvm/hyp/nvhe/hyp-init.S
/linux/arch/arm64/kvm/hypercalls.c
/linux/arch/arm64/kvm/mmu.c
/linux/arch/arm64/kvm/nested.c
/linux/arch/arm64/kvm/sys_regs.c
/linux/arch/arm64/kvm/vgic/vgic-init.c
/linux/arch/arm64/kvm/vgic/vgic-kvm-device.c
/linux/arch/powerpc/platforms/powernv/opal-irqchip.c
/linux/arch/riscv/kvm/aia_imsic.c
/linux/arch/riscv/net/bpf_jit_comp64.c
/linux/arch/s390/configs/debug_defconfig
/linux/arch/s390/configs/defconfig
/linux/arch/s390/configs/zfcpdump_defconfig
/linux/arch/s390/include/asm/perf_event.h
/linux/arch/s390/kvm/diag.c
/linux/arch/s390/kvm/gaccess.c
/linux/arch/s390/kvm/gaccess.h
/linux/arch/s390/pci/pci_event.c
/linux/arch/x86/entry/entry.S
/linux/arch/x86/entry/entry_32.S
/linux/arch/x86/include/asm/cpufeatures.h
/linux/arch/x86/include/asm/nospec-branch.h
/linux/arch/x86/kernel/amd_nb.c
/linux/arch/x86/kernel/apic/apic.c
/linux/arch/x86/kernel/cpu/amd.c
/linux/arch/x86/kernel/cpu/bugs.c
/linux/arch/x86/kernel/cpu/common.c
/linux/arch/x86/kernel/cpu/resctrl/core.c
/linux/arch/x86/kernel/cpu/resctrl/ctrlmondata.c
/linux/arch/x86/kernel/kvm.c
/linux/arch/x86/kvm/mmu/mmu.c
/linux/arch/x86/kvm/svm/nested.c
/linux/arch/x86/kvm/vmx/vmx.c
/linux/block/blk-mq.c
/linux/block/blk-rq-qos.c
/linux/block/elevator.c
/linux/crypto/algapi.c
/linux/crypto/testmgr.c
/linux/drivers/accel/qaic/qaic_control.c
/linux/drivers/accel/qaic/qaic_data.c
/linux/drivers/block/drbd/drbd_int.h
/linux/drivers/block/drbd/drbd_main.c
/linux/drivers/block/ublk_drv.c
/linux/drivers/bluetooth/btusb.c
/linux/drivers/cdrom/cdrom.c
/linux/drivers/clk/clk_test.c
/linux/drivers/clk/rockchip/clk.c
/linux/drivers/clk/samsung/clk-exynosautov920.c
/linux/drivers/cpufreq/amd-pstate.c
/linux/drivers/crypto/marvell/cesa/hash.c
/linux/drivers/dma/ep93xx_dma.c
/linux/drivers/firmware/arm_ffa/driver.c
/linux/drivers/firmware/arm_scmi/driver.c
/linux/drivers/firmware/arm_scmi/transports/Makefile
/linux/drivers/firmware/arm_scmi/transports/mailbox.c
/linux/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
/linux/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
/linux/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
/linux/drivers/gpu/drm/amd/amdgpu/mes_v12_0.c
/linux/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
/linux/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
/linux/drivers/gpu/drm/amd/amdkfd/kfd_process.c
/linux/drivers/gpu/drm/amd/amdkfd/kfd_svm.c
/linux/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c
/linux/drivers/gpu/drm/ast/ast_sil164.c
/linux/drivers/gpu/drm/ast/ast_vga.c
/linux/drivers/gpu/drm/i915/display/intel_dp_mst.c
/linux/drivers/gpu/drm/i915/display/intel_fb.c
/linux/drivers/gpu/drm/i915/display/intel_fb.h
/linux/drivers/gpu/drm/i915/display/skl_universal_plane.c
/linux/drivers/gpu/drm/mgag200/mgag200_drv.c
/linux/drivers/gpu/drm/mgag200/mgag200_drv.h
/linux/drivers/gpu/drm/mgag200/mgag200_g200.c
/linux/drivers/gpu/drm/mgag200/mgag200_g200eh.c
/linux/drivers/gpu/drm/mgag200/mgag200_g200eh3.c
/linux/drivers/gpu/drm/mgag200/mgag200_g200er.c
/linux/drivers/gpu/drm/mgag200/mgag200_g200ev.c
/linux/drivers/gpu/drm/mgag200/mgag200_g200ew3.c
/linux/drivers/gpu/drm/mgag200/mgag200_g200se.c
/linux/drivers/gpu/drm/mgag200/mgag200_g200wb.c
/linux/drivers/gpu/drm/mgag200/mgag200_mode.c
/linux/drivers/gpu/drm/msm/adreno/a6xx_gpu.c
/linux/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
/linux/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
/linux/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c
/linux/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c
/linux/drivers/gpu/drm/msm/disp/msm_disp_snapshot_util.c
/linux/drivers/gpu/drm/msm/dsi/dsi_host.c
/linux/drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c
/linux/drivers/gpu/drm/panel/panel-himax-hx83102.c
/linux/drivers/gpu/drm/radeon/radeon_encoders.c
/linux/drivers/gpu/drm/vmwgfx/vmwgfx_blit.c
/linux/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
/linux/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
/linux/drivers/gpu/drm/vmwgfx/vmwgfx_kms.h
/linux/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
/linux/drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
/linux/drivers/gpu/drm/xe/regs/xe_gt_regs.h
/linux/drivers/gpu/drm/xe/xe_device.c
/linux/drivers/gpu/drm/xe/xe_exec.c
/linux/drivers/gpu/drm/xe/xe_gpu_scheduler.h
/linux/drivers/gpu/drm/xe/xe_gt.c
/linux/drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c
/linux/drivers/gpu/drm/xe/xe_gt_tlb_invalidation.h
/linux/drivers/gpu/drm/xe/xe_guc_submit.c
/linux/drivers/gpu/drm/xe/xe_query.c
/linux/drivers/gpu/drm/xe/xe_sync.c
/linux/drivers/gpu/drm/xe/xe_vm.c
/linux/drivers/gpu/drm/xe/xe_wa.c
/linux/drivers/gpu/drm/xe/xe_wait_user_fence.c
/linux/drivers/gpu/host1x/context.c
/linux/drivers/gpu/host1x/dev.c
/linux/drivers/hwmon/jc42.c
/linux/drivers/iio/accel/Kconfig
/linux/drivers/iio/accel/bma400_core.c
/linux/drivers/iio/adc/Kconfig
/linux/drivers/iio/amplifiers/Kconfig
/linux/drivers/iio/chemical/Kconfig
/linux/drivers/iio/common/hid-sensors/hid-sensor-trigger.c
/linux/drivers/iio/dac/Kconfig
/linux/drivers/iio/dac/ltc2664.c
/linux/drivers/iio/frequency/Kconfig
/linux/drivers/iio/imu/bmi323/bmi323_core.c
/linux/drivers/iio/light/Kconfig
/linux/drivers/iio/light/opt3001.c
/linux/drivers/iio/light/veml6030.c
/linux/drivers/iio/magnetometer/Kconfig
/linux/drivers/iio/pressure/Kconfig
/linux/drivers/iio/proximity/Kconfig
/linux/drivers/iio/resolver/Kconfig
/linux/drivers/infiniband/core/addr.c
/linux/drivers/infiniband/core/nldev.c
/linux/drivers/infiniband/hw/bnxt_re/hw_counters.c
/linux/drivers/infiniband/hw/bnxt_re/ib_verbs.c
/linux/drivers/infiniband/hw/bnxt_re/main.c
/linux/drivers/infiniband/hw/bnxt_re/qplib_fp.c
/linux/drivers/infiniband/hw/bnxt_re/qplib_fp.h
/linux/drivers/infiniband/hw/bnxt_re/qplib_rcfw.c
/linux/drivers/infiniband/hw/bnxt_re/qplib_res.c
/linux/drivers/infiniband/hw/bnxt_re/qplib_sp.c
/linux/drivers/infiniband/hw/bnxt_re/qplib_sp.h
/linux/drivers/infiniband/hw/cxgb4/cm.c
/linux/drivers/infiniband/hw/irdma/cm.c
/linux/drivers/infiniband/sw/siw/siw_qp_tx.c
/linux/drivers/infiniband/ulp/srpt/ib_srpt.c
/linux/drivers/input/joystick/xpad.c
/linux/drivers/input/touchscreen/zinitix.c
/linux/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
/linux/drivers/iommu/arm/arm-smmu/arm-smmu-impl.c
/linux/drivers/iommu/intel/iommu.c
/linux/drivers/irqchip/Kconfig
/linux/drivers/irqchip/irq-gic-v3-its.c
/linux/drivers/irqchip/irq-mscc-ocelot.c
/linux/drivers/irqchip/irq-renesas-rzg2l.c
/linux/drivers/irqchip/irq-riscv-imsic-platform.c
/linux/drivers/irqchip/irq-riscv-intc.c
/linux/drivers/irqchip/irq-sifive-plic.c
/linux/drivers/misc/cardreader/Kconfig
/linux/drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_otpe2p.c
/linux/drivers/net/dsa/mv88e6xxx/chip.c
/linux/drivers/net/dsa/vitesse-vsc73xx-core.c
/linux/drivers/net/ethernet/aeroflex/greth.c
/linux/drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c
/linux/drivers/net/ethernet/broadcom/bcmsysport.c
/linux/drivers/net/ethernet/cadence/macb_main.c
/linux/drivers/net/ethernet/freescale/enetc/enetc.c
/linux/drivers/net/ethernet/freescale/enetc/enetc.h
/linux/drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
/linux/drivers/net/ethernet/mediatek/mtk_eth_soc.c
/linux/drivers/net/ethernet/mellanox/mlx5/core/cmd.c
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
/linux/drivers/net/ethernet/mellanox/mlx5/core/eq.c
/linux/drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_context.h
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_definer.c
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c
/linux/drivers/net/ethernet/microchip/lan743x_ptp.c
/linux/drivers/net/ethernet/microchip/sparx5/sparx5_mirror.c
/linux/drivers/net/ethernet/microchip/vcap/vcap_api_kunit.c
/linux/drivers/net/ethernet/renesas/ravb_main.c
/linux/drivers/net/ethernet/renesas/rtsn.c
/linux/drivers/net/ethernet/stmicro/stmmac/dwmac-tegra.c
/linux/drivers/net/ethernet/xilinx/xilinx_axienet_main.c
/linux/drivers/net/macsec.c
/linux/drivers/net/mdio/mdio-bcm-unimac.c
/linux/drivers/net/netdevsim/dev.c
/linux/drivers/net/usb/usbnet.c
/linux/drivers/net/vmxnet3/vmxnet3_xdp.c
/linux/drivers/nvme/host/core.c
/linux/drivers/nvme/host/multipath.c
/linux/drivers/nvme/host/nvme.h
/linux/drivers/nvme/host/pci.c
/linux/drivers/nvme/host/tcp.c
/linux/drivers/nvme/target/loop.c
/linux/drivers/nvme/target/passthru.c
/linux/drivers/nvme/target/rdma.c
/linux/drivers/parport/procfs.c
/linux/drivers/pinctrl/intel/Kconfig
/linux/drivers/pinctrl/intel/pinctrl-intel-platform.c
/linux/drivers/pinctrl/nuvoton/pinctrl-ma35.c
/linux/drivers/pinctrl/pinctrl-apple-gpio.c
/linux/drivers/pinctrl/pinctrl-aw9523.c
/linux/drivers/pinctrl/pinctrl-ocelot.c
/linux/drivers/pinctrl/sophgo/pinctrl-cv18xx.c
/linux/drivers/pinctrl/stm32/pinctrl-stm32.c
/linux/drivers/powercap/intel_rapl_msr.c
/linux/drivers/reset/reset-npcm.c
/linux/drivers/reset/starfive/reset-starfive-jh71x0.c
/linux/drivers/s390/char/sclp.c
/linux/drivers/s390/char/sclp_vt220.c
/linux/drivers/s390/crypto/ap_bus.c
/linux/drivers/s390/crypto/ap_bus.h
/linux/drivers/s390/crypto/ap_queue.c
/linux/drivers/s390/crypto/pkey_pckmo.c
/linux/drivers/scsi/mpi3mr/mpi3mr.h
/linux/drivers/scsi/mpi3mr/mpi3mr_transport.c
/linux/drivers/soc/fsl/qe/qmc.c
/linux/drivers/target/target_core_device.c
/linux/drivers/target/target_core_user.c
/linux/drivers/tty/n_gsm.c
/linux/drivers/tty/serial/imx.c
/linux/drivers/tty/serial/qcom_geni_serial.c
/linux/drivers/tty/vt/vt.c
/linux/drivers/ufs/core/ufs-mcq.c
/linux/drivers/ufs/core/ufshcd.c
/linux/drivers/usb/dwc3/core.c
/linux/drivers/usb/dwc3/core.h
/linux/drivers/usb/dwc3/gadget.c
/linux/drivers/usb/gadget/function/f_uac2.c
/linux/drivers/usb/gadget/udc/dummy_hcd.c
/linux/drivers/usb/host/xhci-dbgcap.h
/linux/drivers/usb/host/xhci-dbgtty.c
/linux/drivers/usb/host/xhci-ring.c
/linux/drivers/usb/host/xhci-tegra.c
/linux/drivers/usb/host/xhci.h
/linux/drivers/usb/serial/option.c
/linux/drivers/usb/typec/class.c
/linux/drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_port.c
/linux/drivers/xen/Kconfig
/linux/drivers/xen/acpi.c
/linux/drivers/xen/privcmd.c
/linux/drivers/xen/xen-pciback/pci_stub.c
/linux/fs/9p/fid.c
/linux/fs/afs/internal.h
/linux/fs/afs/rxrpc.c
alloc_background.c
alloc_foreground.c
btree_gc.c
btree_io.c
btree_iter.h
btree_update.c
btree_update.h
btree_update_interior.c
buckets.c
buckets.h
chardev.c
darray.c
dirent.c
dirent.h
disk_accounting.c
ec.c
error.c
fs-io-buffered.c
fs-io-pagecache.c
fs-io.c
fs.c
fsck.c
inode.c
inode.h
inode_format.h
io_misc.c
io_read.c
io_write.c
journal.c
journal.h
opts.c
opts.h
quota.c
rebalance.c
recovery.c
sb-errors_format.h
str_hash.h
subvolume.c
super.c
tests.c
xattr.c
/linux/fs/btrfs/delayed-ref.c
/linux/fs/btrfs/delayed-ref.h
/linux/fs/btrfs/qgroup.c
/linux/fs/btrfs/send.c
/linux/fs/btrfs/tree-log.c
/linux/fs/fat/namei_vfat.c
/linux/fs/iomap/buffered-io.c
/linux/fs/namespace.c
/linux/fs/netfs/buffered_read.c
/linux/fs/netfs/locking.c
/linux/fs/netfs/read_collect.c
/linux/fs/nilfs2/dir.c
/linux/fs/nilfs2/namei.c
/linux/fs/nilfs2/nilfs.h
/linux/fs/nilfs2/page.c
/linux/fs/ocfs2/file.c
/linux/fs/open.c
/linux/fs/proc/fd.c
/linux/fs/proc/task_mmu.c
/linux/fs/smb/client/cifsproto.h
/linux/fs/smb/client/compress.c
/linux/fs/smb/client/connect.c
/linux/fs/smb/client/sess.c
/linux/fs/smb/client/smb2ops.c
/linux/fs/smb/client/smb2pdu.c
/linux/fs/smb/server/auth.c
/linux/fs/smb/server/ksmbd_netlink.h
/linux/fs/smb/server/mgmt/user_config.c
/linux/fs/smb/server/mgmt/user_config.h
/linux/fs/smb/server/mgmt/user_session.c
/linux/fs/smb/server/mgmt/user_session.h
/linux/fs/smb/server/server.c
/linux/fs/smb/server/smb2pdu.c
/linux/fs/smb/server/smb_common.c
/linux/fs/smb/server/transport_ipc.c
/linux/fs/smb/server/transport_ipc.h
/linux/fs/xfs/scrub/bmap_repair.c
/linux/fs/xfs/xfs_aops.c
/linux/fs/xfs/xfs_bmap_util.c
/linux/fs/xfs/xfs_bmap_util.h
/linux/fs/xfs/xfs_file.c
/linux/fs/xfs/xfs_iomap.c
/linux/include/linux/fsl/enetc_mdio.h
/linux/include/linux/host1x.h
/linux/include/linux/huge_mm.h
/linux/include/linux/iomap.h
/linux/include/linux/irqchip/arm-gic-v4.h
/linux/include/linux/kvm_host.h
/linux/include/linux/percpu.h
/linux/include/linux/sched.h
/linux/include/linux/soc/qcom/geni-se.h
/linux/include/linux/soundwire/sdw_intel.h
/linux/include/linux/task_work.h
/linux/include/net/genetlink.h
/linux/include/net/sock.h
/linux/include/trace/events/dma.h
/linux/include/trace/events/huge_memory.h
/linux/include/trace/events/netfs.h
/linux/include/uapi/linux/bpf.h
/linux/include/uapi/linux/ublk_cmd.h
/linux/include/xen/acpi.h
/linux/init/Kconfig
/linux/io_uring/io_uring.h
/linux/io_uring/rsrc.c
/linux/io_uring/rw.c
/linux/kernel/bpf/bpf_lsm.c
/linux/kernel/bpf/btf.c
/linux/kernel/bpf/devmap.c
/linux/kernel/bpf/log.c
/linux/kernel/bpf/ringbuf.c
/linux/kernel/bpf/syscall.c
/linux/kernel/bpf/task_iter.c
/linux/kernel/bpf/verifier.c
/linux/kernel/events/core.c
/linux/kernel/freezer.c
/linux/kernel/rcu/tasks.h
/linux/kernel/sched/core.c
/linux/kernel/sched/deadline.c
/linux/kernel/sched/ext.c
/linux/kernel/sched/fair.c
/linux/kernel/sched/sched.h
/linux/kernel/sched/stats.h
/linux/kernel/sched/syscalls.c
/linux/kernel/task_work.c
/linux/kernel/time/posix-clock.c
/linux/kernel/time/tick-sched.c
/linux/kernel/trace/bpf_trace.c
/linux/kernel/trace/fgraph.c
/linux/kernel/trace/ring_buffer.c
/linux/kernel/trace/trace.c
/linux/kernel/trace/trace_selftest.c
/linux/kernel/trace/trace_uprobe.c
/linux/lib/Kconfig.debug
/linux/lib/Kconfig.kasan
/linux/lib/buildid.c
/linux/lib/codetag.c
/linux/lib/crypto/mpi/mpi-mul.c
/linux/lib/maple_tree.c
/linux/mm/damon/tests/sysfs-kunit.h
/linux/mm/huge_memory.c
/linux/mm/khugepaged.c
/linux/mm/memory.c
/linux/mm/mmap.c
/linux/mm/mremap.c
/linux/mm/shmem.c
/linux/mm/swapfile.c
/linux/mm/vmscan.c
/linux/net/9p/client.c
/linux/net/bluetooth/af_bluetooth.c
/linux/net/bluetooth/bnep/core.c
/linux/net/bluetooth/iso.c
/linux/net/core/filter.c
/linux/net/core/sock_map.c
/linux/net/ipv4/devinet.c
/linux/net/ipv4/inet_connection_sock.c
/linux/net/ipv4/udp.c
/linux/net/ipv6/udp.c
/linux/net/l2tp/l2tp_netlink.c
/linux/net/mptcp/mib.c
/linux/net/mptcp/mib.h
/linux/net/mptcp/pm_netlink.c
/linux/net/mptcp/protocol.h
/linux/net/mptcp/subflow.c
/linux/net/netfilter/nf_bpf_link.c
/linux/net/netlink/genetlink.c
/linux/net/smc/smc_pnet.c
/linux/net/smc/smc_wr.c
/linux/net/vmw_vsock/virtio_transport_common.c
/linux/net/vmw_vsock/vsock_bpf.c
/linux/net/wireless/nl80211.c
/linux/scripts/Kconfig.include
/linux/scripts/Makefile.compiler
/linux/scripts/rustc-llvm-version.sh
/linux/security/ipe/Kconfig
/linux/security/ipe/policy.c
/linux/sound/Kconfig
/linux/sound/hda/intel-sdw-acpi.c
/linux/sound/pci/hda/patch_conexant.c
/linux/sound/pci/hda/patch_cs8409.c
/linux/sound/pci/hda/patch_realtek.c
/linux/sound/usb/line6/capture.c
/linux/sound/usb/line6/capture.h
/linux/sound/usb/line6/driver.c
/linux/sound/usb/line6/driver.h
/linux/sound/usb/line6/midi.c
/linux/sound/usb/line6/midi.h
/linux/sound/usb/line6/midibuf.c
/linux/sound/usb/line6/midibuf.h
/linux/sound/usb/line6/pcm.c
/linux/sound/usb/line6/pcm.h
/linux/sound/usb/line6/playback.c
/linux/sound/usb/line6/playback.h
/linux/sound/usb/line6/pod.c
/linux/sound/usb/line6/toneport.c
/linux/sound/usb/line6/variax.c
/linux/sound/usb/mixer_scarlett2.c
/linux/sound/usb/stream.c
/linux/tools/include/uapi/linux/bpf.h
/linux/tools/testing/radix-tree/maple.c
/linux/tools/testing/selftests/Makefile
/linux/tools/testing/selftests/bpf/Makefile
/linux/tools/testing/selftests/bpf/bpf_test_modorder_x/Makefile
/linux/tools/testing/selftests/bpf/bpf_test_modorder_x/bpf_test_modorder_x.c
/linux/tools/testing/selftests/bpf/bpf_test_modorder_y/Makefile
/linux/tools/testing/selftests/bpf/bpf_test_modorder_y/bpf_test_modorder_y.c
/linux/tools/testing/selftests/bpf/prog_tests/bpf_iter.c
/linux/tools/testing/selftests/bpf/prog_tests/cgroup_ancestor.c
/linux/tools/testing/selftests/bpf/prog_tests/cpumask.c
/linux/tools/testing/selftests/bpf/prog_tests/fill_link_info.c
/linux/tools/testing/selftests/bpf/prog_tests/kfunc_module_order.c
/linux/tools/testing/selftests/bpf/prog_tests/netfilter_link_attach.c
/linux/tools/testing/selftests/bpf/prog_tests/verifier.c
/linux/tools/testing/selftests/bpf/prog_tests/xdp_devmap_attach.c
/linux/tools/testing/selftests/bpf/progs/cpumask_common.h
/linux/tools/testing/selftests/bpf/progs/cpumask_failure.c
/linux/tools/testing/selftests/bpf/progs/cpumask_success.c
/linux/tools/testing/selftests/bpf/progs/kfunc_module_order.c
/linux/tools/testing/selftests/bpf/progs/test_xdp_with_devmap_helpers.c
/linux/tools/testing/selftests/bpf/progs/verifier_linked_scalars.c
/linux/tools/testing/selftests/bpf/progs/verifier_movsx.c
/linux/tools/testing/selftests/bpf/progs/verifier_scalar_ids.c
/linux/tools/testing/selftests/bpf/testing_helpers.c
/linux/tools/testing/selftests/bpf/testing_helpers.h
/linux/tools/testing/selftests/hid/Makefile
/linux/tools/testing/selftests/kvm/Makefile
/linux/tools/testing/selftests/kvm/aarch64/set_id_regs.c
/linux/tools/testing/selftests/kvm/x86_64/cpuid_test.c
/linux/tools/testing/selftests/mm/khugepaged.c
/linux/tools/testing/selftests/mm/uffd-common.c
/linux/tools/testing/selftests/mm/uffd-common.h
/linux/tools/testing/selftests/mm/uffd-unit-tests.c
/linux/tools/testing/selftests/net/lib/py/nsim.py
/linux/tools/testing/selftests/net/mptcp/mptcp_join.sh
/linux/tools/testing/selftests/net/rds/test.py
/linux/tools/testing/selftests/sched_ext/Makefile
/linux/virt/kvm/kvm_main.c
a069f01421-Oct-2024 Kent Overstreet <kent.overstreet@linux.dev>

bcachefs: Set bch_inode_unpacked.bi_snapshot in old inode path

This fixes a fsck bug on a very old filesystem (pre mainline merge).

Fixes: 72350ee0ea22 ("bcachefs: Kill snapshot arg to fsck_write_i

bcachefs: Set bch_inode_unpacked.bi_snapshot in old inode path

This fixes a fsck bug on a very old filesystem (pre mainline merge).

Fixes: 72350ee0ea22 ("bcachefs: Kill snapshot arg to fsck_write_inode()")
Reported-by: Marcin Mirosław <marcin@mejor.pl>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

show more ...

e04ee86020-Oct-2024 Kent Overstreet <kent.overstreet@linux.dev>

bcachefs: Mark more errors as AUTOFIX

Reported-by: Marcin Mirosław <marcin@mejor.pl>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

f0d3302020-Oct-2024 Kent Overstreet <kent.overstreet@linux.dev>

bcachefs: Workaround for kvmalloc() not supporting > INT_MAX allocations

kvmalloc() doesn't support allocations > INT_MAX, but vmalloc() does -
the limit should be lifted, but we can work around thi

bcachefs: Workaround for kvmalloc() not supporting > INT_MAX allocations

kvmalloc() doesn't support allocations > INT_MAX, but vmalloc() does -
the limit should be lifted, but we can work around this for now.

A user with a 75 TB filesystem reported the following journal replay
error:
https://github.com/koverstreet/bcachefs/issues/769

In journal replay we have to sort and dedup all the keys from the
journal, which means we need a large contiguous allocation. Given that
the user has 128GB of ram, the 2GB limit on allocation size has become
far too small.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

show more ...

3956ff8b19-Oct-2024 Kent Overstreet <kent.overstreet@linux.dev>

bcachefs: Don't use wait_event_interruptible() in recovery

Fix a bug where mount was failing with -ERESTARTSYS:
https://github.com/koverstreet/bcachefs/issues/741

We only want the interruptible wai

bcachefs: Don't use wait_event_interruptible() in recovery

Fix a bug where mount was failing with -ERESTARTSYS:
https://github.com/koverstreet/bcachefs/issues/741

We only want the interruptible wait when called from fsync.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

show more ...

eb5db64c19-Oct-2024 Kent Overstreet <kent.overstreet@linux.dev>

bcachefs: Fix __bch2_fsck_err() warning

We only warn about having a btree_trans that wasn't passed in if we'll
be prompting.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

bc6d2d1018-Oct-2024 Kent Overstreet <kent.overstreet@linux.dev>

bcachefs: fsck: Improve hash_check_key()

hash_check_key() checks and repairs the hash table btrees: dirents and
xattrs are open addressing hash tables.

We recently had a corruption reported where t

bcachefs: fsck: Improve hash_check_key()

hash_check_key() checks and repairs the hash table btrees: dirents and
xattrs are open addressing hash tables.

We recently had a corruption reported where the hash type on an inode
somehow got flipped, which made the existing dirents invisible and
allowed new ones to be created with the same name.

Now, hash_check_key() can repair duplicates: it will delete one of them,
if it has an xattr or dangling dirent, but if it has two valid dirents
one of them gets renamed.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

show more ...

dc96656b18-Oct-2024 Kent Overstreet <kent.overstreet@linux.dev>

bcachefs: bch2_hash_set_or_get_in_snapshot()

Add a variant of bch2_hash_set_in_snapshot() that returns the existing
key on -EEXIST.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

15a3836c18-Oct-2024 Kent Overstreet <kent.overstreet@linux.dev>

bcachefs: Repair mismatches in inode hash seed, type

Different versions of the same inode (same inode number, different
snapshot ID) must have the same hash seed and type - lookups require
this, sin

bcachefs: Repair mismatches in inode hash seed, type

Different versions of the same inode (same inode number, different
snapshot ID) must have the same hash seed and type - lookups require
this, since they see keys from different snapshots simultaneously.

To repair we only need to make the inodes consistent, hash_check_key()
will do the rest.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

show more ...

d8e8793728-Sep-2024 Kent Overstreet <kent.overstreet@linux.dev>

bcachefs: Add hash seed, type to inode_to_text()

This helped with discovering some filesystem corruption fsck has having
trouble with: the str_hash type had gotten flipped on one snapshot's
version

bcachefs: Add hash seed, type to inode_to_text()

This helped with discovering some filesystem corruption fsck has having
trouble with: the str_hash type had gotten flipped on one snapshot's
version of an inode.

All versions of a given inode number have the same hash seed and hash
type, since lookups will be done with a single hash/seed and type and
see dirents/xattrs from multiple snapshots.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

show more ...

78cf0ae618-Oct-2024 Kent Overstreet <kent.overstreet@linux.dev>

bcachefs: INODE_STR_HASH() for bch_inode_unpacked

Trivial cleanup - add a normal BITMASK() helper for bch_inode_unpacked.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

b96f8cd318-Oct-2024 Kent Overstreet <kent.overstreet@linux.dev>

bcachefs: Run in-kernel offline fsck without ratelimit errors

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

489ecc4c10-Oct-2024 Hongbo Li <lihongbo22@huawei.com>

bcachefs: skip mount option handle for empty string.

The options parse in get_tree will split the options buffer, it will
get the empty string for last one by strsep(). After commit
ea0eeb89b1d5 ("b

bcachefs: skip mount option handle for empty string.

The options parse in get_tree will split the options buffer, it will
get the empty string for last one by strsep(). After commit
ea0eeb89b1d5 ("bcachefs: reject unknown mount options") is merged,
unknown mount options is not allowed (here is empty string), and this
causes this errors. This can be reproduced just by the following steps:

bcachefs format /dev/loop
mount -t bcachefs -o metadata_target=loop1 /dev/loop1 /mnt/bcachefs/

Fixes: ea0eeb89b1d5 ("bcachefs: reject unknown mount options")
Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

show more ...

12345678910>>...169