diff options
author | Ilias Tsitsimpis <iliastsi@arrikto.com> | 2015-04-23 20:47:00 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-05-31 07:41:46 +0200 |
commit | f97ec7db1606875666366bfcba8476f8c917db96 (patch) | |
tree | f052599d412f804670c140a46c9ea52fa1e1baa8 /Documentation/target | |
parent | target/transport: Always initialize bidi fields in se_cmd (diff) | |
download | linux-f97ec7db1606875666366bfcba8476f8c917db96.tar.xz linux-f97ec7db1606875666366bfcba8476f8c917db96.zip |
target/user: Refactor data area allocation code
Introduce alloc_and_scatter_data_area()/gather_and_free_data_area()
functions that allocate/deallocate space from the data area and copy
data to/from a given scatter-gather list. These functions are needed so
the next patch, introducing support for bidirectional commands in TCMU,
can use the same code path both for t_data_sg and for t_bidi_data_sg.
Signed-off-by: Ilias Tsitsimpis <iliastsi@arrikto.com>
Signed-off-by: Vangelis Koukis <vkoukis@arrikto.com>
Reviewed-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'Documentation/target')
0 files changed, 0 insertions, 0 deletions