-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
target: use ->exectute_task for all CDB emulation
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>
- Loading branch information
Christoph Hellwig
authored and
Nicholas Bellinger
committed
Nov 4, 2011
1 parent
d29a5b6
commit 5bda90c
Showing
3 changed files
with
97 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#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 */ |
Oops, something went wrong.