scsi_debug: replace tasklet with work queue
authorDouglas Gilbert <dgilbert@interlog.com>
Mon, 25 Apr 2016 16:16:32 +0000 (12:16 -0400)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 29 Apr 2016 23:27:27 +0000 (19:27 -0400)
commita10bc12af6347d2aa3a2ffbd5f8b7be260c12b85
treed3b1c696994d246c544bee88e0d9163d29242899
parentc2206098972e8ca464040897c95bdf5b2f45ac32
scsi_debug: replace tasklet with work queue

When a negative value was placed in the delay parameter, a tasklet was
scheduled. Change the tasklet to a work queue. Previously a delay of -1
scheduled a high priority tasklet; since there are no high priority work
queues, treat -1 like other negative values in delay and schedule a work
item.

Signed-off-by: Douglas Gilbert <dgilbert@interlog.com>
Reviewed-by: Hannes Reinicke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_debug.c