OSDN Git Service

iscsi: Query and save device designator when opening
authorFam Zheng <famz@redhat.com>
Fri, 1 Jun 2018 09:26:44 +0000 (17:26 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 1 Jun 2018 13:41:48 +0000 (14:41 +0100)
commitcc9743c236cce8a35449e3ef67140287b68bb705
tree5c9450319d218336e7f1b15b3a0688c95dfdcb0f
parent1efad060d7e131dd52ecd1e038a6ddd37a3940c8
iscsi: Query and save device designator when opening

The device designator data returned in INQUIRY command will be useful to
fill in source/target fields during copy offloading. Do this when
connecting to the target and save the data for later use.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20180601092648.24614-7-famz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/iscsi.c