diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2020-05-01 23:25:44 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-10 00:18:36 +0200 |
commit | 72e5d757c62029664c0287d14519ec4451901b5e (patch) | |
tree | 7ed9be40a5b02309c28f84868a158d028e7c6b4e /ipc/msg.c | |
parent | nvme-tcp: use bh_lock in data_ready (diff) | |
download | linux-72e5d757c62029664c0287d14519ec4451901b5e.tar.xz linux-72e5d757c62029664c0287d14519ec4451901b5e.zip |
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 <mark.wunderlich@intel.com>
Signed-off-by: Mark Wunderlich <mark.wunderlich@intel.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'ipc/msg.c')
0 files changed, 0 insertions, 0 deletions