On Thursday, 6 May 2021 04:50:06 CEST Coly Li wrote: > Could you please try the attached patch ? If a suspicious bio > allocation happens, this patch will print out a warning kernel message > and avoid the BUG() panic. Looks like the patch works. Here's a dmesg log that comes from starting up a game with a bunch of large files (which I'm guessing are what makes this happen more often?) [ 39.284230] bcache: cached_dev_cache_miss() inserting bio is too large: 344 iovecs, not intsert. [ 65.415896] bcache: cached_dev_cache_miss() inserting bio is too large: 282 iovecs, not intsert. [ 65.446327] bcache: cached_dev_cache_miss() inserting bio is too large: 946 iovecs, not intsert. [ 88.116826] bcache: cached_dev_cache_miss() inserting bio is too large: 342 iovecs, not intsert. [ 88.957691] bcache: cached_dev_cache_miss() inserting bio is too large: 342 iovecs, not intsert. [ 89.020544] bcache: cached_dev_cache_miss() inserting bio is too large: 332 iovecs, not intsert. [ 90.531875] bcache: cached_dev_cache_miss() inserting bio is too large: 261 iovecs, not intsert. [ 111.464124] bcache: cached_dev_cache_miss() inserting bio is too large: 342 iovecs, not intsert. [ 111.497049] bcache: cached_dev_cache_miss() inserting bio is too large: 262 iovecs, not intsert. [ 111.638928] bcache: cached_dev_cache_miss() inserting bio is too large: 318 iovecs, not intsert. [ 155.884142] bcache: cached_dev_cache_miss() inserting bio is too large: 447 iovecs, not intsert. [ 156.146070] bcache: cached_dev_cache_miss() inserting bio is too large: 512 iovecs, not intsert. [ 156.223795] bcache: cached_dev_cache_miss() inserting bio is too large: 277 iovecs, not intsert. [ 156.326145] bcache: cached_dev_cache_miss() inserting bio is too large: 342 iovecs, not intsert. [ 156.602906] bcache: cached_dev_cache_miss() inserting bio is too large: 290 iovecs, not intsert. [ 156.646365] bcache: cached_dev_cache_miss() inserting bio is too large: 341 iovecs, not intsert. [ 156.671285] bcache: cached_dev_cache_miss() inserting bio is too large: 501 iovecs, not intsert. [ 157.216087] bcache: cached_dev_cache_miss() inserting bio is too large: 258 iovecs, not intsert. [ 165.010961] bcache: cached_dev_cache_miss() inserting bio is too large: 413 iovecs, not intsert. [ 165.386483] bcache: cached_dev_cache_miss() inserting bio is too large: 260 iovecs, not intsert. Thanks, Marco