![Christoph Hellwig](/assets/img/avatar_default.png)
Instead of calling into transport_emulate_control_cdb from __transport_execute_tasks for some CDBs always set up ->exectute_tasks in the command sequence and use it uniformly. (nab: Add default passthrough break for SERVICE_ACTION_IN) Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
15 lines
564 B
C
15 lines
564 B
C
#ifndef TARGET_CORE_CDB_H
|
|
#define TARGET_CORE_CDB_H
|
|
|
|
int target_emulate_inquiry(struct se_task *task);
|
|
int target_emulate_readcapacity(struct se_task *task);
|
|
int target_emulate_readcapacity_16(struct se_task *task);
|
|
int target_emulate_modesense(struct se_task *task);
|
|
int target_emulate_request_sense(struct se_task *task);
|
|
int target_emulate_unmap(struct se_task *task);
|
|
int target_emulate_write_same(struct se_task *task);
|
|
int target_emulate_synchronize_cache(struct se_task *task);
|
|
int target_emulate_noop(struct se_task *task);
|
|
|
|
#endif /* TARGET_CORE_CDB_H */
|