Thread (22 messages) 22 messages, 4 authors, 2021-03-02

Re: [PATCH] nvme-tcp: Check if request has started before processing it

From: Sagi Grimberg <sagi@grimberg.me>
Date: 2021-02-12 21:01:47
Also in: lkml

blk_mq_tag_to_rq() will always return a request if the command_id is
in the valid range. Check if the request has been started. If we
blindly process the request we might double complete a request which
can be fatal.
How did you get to this one? did the controller send a completion for
a completed/bogus request?

_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help