[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c3a682d3-58f7-f5cc-caaa-75c36ca464e2@grimberg.me>
Date: Fri, 12 Feb 2021 12:58:27 -0800
From: Sagi Grimberg <sagi@...mberg.me>
To: Daniel Wagner <dwagner@...e.de>, linux-nvme@...ts.infradead.org
Cc: linux-kernel@...r.kernel.org, Christoph Hellwig <hch@....de>,
Jens Axboe <axboe@...com>, Keith Busch <kbusch@...nel.org>,
Hannes Reinecke <hare@...e.de>
Subject: Re: [PATCH] nvme-tcp: Check if request has started before processing
it
> 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?
Powered by blists - more mailing lists