Bug 242261

Summary: nvme0: aborting outstanding i/o
Product: Base System Reporter: Theron Tarigo <theron>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Only Me CC: shuriku, theron
Priority: ---    
Version: 12.1-RELEASE   
Hardware: Any   
OS: Any   

Description Theron Tarigo freebsd_committer 2019-11-27 05:46:57 UTC
After resuming from suspend with 12.1-RELEASE, all processes accessing disk hang for 30 seconds, rendering the system frozen from user's perspective.  After this, dmesg has:

nvme0: Resetting controller due to a timeout.
nvme0: resetting controller
nvme0: aborting outstanding i/o
(... many repeats)
nvme0: aborting outstanding i/o
nvme0: async event occurred (type 0x0, info 0x00, page 0x01)
Comment 1 Oleksandr Kryvulia 2019-11-27 15:56:55 UTC
This was fixed on CURRENT and MFC-ed to 12-STABLE. See details on bug #211713

You can also try to decrease timeout:
sysctl dev.nvme.0.timeout_period=10