diff options
author | Bart Van Assche <bvanassche@acm.org> | 2011-11-06 12:37:23 -0500 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-12-06 01:00:50 -0500 |
commit | 330694a50f5b80e983136237c10516810fb427a9 (patch) | |
tree | cd07658fcbe5aafd1e87bde8f96e7c6d9141be5c /drivers/target | |
parent | 0957627a99604f379d35831897a2aa15272528fc (diff) |
target: Improve system responsivity during I/O
While testing ib_srpt I noticed that the target system became
rather unresponsive during intensive I/O. The patch below made
my target system responsive again during I/O without decreasing
performance.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target')
-rw-r--r-- | drivers/target/target_core_transport.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c index a997fde9ffcb..06cce8178fcf 100644 --- a/drivers/target/target_core_transport.c +++ b/drivers/target/target_core_transport.c | |||
@@ -4599,8 +4599,6 @@ static int transport_processing_thread(void *param) | |||
4599 | struct se_cmd *cmd; | 4599 | struct se_cmd *cmd; |
4600 | struct se_device *dev = (struct se_device *) param; | 4600 | struct se_device *dev = (struct se_device *) param; |
4601 | 4601 | ||
4602 | set_user_nice(current, -20); | ||
4603 | |||
4604 | while (!kthread_should_stop()) { | 4602 | while (!kthread_should_stop()) { |
4605 | ret = wait_event_interruptible(dev->dev_queue_obj.thread_wq, | 4603 | ret = wait_event_interruptible(dev->dev_queue_obj.thread_wq, |
4606 | atomic_read(&dev->dev_queue_obj.queue_cnt) || | 4604 | atomic_read(&dev->dev_queue_obj.queue_cnt) || |