diff options
author | Arjan van de Ven <[email protected]> | 2013-05-01 16:38:23 -0400 |
---|---|---|
committer | Matthew Wilcox <[email protected]> | 2013-05-01 16:40:27 -0400 |
commit | 564a232c059913d91b491e04c2b2d670b8f94615 (patch) | |
tree | f0f83ea760a81c9c2d05d23f39af419fcf462f5b /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | 5e82e952f04681c10f35e02ee0a4a43ec027137a (diff) |
NVMe: Set TASK_INTERRUPTIBLE before processing queues
The kthread has two tasks; handling timeouts (for which it runs once per
second), and submitting queued BIOs. If a BIO happens to be queued after
the thread has processed the queue but before it calls schedule_timeout(),
the thread will sleep for a second before submitting it, which can cause
performance problems in some rare cases (that will become more common in
a subsequent patch).
Signed-off-by: Arjan van de Ven <[email protected]>
Tested-by: Keith Busch <[email protected]>
Signed-off-by: Matthew Wilcox <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions