Re: [PATCH v2] scsi_debug: implement IMMED bit

2018-04-08 Thread Ming Lei
On Sun, Apr 08, 2018 at 01:30:30PM -0400, Douglas Gilbert wrote: > On 2018-04-07 10:23 PM, Ming Lei wrote: > > On Fri, Feb 09, 2018 at 09:36:39PM -0500, Douglas Gilbert wrote: > > > The Start Stop Unit (SSU) command takes in the order of a second to > > > complete on some SAS SSDs and longer on har

Re: [PATCH v2] scsi_debug: implement IMMED bit

2018-04-08 Thread Douglas Gilbert
On 2018-04-07 10:23 PM, Ming Lei wrote: On Fri, Feb 09, 2018 at 09:36:39PM -0500, Douglas Gilbert wrote: The Start Stop Unit (SSU) command takes in the order of a second to complete on some SAS SSDs and longer on hard disks. Synchronize Cache (SC) can also take some time. Both commands have an I

Re: [PATCH v2] scsi_debug: implement IMMED bit

2018-04-07 Thread Ming Lei
On Fri, Feb 09, 2018 at 09:36:39PM -0500, Douglas Gilbert wrote: > The Start Stop Unit (SSU) command takes in the order of a second to > complete on some SAS SSDs and longer on hard disks. Synchronize Cache (SC) > can also take some time. Both commands have an IMMED bit in their cdbs for > those ap

Re: [PATCH v2] scsi_debug: implement IMMED bit

2018-02-13 Thread Martin K. Petersen
Doug, > The Start Stop Unit (SSU) command takes in the order of a second to > complete on some SAS SSDs and longer on hard disks. Synchronize Cache > (SC) can also take some time. Both commands have an IMMED bit in their > cdbs for those apps that don't want to wait. This patch introduces a > lon

[PATCH v2] scsi_debug: implement IMMED bit

2018-02-09 Thread Douglas Gilbert
The Start Stop Unit (SSU) command takes in the order of a second to complete on some SAS SSDs and longer on hard disks. Synchronize Cache (SC) can also take some time. Both commands have an IMMED bit in their cdbs for those apps that don't want to wait. This patch introduces a long delay for those