[lkml]   [2015]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 2/6] scsi: ensure that a request is valid when returning it from scsi_find_tag()
On Tue, Apr 07, 2015 at 11:18:36AM -0600, Jens Axboe wrote:
> For the scsi-mq case, ensure that the request has been started before
> returning it from scsi_find_tag(). This is akin to the ->special
> check for the non-mq case, it ensures that the request has been setup
> and issued.
> Signed-off-by: Jens Axboe <>

Shouldn't this be done in blk_mq_tag_to_rq? In general when a driver
looks for an active tag it wants an active tag, so working around
this in the driver seems like a bad idea.

 \ /
  Last update: 2015-04-13 12:21    [W:0.051 / U:2.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site