]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7147fb56680e45849973d8ecd467cc49988efc9f
tree2a43810ecbbdd883409f29d2e2cc169770149044
parentf98cced54e836aef047022d764061967ac545cb2
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