Re: Return of PENDING status to SCSI driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ramya Desai wrote:
Dear Experts,

I am writing my mass storage class driver for my custom USB device.
My device is capable of queuing the commands that are issued to it.
So, I wanted to send the second command from my driver even before the
completion of first command.
To do this I wanted to return the PENDING status to the SCSI layer
immediately after receiving the command.

Simply queue as many commands as possible to your hardware, and complete them when they are done. Use can_queue or scsi_adjust_queue_depth() to set queueing limits.

	Jeff



--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux