summaryrefslogtreecommitdiff
path: root/drivers/scsi
diff options
context:
space:
mode:
authorWunderlich, Mark <mark.wunderlich@intel.com>2021-04-01 00:38:30 +0300
committerChristoph Hellwig <hch@lst.de>2021-04-02 19:48:28 +0300
commitd8e7b462f5b8b93920c6c6a191be887b32306e6b (patch)
tree2284dfb950da75fcbfc7ffb7b7d72aae2445e5e7 /drivers/scsi
parentb5332a9f3f3d884a1b646ce155e664cc558c1722 (diff)
downloadlinux-d8e7b462f5b8b93920c6c6a191be887b32306e6b.tar.xz
nvmet-tcp: enable optional queue idle period tracking
Add 'idle_poll_period_usecs' option used by io_work() to support network devices enabled with advanced interrupt moderation supporting a relaxed interrupt model. It was discovered that such a NIC used on the target was unable to support initiator connection establishment, caused by the existing io_work() flow that immediately exits after a loop with no activity and does not re-queue itself. With this new option a queue is assigned a period of time that no activity must occur in order to become 'idle'. Until the queue is idle the work item is requeued. The new module option is defined as changeable making it flexible for testing purposes. The pre-existing legacy behavior is preserved when no module option for idle_poll_period_usecs is specified. Signed-off-by: Mark Wunderlich <mark.wunderlich@intel.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi')
0 files changed, 0 insertions, 0 deletions