target: remove the task_size field in struct se_task
Now that we don't split commands the size field in the task is always equivalent to the one in the CDB, even in cases where we have two tasks due to a BIDI transfer. Just refer the the size in the command instead of duplicating it in the task. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
This commit is contained in:
committed by
Nicholas Bellinger
parent
72a0e5e2e2
commit
7a83aa4e7b
@@ -487,7 +487,6 @@ struct se_queue_obj {
|
||||
|
||||
struct se_task {
|
||||
u32 task_sectors;
|
||||
u32 task_size;
|
||||
struct se_cmd *task_se_cmd;
|
||||
struct scatterlist *task_sg;
|
||||
u32 task_sg_nents;
|
||||
|
||||
Reference in New Issue
Block a user