I tried to use 9p with fscache + cachefilesd (server is diod) but it doesn't seem to work all that well ------------[ cut here ]------------ kernel BUG at fs/9p/cache.c:231! invalid opcode: 0000 [#1] PREEMPT SMP PTI Modules linked in: macsec cachefiles 9p 9pnet fscache af_packet macvtap macvlan bonding nf_log_ipv6 nf_log_ipv4 nf_log_common nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_log nf_conntrack_ipv6 nf_defrag_ipv6 nf_conntrack_ipv4 nf_defrag_ipv4 nft_limit nft_ct nf_conntrack nft_counter cls_u32 nft_meta nft_set_bitmap sch_htb nft_set_hash nft_set_rbtree raid0 intel_pmc_core x86_pkg_temp_thermal intel_powerclamp kvm_intel vhost_net tun vhost tap kvm snd_hda_codec_realtek md_mod snd_hda_codec_generic bcache snd_hda_codec_hdmi snd_hda_intel snd_hda_codec intel_cstate intel_uncore efi_pstore intel_rapl_perf snd_hwdep efivars snd_hda_core mei_me cp210x plusb mei snd_pcm usbnet usbserial input_leds mii led_class tpm_crb binfmt_misc crypto_user efivarfs algif_skcipher af_alg mousedev joydev psmouse crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcspkr shpchp tpm_tis tpm_tis_core tpm fan thermal i8042 rng_core acpi_pad vfio_pci irqbypass vfio_virqfd vfio_iommu_type1 vfio atkbd libps2 CPU: 2 PID: 2551 Comm: TaskSchedulerFo Not tainted 4.17.2-3-ph #2 Hardware name: Gigabyte Technology Co., Ltd. Z170X-UD3/Z170X-UD3-CF, BIOS F23d 12/01/2017 RIP: 0010:__v9fs_fscache_invalidate_page+0x54/0x60 [9p] RSP: 0018:ffff948ec0e9fc88 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffe4c1d1aaeb80 RCX: ffffe4c1d04ebe00 RDX: 0000000000001000 RSI: 0000000000000000 RDI: ffffe4c1d1aaeb80 RBP: ffff8bace409b158 R08: 0000000000000040 R09: 0000000000000000 R10: 0000000000000000 R11: ffff8bace553db60 R12: ffff8bace409b2c0 R13: ffffffffffffffff R14: ffff948ec0e9fd50 R15: 0000000000000001 FS: 00007fe440ff9700(0000) GS:ffff8bad5ed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe4280184e8 CR3: 000000044d03a006 CR4: 00000000003606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: truncate_cleanup_page+0x6a/0xb0 truncate_inode_pages_range+0x1d2/0x870 v9fs_evict_inode+0x14/0x50 [9p] evict+0xbf/0x190 do_unlinkat+0x265/0x320 do_syscall_64+0x43/0xf0 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7fe45d0735e7 RSP: 002b:00007fe440ff7d58 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 00007fe42800c930 RCX: 00007fe45d0735e7 RDX: 00007fe440ff7ee8 RSI: 00007fe440ff7ee8 RDI: 00007fe42800c930 RBP: 0000000000000000 R08: 0000000000000002 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000206 R12: 00007fe440ff7fc8 R13: 00007fe42800b190 R14: 00007fe440ff7fc8 R15: 0000000000000000 Code: 8b 53 20 48 8d 42 ff 83 e2 01 48 0f 44 c3 48 8b 00 a8 01 74 18 48 8b 7d b8 48 85 ff 74 0a 48 89 de 5b 5d e9 6f fb f8 ff 5b 5d c3 <0f> 0b 0f 0b 0f 1f 84 00 00 00 00 00 48 8b 7f b8 48 85 ff 74 37 RIP: __v9fs_fscache_invalidate_page+0x54/0x60 [9p] RSP: ffff948ec0e9fc88 ---[ end trace 94d8bbc1d016a82f ]--- ------------[ cut here ]------------ kernel BUG at fs/9p/cache.c:231! invalid opcode: 0000 [#2] PREEMPT SMP PTI Modules linked in: macsec cachefiles 9p 9pnet fscache af_packet macvtap macvlan bonding nf_log_ipv6 nf_log_ipv4 nf_log_common nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_log nf_conntrack_ipv6 nf_defrag_ipv6 nf_conntrack_ipv4 nf_defrag_ipv4 nft_limit nft_ct nf_conntrack nft_counter cls_u32 nft_meta nft_set_bitmap sch_htb nft_set_hash nft_set_rbtree raid0 intel_pmc_core x86_pkg_temp_thermal intel_powerclamp kvm_intel vhost_net tun vhost tap kvm snd_hda_codec_realtek md_mod snd_hda_codec_generic bcache snd_hda_codec_hdmi snd_hda_intel snd_hda_codec intel_cstate intel_uncore efi_pstore intel_rapl_perf snd_hwdep efivars snd_hda_core mei_me cp210x plusb mei snd_pcm usbnet usbserial input_leds mii led_class tpm_crb binfmt_misc crypto_user efivarfs algif_skcipher af_alg mousedev joydev psmouse crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcspkr shpchp tpm_tis tpm_tis_core tpm fan thermal i8042 rng_core acpi_pad vfio_pci irqbypass vfio_virqfd vfio_iommu_type1 vfio atkbd libps2 CPU: 0 PID: 2497 Comm: zsh Tainted: G D 4.17.2-3-ph #2 Hardware name: Gigabyte Technology Co., Ltd. Z170X-UD3/Z170X-UD3-CF, BIOS F23d 12/01/2017 RIP: 0010:__v9fs_fscache_invalidate_page+0x54/0x60 [9p] RSP: 0018:ffff948ec212fbd0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffe4c1d183a880 RCX: ffffe4c1d1cf7f00 RDX: 0000000000001000 RSI: 0000000000000000 RDI: ffffe4c1d183a880 RBP: ffff8bacd564cb48 R08: 0000000000000040 R09: 0000000000000000 R10: 0000000000000000 R11: ffff8bace2c4bd98 R12: ffff8bacd564ccb0 R13: ffffffffffffffff R14: ffff948ec212fc98 R15: 0000000000000001 FS: 00007f9121fb2440(0000) GS:ffff8bad5ec00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056373276f008 CR3: 00000004321fe006 CR4: 00000000003606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: truncate_cleanup_page+0x6a/0xb0 truncate_inode_pages_range+0x1d2/0x870 v9fs_evict_inode+0x14/0x50 [9p] evict+0xbf/0x190 __dentry_kill+0xc5/0x150 dentry_kill+0x48/0x180 dput.part.5+0xd8/0x120 do_renameat2+0x3c6/0x550 __x64_sys_rename+0x17/0x20 do_syscall_64+0x43/0xf0 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f9120e669d7 RSP: 002b:00007ffc0c6f21a8 EFLAGS: 00000202 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 000056373276e780 RCX: 00007f9120e669d7 RDX: 000000000000002f RSI: 000056373248c970 RDI: 000056373276e780 RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000002 R10: 000000000000000a R11: 0000000000000202 R12: 000056373248c970 R13: 0000000000000000 R14: 0000000000000000 R15: 000000000000148f Code: 8b 53 20 48 8d 42 ff 83 e2 01 48 0f 44 c3 48 8b 00 a8 01 74 18 48 8b 7d b8 48 85 ff 74 0a 48 89 de 5b 5d e9 6f fb f8 ff 5b 5d c3 <0f> 0b 0f 0b 0f 1f 84 00 00 00 00 00 48 8b 7f b8 48 85 ff 74 37 RIP: __v9fs_fscache_invalidate_page+0x54/0x60 [9p] RSP: ffff948ec212fbd0 ---[ end trace 94d8bbc1d016a830 ]---