David Howells <dhowells@xxxxxxxxxx> wrote: > > It's still reproducible on the latest next-20210107 tree with below > > reproducer. > > If you meant next-20220107 then that's using the v4 version of the patches; > there is a v5, though I've only posted an updated cifs patch, that is in > next-20220110. I'm not sure if it would help, though. I managed to set up and run cthon04. I can confirm that it throws out lots of oopses with fscache-rewrite-v4 (see below for an example of such): https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/tag/?h=fscache-rewrite-v4 but seems to work fine with v5: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=fscache-rewrite both with and without a cache attached. David --- CIFS: Attempting to mount \\carina\shares FS-Cache: FS-Cache: Assertion failed FS-Cache: FS-Cache: ffffffffffffffff == 0 is false FS-Cache: Assertion failed FS-Cache: FS-Cache: Assertion failed FS-Cache: ffffffffffffffff == 0 is false ------------[ cut here ]------------ kernel BUG at fs/fscache/cookie.c:957! invalid opcode: 0000 [#1] PREEMPT SMP PTI CPU: 3 PID: 1063 Comm: kworker/3:2 Not tainted 5.16.0-rc4-build3+ #5143 Hardware name: ASUS All Series/H97-PLUS, BIOS 2306 10/09/2014 Workqueue: deferredclose smb2_deferred_work_close RIP: 0010:__fscache_relinquish_cookie+0x112/0x1a3 Code: 48 c7 c7 8b d4 41 82 e8 3d 7f 78 00 48 c7 c7 99 d4 41 82 e8 31 7f 78 00 48 63 75 04 31 d2 48 c7 c7 4b d7 41 82 e8 1f 7f 78 00 <0f> 0b 48 8b 45 30 8b 50 04 85 d2 7f 30 48 c7 c7 8b d4 41 82 e8 06 RSP: 0018:ffff8881064b3d50 EFLAGS: 00010246 RAX: 0000000000000028 RBX: 0000000000000000 RCX: 0000000000000027 RDX: 0000000000000000 RSI: ffffffff824691ad RDI: 00000000ffffffff RBP: ffff888112c6baf0 R08: 0000000000000033 R09: 0000000000000002 R10: 000000000000000f R11: ffffffff82dfb321 R12: ffff888112c6bb90 R13: ffff8881188814f0 R14: ffff888106e4d800 R15: ffff888118881540 FS: 0000000000000000(0000) GS:ffff88840fb80000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d6057aed30 CR3: 000000000260c004 CR4: 00000000001706e0 Call Trace: <TASK> cifs_fscache_release_inode_cookie+0x19/0x23 cifsFileInfo_put_final+0x2e/0xb5 _cifsFileInfo_put+0x26a/0x291 ? get_sd_balance_interval+0x18/0x3b ? _raw_spin_unlock+0x14/0x25 ? raw_spin_rq_unlock_irq+0x9/0xc ? smb2_deferred_work_close+0x30/0x5c ? kfree+0x9b/0xa9 process_one_work+0x170/0x25e worker_thread+0x172/0x233 ? rescuer_thread+0x283/0x283 kthread+0x12f/0x137 ? set_kthread_struct+0x32/0x32 ret_from_fork+0x1f/0x30 </TASK> -- Linux-cachefs mailing list Linux-cachefs@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/linux-cachefs