Re: [RFC 5/6] target/cdb: Do not support command queues

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

 



* Nicholas A. Bellinger | 2011-12-08 17:36:18 [-0800]:

>> diff --git a/include/target/target_core_fabric.h b/include/target/target_core_fabric.h
>> index d035d86..0511bdf 100644
>> --- a/include/target/target_core_fabric.h
>> +++ b/include/target/target_core_fabric.h
>> @@ -45,6 +45,11 @@ struct target_core_fabric_ops {
>>  	 */
>>  	int (*new_cmd_map)(struct se_cmd *);
>>  	/*
>> +	 * Optional function pointer for TCM to check if command queueing is
>> +	 * supported. This affects the INQUIRY command. Default is yes.
>> +	 */
>> +	int (*cmd_queue_supported)(struct se_cmd *);
>> +	/*
>>  	 * Optional to release struct se_cmd and fabric dependent allocated
>>  	 * I/O descriptor in transport_cmd_check_stop().
>>  	 *
>
>This would be better served by a 'bool disable_cmdque' set to zero by
>default for non uasp fabrics instead of a new function pointer here..

Thanks. I decided to drop this patch as this workaround is no longer
required.

>--nab

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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux