Open morbidrsa opened 3 years ago
David reported the following:
[86892.336296] BTRFS info (device nullb0): balance: start -d [86892.342994] BTRFS info (device nullb0): relocating block group 5905580032 flags data [86893.146918] BTRFS info (device nullb0): relocating block group 5637144576 flags data [86893.723831] BTRFS info (device nullb0): relocating block group 5368709120 flags data [86894.271131] BTRFS info (device nullb0): relocating block group 5100273664 flags data [86894.806304] BTRFS info (device nullb0): relocating block group 4831838208 flags data [86895.339252] BTRFS info (device nullb0): relocating block group 4563402752 flags data [86895.879200] BTRFS info (device nullb0): relocating block group 4294967296 flags data [86896.421421] BTRFS info (device nullb0): relocating block group 3758096384 flags data [86896.950631] BTRFS info (device nullb0): relocating block group 3489660928 flags data [86897.500973] BTRFS info (device nullb0): relocating block group 3221225472 flags data [86898.033074] BTRFS info (device nullb0): 10 enospc errors during balance [86898.040167] BTRFS info (device nullb0): balance: ended with status: -28 [86903.836365] BTRFS info (device nullb0): balance: start -m -s [86903.847132] ------------[ cut here ]------------ [86903.852350] BTRFS: Transaction aborted (error -28) [86903.857496] WARNING: CPU: 0 PID: 7836 at fs/btrfs/inode.c:371 cow_file_range_inline.constprop.0+0x68f/0x6c0 [btrfs] [86903.857747] Modules linked in: null_blk loop configfs auth_rpcgss nfsv4 dns_resolver nfs lockd grace sunrpc fscache netfs btrfs af_packet i2c_algo_bit drm_ttm_helper ttm bridge drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm stp llc tg3 blake2b_generic libcrc32c xor zstd_decompress zstd_compress tpm_infineon libphy tpm_tis tpm_tis_core tpm xxhash raid6_pq iscsi_ibft iscsi_boot_sysfs i2c_piix4 serio_raw mptctl acpi_cpufreq k10temp button ext4 mbcache jbd2 ohci_pci ata_generic ehci_pci ohci_hcd mptsas ehci_hcd scsi_transport_sas mptscsih mptbase usbcore sata_svw pata_serverworks sg scsi_dh_rdac scsi_dh_emc scsi_dh_alua [last unloaded: null_blk] [86903.929116] CPU: 0 PID: 7836 Comm: kworker/u16:0 Not tainted 5.12.0-git+ #742 [86903.929128] Hardware name: empty empty/S3993, BIOS PAQEX0-3 02/24/2008 [86903.929136] Workqueue: events_unbound btrfs_async_reclaim_metadata_space [btrfs] [86903.929296] RIP: 0010:cow_file_range_inline.constprop.0+0x68f/0x6c0 [btrfs] [86903.929424] Code: 03 72 2d 41 83 fa fb 0f 84 40 15 0b 00 41 83 fa e2 0f 84 36 15 0b 00 44 89 d6 48 c7 c7 a8 8f 6c c1 44 89 14 24 e8 bc 40 2d d6 <0f> 0b 44 8b 14 24 48 8b 7c 24 10 44 89 d1 ba 73 01 00 00 48 c7 c6 [86903.929433] RSP: 0018:ffffaaa0c1277738 EFLAGS: 00010282 [86903.978042] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [86903.978046] RDX: ffff9edce6fea2c0 RSI: ffff9edce6fd9970 RDI: ffff9edce6fd9970 [86903.978051] RBP: ffff9edc4d73d408 R08: ffff9edce6fd9970 R09: 0000000000000001 [86903.978055] R10: 0000000000000001 R11: ffffffff9836ddf8 R12: 0000000000000438 [86903.978059] R13: 0000000000000000 R14: ffff9edbd1fe1000 R15: 0000000000000f00 [86903.978063] FS: 0000000000000000(0000) GS:ffff9edce6e00000(0000) knlGS:0000000000000000 [86903.978069] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [86904.036379] CR2: 00007fad67db6000 CR3: 000000010c038000 CR4: 00000000000006f0 [86904.036384] Call Trace: [86904.036431] cow_file_range+0xc7/0x440 [btrfs] [86904.051256] ? test_range_bit+0xe5/0x130 [btrfs] [86904.056131] ? sched_clock_cpu+0x15/0x100 [86904.056146] ? test_range_bit+0xe5/0x130 [btrfs] [86904.056238] run_delalloc_zoned+0x25/0x80 [btrfs] [86904.056326] btrfs_run_delalloc_range+0x129/0x680 [btrfs] [86904.056421] ? find_lock_delalloc_range+0x20f/0x240 [btrfs] [86904.056518] writepage_delalloc+0xae/0x160 [btrfs] [86904.056621] extent_writepage+0x10a/0x3f0 [btrfs] [86904.056740] extent_write_cache_pages+0x268/0x480 [btrfs] [86904.056925] ? lock_acquire+0x582/0xab0 [86904.056957] extent_writepages+0x43/0x90 [btrfs] [86904.057047] ? lock_acquire+0xc2/0x3a0 [86904.057056] do_writepages+0x40/0xe0 [86904.057080] __writeback_single_inode+0x61/0x610 [86904.057101] writeback_single_inode+0xaf/0x120 [86904.057117] start_delalloc_inodes+0x187/0x440 [btrfs] [86904.057204] ? btrfs_start_delalloc_roots+0x149/0x2a0 [btrfs] [86904.057309] btrfs_start_delalloc_roots+0x15d/0x2a0 [btrfs] [86904.057430] flush_space+0x2a8/0x6f0 [btrfs] [86904.057547] btrfs_async_reclaim_metadata_space+0x10f/0x2b0 [btrfs] [86904.057666] process_one_work+0x265/0x5e0 [86904.057706] worker_thread+0x50/0x3b0 [86904.057718] ? process_one_work+0x5e0/0x5e0 [86904.057735] kthread+0x124/0x160 [86904.057744] ? kthread_park+0x90/0x90 [86904.057756] ret_from_fork+0x1f/0x30 [86904.057811] irq event stamp: 8023553 [86904.178436] hardirqs last enabled at (8023673): [] _raw_spin_unlock_irq+0x24/0x40 [86904.178547] hardirqs last disabled at (8023682): [] schedule+0x611/0xd90 [86904.178557] softirqs last enabled at (8023572): [] do_softirq+0x326/0x52e [86904.205767] softirqs last disabled at (8023721): [] irq_exit_rcu+0xbc/0xd0 [86904.205782] ---[ end trace 5d231adb284f476e ]--- [86904.205792] BTRFS warning (device nullb0): cow_file_range_inline:371: Aborting unused transaction(No space left). [86904.230294] BTRFS warning (device nullb0): cow_file_range_inline:371: Aborting unused transaction(No space left). [86904.230546] BTRFS warning (device nullb0): cow_file_range_inline:371: Aborting unused transaction(No space left). [86904.252623] BTRFS warning (device nullb0): cow_file_range_inline:371: Aborting unused transaction(No space left). [86904.253654] BTRFS warning (device nullb0): cow_file_range_inline:371: Aborting unused transaction(No space left). [86904.274300] BTRFS warning (device nullb0): cow_file_range_inline:371: Aborting unused transaction(No space left). [86904.278451] BTRFS info (device nullb0): relocating block group 536870912 flags system [86904.296628] BTRFS warning (device nullb0): Skipping commit of aborted transaction. [86904.304800] BTRFS: error (device nullb0) in cleanup_transaction:1978: errno=-30 Readonly filesystem [86904.304833] BTRFS info (device nullb0): forced readonly [86904.305995] BTRFS info (device nullb0): 1 enospc errors during balance [86904.326674] BTRFS info (device nullb0): balance: ended with status: -30 https://susepaste.org/view/raw/c47374b4
David reported the following: