RE: [RFC] scsi_debug: locks and delays

2014-06-23 Thread Elliott, Robert (Server Storage)
> -Original Message- > From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- > ow...@vger.kernel.org] On Behalf Of Douglas Gilbert > Sent: Wednesday, 18 June, 2014 8:54 PM > To: SCSI development list > Subject: [RFC] scsi_debug: locks and delays > > Current

[RFC] scsi_debug: locks and delays

2014-06-18 Thread Douglas Gilbert
Currently the scsi_debug driver wraps every queued command with the host_lock and every mid-level completion callback (apart from delay=0) with a spinlock. Attached is a patch against Linus's tree that also applies to lk 3.15.1 . It attempts to address some of these issues. ChangeLog - 'host_l