aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorSagi Grimberg <[email protected]>2020-05-01 14:25:44 -0700
committerJens Axboe <[email protected]>2020-05-09 16:18:36 -0600
commit72e5d757c62029664c0287d14519ec4451901b5e (patch)
tree7ed9be40a5b02309c28f84868a158d028e7c6b4e /lib/mpi/mpi-mod.c
parent386e5e6e1aa90b479fcf0467935922df8524393d (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