Skip to content

Instantly share code, notes, and snippets.

@YellowOnion
Created December 2, 2023 09:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save YellowOnion/51a67a5350f02d6ae2c403dbf8984eb8 to your computer and use it in GitHub Desktop.
Save YellowOnion/51a67a5350f02d6ae2c403dbf8984eb8 to your computer and use it in GitHub Desktop.
[ 6245.113408] BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
[ 6245.113822] turning off the locking correctness validator.
[ 6245.114224] CPU: 0 PID: 1290 Comm: kworker/0:2 Tainted: G W 6.7.0-rc2-00107-g541a38bdb866 #22
[ 6245.114798] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org 04/01/2014
[ 6245.115429] Workqueue: bcachefs_copygc bch2_write_point_do_index_updates
[ 6245.115868] Call Trace:
[ 6245.116103] <TASK>
[ 6245.116288] dump_stack_lvl+0x5c/0xc0
[ 6245.116657] add_chain_cache+0x5a2/0x870
[ 6245.117005] ? __pfx_validate_chain+0x10/0x10
[ 6245.117368] validate_chain+0x3e9/0xfe0
[ 6245.117715] ? srso_alias_return_thunk+0x5/0xfbef5
[ 6245.118077] ? mark_lock+0xd3/0xb70
[ 6245.118402] ? __pfx_validate_chain+0x10/0x10
[ 6245.118758] __lock_acquire+0xb23/0x1b20
[ 6245.119101] lock_acquire+0x197/0x4e0
[ 6245.119459] ? bch2_btree_node_mem_alloc+0x109/0x1100
[ 6245.119866] ? __pfx_lock_acquire+0x10/0x10
[ 6245.120212] ? bch2_alloc_sectors_done+0x2e3/0x670
[ 6245.120576] ? srso_alias_return_thunk+0x5/0xfbef5
[ 6245.120947] ? srso_alias_return_thunk+0x5/0xfbef5
[ 6245.121311] __mutex_lock+0x158/0x12c0
[ 6245.121657] ? bch2_btree_node_mem_alloc+0x109/0x1100
[ 6245.122058] ? bch2_btree_node_mem_alloc+0x109/0x1100
[ 6245.122464] ? __pfx___mutex_lock+0x10/0x10
[ 6245.122812] ? srso_alias_return_thunk+0x5/0xfbef5
[ 6245.123174] ? bch2_alloc_sectors_done+0x375/0x670
[ 6245.123538] ? __pfx_bch2_alloc_sectors_start_trans+0x10/0x10
[ 6245.123953] ? srso_alias_return_thunk+0x5/0xfbef5
[ 6245.124314] ? __mutex_unlock_slowpath+0x151/0x620
[ 6245.124671] ? __pfx_bch2_alloc_sectors_done+0x10/0x10
[ 6245.125077] ? bch2_btree_node_mem_alloc+0x109/0x1100
[ 6245.125482] bch2_btree_node_mem_alloc+0x109/0x1100
[ 6245.125842] ? __bch2_btree_node_alloc+0x2f5/0xcd0
[ 6245.126203] __bch2_btree_node_alloc+0x2fa/0xcd0
[ 6245.126584] ? srso_alias_return_thunk+0x5/0xfbef5
[ 6245.126946] ? __lock_acquire+0xb23/0x1b20
[ 6245.127296] ? __pfx___bch2_btree_node_alloc+0x10/0x10
[ 6245.127702] ? srso_alias_return_thunk+0x5/0xfbef5
[ 6245.128058] ? find_held_lock+0x2d/0x110
[ 6245.128405] ? srso_alias_return_thunk+0x5/0xfbef5
[ 6245.128764] ? __lock_release.isra.0+0x104/0x440
[ 6245.129115] ? bch2_btree_update_start+0xb80/0x1550
[ 6245.129479] ? srso_alias_return_thunk+0x5/0xfbef5
[ 6245.129838] ? srso_alias_return_thunk+0x5/0xfbef5
[ 6245.130195] bch2_btree_reserve_get+0x200/0x370
[ 6245.130552] bch2_btree_update_start+0xc59/0x1550
[ 6245.130908] ? __pfx_bch2_btree_update_start+0x10/0x10
[ 6245.131310] ? bch2_btree_path_peek_slot+0x1ef/0xa50
[ 6245.131714] ? srso_alias_return_thunk+0x5/0xfbef5
[ 6245.132073] bch2_btree_split_leaf+0x98/0x430
[ 6245.132428] ? srso_alias_return_thunk+0x5/0xfbef5
[ 6245.132786] ? __bch2_data_update_index_update+0x34df/0x4c10
[ 6245.133197] bch2_trans_commit_error+0xfc/0xdf0
[ 6245.133581] ? __pfx_bch2_trans_commit_error+0x10/0x10
[ 6245.133993] ? bch2_bkey_val_invalid+0x184/0x2a0
[ 6245.134351] ? srso_alias_return_thunk+0x5/0xfbef5
[ 6245.134711] ? srso_alias_return_thunk+0x5/0xfbef5
[ 6245.135068] ? do_bch2_trans_commit.isra.0+0x454/0xff0
[ 6245.135474] ? srso_alias_return_thunk+0x5/0xfbef5
[ 6245.135831] __bch2_trans_commit+0xc8f/0x2230
[ 6245.136183] ? __pfx___bch2_trans_commit+0x10/0x10
[ 6245.136547] ? srso_alias_return_thunk+0x5/0xfbef5
[ 6245.136904] ? bch2_bkey_set_needs_rebalance+0x19c/0x410
[ 6245.137310] __bch2_data_update_index_update+0x34df/0x4c10
[ 6245.137725] ? __pfx___bch2_data_update_index_update+0x10/0x10
[ 6245.138136] ? ret_from_fork_asm+0x1b/0x30
[ 6245.138483] ? __bch2_trans_get+0x3a9/0x8a0
[ 6245.138831] ? srso_alias_return_thunk+0x5/0xfbef5
[ 6245.139189] ? __pfx_stack_trace_save+0x10/0x10
[ 6245.139545] ? srso_alias_return_thunk+0x5/0xfbef5
[ 6245.139898] ? __stack_depot_save+0x39/0x520
[ 6245.140251] ? srso_alias_return_thunk+0x5/0xfbef5
[ 6245.140609] ? mark_lock+0xd3/0xb70
[ 6245.140905] ? __bch2_write_index+0x133/0x960
[ 6245.141256] ? bch2_write_point_do_index_updates+0x1f0/0x620
[ 6245.141672] ? process_one_work+0x78a/0x1320
[ 6245.142022] ? worker_thread+0x737/0x1370
[ 6245.142371] ? kthread+0x2e6/0x3c0
[ 6245.142671] ? ret_from_fork+0x34/0x70
[ 6245.143015] ? ret_from_fork_asm+0x1b/0x30
[ 6245.143375] ? srso_alias_return_thunk+0x5/0xfbef5
[ 6245.143735] ? lock_acquire+0x197/0x4e0
[ 6245.144085] ? __bch2_trans_get+0x584/0x8a0
[ 6245.144436] ? __pfx_lock_acquire+0x10/0x10
[ 6245.144785] ? srso_alias_return_thunk+0x5/0xfbef5
[ 6245.145145] ? srso_alias_return_thunk+0x5/0xfbef5
[ 6245.145509] ? bch2_data_update_index_update+0x4e/0x90
[ 6245.145916] ? srso_alias_return_thunk+0x5/0xfbef5
[ 6245.146277] bch2_data_update_index_update+0x4e/0x90
[ 6245.146677] __bch2_write_index+0x133/0x960
[ 6245.147023] ? srso_alias_return_thunk+0x5/0xfbef5
[ 6245.147386] bch2_write_point_do_index_updates+0x1f0/0x620
[ 6245.147801] process_one_work+0x78a/0x1320
[ 6245.148149] ? __pfx_lock_acquire+0x10/0x10
[ 6245.148499] ? __pfx_process_one_work+0x10/0x10
[ 6245.148850] ? srso_alias_return_thunk+0x5/0xfbef5
[ 6245.149204] ? assign_work+0x16c/0x240
[ 6245.149554] worker_thread+0x737/0x1370
[ 6245.149897] ? srso_alias_return_thunk+0x5/0xfbef5
[ 6245.150254] ? srso_alias_return_thunk+0x5/0xfbef5
[ 6245.150612] ? __kthread_parkme+0xbd/0x1e0
[ 6245.150957] ? srso_alias_return_thunk+0x5/0xfbef5
[ 6245.151318] ? __pfx_worker_thread+0x10/0x10
[ 6245.151672] kthread+0x2e6/0x3c0
[ 6245.151963] ? srso_alias_return_thunk+0x5/0xfbef5
[ 6245.152322] ? __pfx_kthread+0x10/0x10
[ 6245.152662] ret_from_fork+0x34/0x70
[ 6245.153000] ? __pfx_kthread+0x10/0x10
[ 6245.153343] ret_from_fork_asm+0x1b/0x30
[ 6245.153689] </TASK>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment