v4.13 shows the same search_free stack as 4.14, but doesn't appear to be fatal (it doesn't result in a hung process nor a block device that cannot be wiped.
I suspect we've got a new upstream issue since 4.20 didn't fix things. Re-running 4.20 to see if we had a stack trace, we don't NULL pointer oops, but there is a stuck worker queue:
v4.13 shows the same search_free stack as 4.14, but doesn't appear to be fatal (it doesn't result in a hung process nor a block device that cannot be wiped.
I suspect we've got a new upstream issue since 4.20 didn't fix things. Re-running 4.20 to see if we had a stack trace, we don't NULL pointer oops, but there is a stuck worker queue:
[ 242.887966] kworker/0:47 D 0 2165 2 0x80000000 0x2a2/0x880 to+0xfc/ 0x4f0 timeout+ 0x246/0x350 completion+ 0xb7/0x140 stop+0x49/ 0x110 flush+0xdb/ 0x190 [bcache] one_work+ 0x20f/0x410 thread+ 0x34/0x400 one_work+ 0x410/0x410 park+0x90/ 0x90 fork+0x35/ 0x40 allocato: 9015 blocked for more than 120 seconds. 042000rc3- generic #201811182231 kernel/ hung_task_ timeout_ secs" disables this message. 0x2a2/0x880 0x2aa/0x880 alloc+0x19d/ 0x380 [bcache] 0x80/0x80 write+0x190/ 0x340 [bcache] thread+ 0x482/0xd10 [bcache] one_bucket+ 0x80/0x80 [bcache] park+0x90/ 0x90 fork+0x35/ 0x40
[ 242.888014] Workqueue: events cache_set_flush [bcache]
[ 242.888027] Call Trace:
[ 242.888084] __schedule+
[ 242.888097] ? __switch_
[ 242.888105] schedule+0x2c/0x80
[ 242.888113] schedule_
[ 242.888122] wait_for_
[ 242.888141] ? wake_up_q+0x80/0x80
[ 242.888151] kthread_
[ 242.888176] cache_set_
[ 242.888186] process_
[ 242.888194] worker_
[ 242.888202] kthread+0x120/0x140
[ 242.888209] ? process_
[ 242.888216] ? kthread_
[ 242.888236] ret_from_
[ 242.888435] INFO: task bcache_
[ 242.893786] Not tainted 4.20.0-
[ 242.896669] "echo 0 > /proc/sys/
[ 242.900428] bcache_allocato D 0 9015 2 0x80000000
[ 242.900434] Call Trace:
[ 242.900448] __schedule+
[ 242.900455] ? __schedule+
[ 242.900462] schedule+0x2c/0x80
[ 242.900480] bch_bucket_
[ 242.900503] ? wait_woken+
[ 242.900519] bch_prio_
[ 242.900530] bch_allocator_
[ 242.900535] kthread+0x120/0x140
[ 242.900546] ? bch_invalidate_
[ 242.900549] ? kthread_
[ 242.900554] ret_from_