How to send SCSI command from kernel thread.

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

 



Hi All,

I need to send SCSI command asynchronously(Don't want to block my thread) and it should be non-GPL API.
I found scsi_execute_req() can be used to send the command, but its a blocking call, I could prepare CDB and send using blk_execute_rq_nowait().
However blk_execute_rq_nowait() and __blk_put_request() are under GPL.

Would you please tell me non-GPL equivalent of blk_execute_rq_nowait() and __blk_put_request() calls.

Thanks in advance.
Hari



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux