Skip to content
  • Warner Losh's avatar
    nvme: Use shared timeout rather than timeout per transaction · 502dc84a
    Warner Losh authored
    Keep track of the approximate time commands are 'due' and the next
    deadline for a command. twice a second, wake up to see if any commands
    have entered timeout. If so, quiessce and then enter a recovery mode
    half the timeout further in the future to allow the ISR to
    complete. Once we exit recovery mode, we go back to operations as
    normal.
    
    Sponsored by:		Netflix
    Differential Revision:	https://reviews.freebsd.org/D28583
    502dc84a