Page MenuHomeFreeBSD

nvme: Always set deadline to max
ClosedPublic

Authored by imp on Oct 10 2022, 2:15 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 23, 10:26 AM
Unknown Object (File)
Tue, Apr 22, 11:30 PM
Unknown Object (File)
Tue, Apr 22, 7:17 PM
Unknown Object (File)
Tue, Apr 22, 7:00 AM
Unknown Object (File)
Sat, Apr 12, 3:53 PM
Unknown Object (File)
Mar 5 2025, 9:45 AM
Unknown Object (File)
Mar 4 2025, 5:23 AM
Unknown Object (File)
Mar 4 2025, 1:16 AM
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 47770
Build 44657: 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.