]> 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)
commit87982c5d558d905a44aeea8250a396115085a9d9
tree2a43810ecbbdd883409f29d2e2cc169770149044
parent68c8d187ab53ae6fdac4637ac638881f4c868483
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