As the Topic title says, I am getting this when I attempt to balance the pool:
[218462.262604] ------------[ cut here ]------------
[218462.263189] WARNING: CPU: 3 PID: 40710 at ../fs/btrfs/extent-tree.c:863 lookup_inline_extent_backref+0x5a4/0x650 [btrfs]
[218462.263489] Modules linked in: nfsd auth_rpcgss nfs_acl lockd grace sunrpc xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_tables x_tables bpfilter br_netfilter bridge stp llc dm_mod af_packet bonding tls rfkill intel_rapl_msr intel_rapl_common sb_edac x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass crc32_pclmul nls_iso8859_1 nls_cp437 ghash_clmulni_intel vfat fat iTCO_wdt intel_pmc_bxt iTCO_vendor_support dcdbas(X) mgag200 aesni_intel crypto_simd cryptd glue_helper pcspkr i2c_algo_bit drm_kms_helper cec rc_core tg3 lpc_ich syscopyarea sysfillrect sysimgblt fb_sys_fops joydev libphy mei_me mei ipmi_ssif ioatdma dca ipmi_si ipmi_devintf ipmi_msghandler button drm fuse configfs btrfs libcrc32c xor raid6_pq sd_mod t10_pi hid_generic usbhid ahci libahci libata ehci_pci ehci_hcd mpt3sas usbcore crc32c_intel raid_class scsi_transport_sas wmi sg scsi_mod
[218462.265863] Supported: Yes, External
[218462.266127] CPU: 3 PID: 40710 Comm: btrfs Tainted: G X 5.3.18-150300.59.106-default #1 SLE15-SP3
[218462.266410] Hardware name: Dell Inc. PowerEdge R520/051XDX, BIOS 2.9.0 01/09/2020
[218462.266704] RIP: 0010:lookup_inline_extent_backref+0x5a4/0x650 [btrfs]
[218462.266982] Code: 48 8b 5c 24 38 4c 8b 74 24 48 e9 13 fe ff ff 48 8b 5c 24 38 b8 8b ff ff ff e9 5e fe ff ff 48 c7 c7 50 3d 46 c0 e8 4e 6b b7 e6 <0f> 0b b8 fb ff ff ff e9 46 fe ff ff 48 8b 7c 24 18 48 c7 c6 d0 3d
[218462.267569] RSP: 0018:ffffb9ab03707790 EFLAGS: 00010286
[218462.267862] RAX: 0000000000000024 RBX: ffff9f64ee49c770 RCX: 0000000000000000
[218462.268159] RDX: 0000000000000000 RSI: ffff9f66e3659558 RDI: ffff9f66e3659558
[218462.268456] RBP: ffff9f66e08f46e8 R08: 00000000000024e0 R09: 0000000000aaaaaa
[218462.268757] R10: ffff9f60c0000000 R11: ffff9f63e1841ca0 R12: 0000000000004000
[218462.269058] R13: 0000000000000000 R14: 00001b1d88424000 R15: 0000000000000009
[218462.269359] FS: 00007f4b61d839c0(0000) GS:ffff9f66e3640000(0000) knlGS:0000000000000000
[218462.269666] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[218462.269967] CR2: 00007f53cd3eed98 CR3: 0000000588dc4004 CR4: 00000000001706e0
[218462.270272] Call Trace:
[218462.270591] insert_inline_extent_backref+0x5d/0x110 [btrfs]
[218462.270913] __btrfs_inc_extent_ref.isra.44+0x88/0x260 [btrfs]
[218462.271242] ? btrfs_merge_delayed_refs+0x30a/0x3e0 [btrfs]
[218462.271561] __btrfs_run_delayed_refs+0x67f/0x1180 [btrfs]
[218462.271881] ? btrfs_set_path_blocking+0x49/0x50 [btrfs]
[218462.272199] ? btrfs_search_slot+0x8c5/0xa40 [btrfs]
[218462.272514] btrfs_run_delayed_refs+0x62/0x200 [btrfs]
[218462.272834] btrfs_commit_transaction+0x50/0xa60 [btrfs]
[218462.273160] prepare_to_merge+0x24a/0x260 [btrfs]
[218462.273482] relocate_block_group+0x20d/0x790 [btrfs]
[218462.273807] btrfs_relocate_block_group+0x173/0x2e0 [btrfs]
[218462.274133] btrfs_relocate_chunk+0x31/0xc0 [btrfs]
[218462.274454] btrfs_balance+0xa1c/0x11f0 [btrfs]
[218462.274777] btrfs_ioctl_balance+0x2f6/0x3a0 [btrfs]
[218462.275098] btrfs_ioctl+0x16d8/0x3030 [btrfs]
[218462.275398] ? __handle_mm_fault+0xf23/0x1260
[218462.275696] ? __fput+0x150/0x270
[218462.276171] ? ksys_ioctl+0x96/0xb0
[218462.276785] ? btrfs_ioctl_get_supported_features+0x30/0x30 [btrfs]
[218462.277378] ksys_ioctl+0x96/0xb0
[218462.277956] __x64_sys_ioctl+0x16/0x20
[218462.278534] do_syscall_64+0x5b/0x1e0
[218462.279001] entry_SYSCALL_64_after_hwframe+0x61/0xc6
[218462.279434] RIP: 0033:0x7f4b60e02c27
[218462.279991] Code: 90 90 90 48 8b 05 69 c2 2d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 39 c2 2d 00 f7 d8 64 89 01 48
[218462.281178] RSP: 002b:00007ffed47e1108 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[218462.281767] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f4b60e02c27
[218462.282349] RDX: 00007ffed47e11a0 RSI: 00000000c4009420 RDI: 0000000000000005
[218462.282908] RBP: 0000000000000005 R08: 0000000000000013 R09: 0000000000000013
[218462.283258] R10: 00007f4b60cfd468 R11: 0000000000000246 R12: 0000000000000002
[218462.283818] R13: 00007ffed47e11a0 R14: 00007ffed47e1e79 R15: 0000000000000002
[218462.284372] ---[ end trace 8c578dd76b86700a ]---
[218462.284935] BTRFS: error (device sdd) in btrfs_run_delayed_refs:2147: errno=-5 IO failure
[218462.285500] BTRFS info (device sdd): forced readonly
[218462.286124] BTRFS info (device sdd): balance: ended with status: -30
[218462.295205] BTRFS error (device sdd): fail to start transaction for status update: -30
All disks are passing SMART and I have run a scrub already which has fixed 11 errors that it found.
My assessment is that the partition is damaged somehow but I am not sure what to do about it or what causes it, e.g. do I need to replace a disk, etc.
If someone can help me in understanding what is going on that would help me a lot.