Skip to content

Commit

Permalink
runner: check for pending UAs in passthrough path
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Christie <mchristi@redhat.com>
  • Loading branch information
Mike Christie committed Jun 17, 2018
1 parent 4b32625 commit e74b0c9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tcmur_cmd_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -2134,6 +2134,10 @@ int tcmur_cmd_passthrough_handler(struct tcmu_device *dev,
if (!rhandler->handle_cmd)
return TCMU_STS_NOT_HANDLED;

ret = tcmu_dev_handle_pending_ua(dev, cmd);
if (ret != TCMU_STS_NOT_HANDLED)
return ret;

/*
* Support handlers that implement their own threading/AIO
* and only use runner's main event loop.
Expand Down

0 comments on commit e74b0c9

Please sign in to comment.