Page MenuHomeFreeBSD

nvme: Always set deadline to max
ClosedPublic

Authored by imp on Oct 10 2022, 2:15 AM.
Tags
None
Referenced Files
F82802582: D36920.id111598.diff
Thu, May 2, 5:58 PM
Unknown Object (File)
Wed, Apr 24, 8:40 PM
Unknown Object (File)
Wed, Apr 24, 8:40 PM
Unknown Object (File)
Wed, Apr 24, 8:40 PM
Unknown Object (File)
Wed, Apr 24, 8:39 PM
Unknown Object (File)
Wed, Apr 24, 8:27 PM
Unknown Object (File)
Tue, Apr 23, 6:41 AM
Unknown Object (File)
Thu, Apr 11, 1:17 PM
Subscribers

Details

Summary

The deadline always needs to be valid, and not what's left over from before.
Always initialize it to maximum.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 47757
Build 44644: arc lint + arc unit

Event Timeline

imp requested review of this revision.Oct 10 2022, 2:15 AM

Since it is under the queue lock I don't see much difference in the order, only removal of the condition makes sense to me.

This revision is now accepted and ready to land.Oct 10 2022, 1:43 PM

simplify code and re-word commit message about what's really important here.

This revision now requires review to proceed.Oct 10 2022, 10:38 PM
This revision is now accepted and ready to land.Oct 11 2022, 2:33 PM
This revision was automatically updated to reflect the committed changes.