diff options
author | Sagi Grimberg <[email protected]> | 2020-05-01 14:25:44 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-05-09 16:18:36 -0600 |
commit | 72e5d757c62029664c0287d14519ec4451901b5e (patch) | |
tree | 7ed9be40a5b02309c28f84868a158d028e7c6b4e /lib/mpi/mpi-mod.c | |
parent | 386e5e6e1aa90b479fcf0467935922df8524393d (diff) |
nvme-tcp: avoid scheduling io_work if we are already polling
When the user runs polled I/O, we shouldn't have to trigger
the workqueue to generate the receive work upon the .data_ready
upcall. This prevents a redundant context switch when the
application is already polling for completions.
Proposed-by: Mark Wunderlich <[email protected]>
Signed-off-by: Mark Wunderlich <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions