summaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorMike Christie <michael.christie@oracle.com>2024-12-03 22:15:13 +0300
committerMichael S. Tsirkin <mst@redhat.com>2025-02-25 15:10:46 +0300
commitddc5b5f68ec553a037a822f81150acbbdefa3ad1 (patch)
treedea2f82432fb76dd499531f06cd9a1b0757532b9 /lib/string_helpers.c
parentbca939d5bcd00d6faea99c47eafd60bed573ef03 (diff)
downloadlinux-ddc5b5f68ec553a037a822f81150acbbdefa3ad1.tar.xz
vhost-scsi: Stop duplicating se_cmd fields
When setting up the command we will initially set values like lun and data direction on the vhost scsi command. We then pass them to LIO which stores them again on the LIO se_cmd. The se_cmd is actually stored in the vhost scsi command so we are storing these values twice on the same struct. So this patch has stop duplicating the storing of SCSI values like lun, data dir, data len, cdb, etc on the vhost scsi command and just pass them to LIO which will store them on the se_cmd. Signed-off-by: Mike Christie <michael.christie@oracle.com> Message-Id: <20241203191705.19431-7-michael.christie@oracle.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions