Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144471820
D36920.id111598.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
620 B
Referenced Files
None
Subscribers
None
D36920.id111598.diff
View Options
diff --git a/sys/dev/nvme/nvme_qpair.c b/sys/dev/nvme/nvme_qpair.c
--- a/sys/dev/nvme/nvme_qpair.c
+++ b/sys/dev/nvme/nvme_qpair.c
@@ -1173,10 +1173,14 @@
return;
}
+ /*
+ * Once the tracker is on the outstanding_tr list, it must have a valid
+ * timeout, so set it to the max until we find out what the actual
+ * deadline is to avoid false positive timeouts due to stale values.
+ */
+ tr->deadline = SBT_MAX;
TAILQ_REMOVE(&qpair->free_tr, tr, tailq);
TAILQ_INSERT_TAIL(&qpair->outstanding_tr, tr, tailq);
- if (!qpair->timer_armed)
- tr->deadline = SBT_MAX;
tr->req = req;
switch (req->type) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 9, 3:10 PM (8 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28592247
Default Alt Text
D36920.id111598.diff (620 B)
Attached To
Mode
D36920: nvme: Always set deadline to max
Attached
Detach File
Event Timeline
Log In to Comment