nvme-tcp: fix wrong stop condition in io_work
authorWunderlich, Mark <mark.wunderlich@intel.com>
Wed, 18 Sep 2019 23:36:37 +0000 (23:36 +0000)
committerSagi Grimberg <sagi@grimberg.me>
Wed, 25 Sep 2019 19:53:14 +0000 (12:53 -0700)
commitddef29578a81a1d4d8f2b26a7adbfe21407ee3ea
tree2a43810ecbbdd883409f29d2e2cc169770149044
parentb224726de5e496dbf78147a66755c3d81e28bdd2
nvme-tcp: fix wrong stop condition in io_work

Allow the do/while statement to continue if current time
is not after the proposed time 'deadline'. Intent is to
allow loop to proceed for a specific time period. Currently
the loop, as coded, will exit after first pass.

Signed-off-by: Mark Wunderlich <mark.wunderlich@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/tcp.c