summaryrefslogtreecommitdiff
path: root/drivers/scsi/st.c
diff options
context:
space:
mode:
authorAvri Altman <avri.altman@wdc.com>2019-02-20 09:11:14 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2019-02-27 09:00:02 -0500
commit5c17f87abb1a86eb4d2a108477e56389622cf195 (patch)
tree05d55c07b59ec5ef06a3ae3e52b3e8ab2f091163 /drivers/scsi/st.c
parent4bbbe2421634fe1d1b230006200ad9cdb0e17a9e (diff)
scsi: ufs-bsg: Allow reading descriptors
Add this functionality, placing the descriptor being read in the actual data buffer in the bio. That is, for both read and write descriptors query upiu, we are using the job's request_payload. This in turn, is mapped back in user land to the applicable sg_io_v4 xferp: dout_xferp for write descriptor, and din_xferp for read descriptor. Signed-off-by: Avri Altman <avri.altman@wdc.com> Reviewed-by: Evan Green <evgreen@chromium.org> Reviewed-by: Bean Huo <beanhuo@micron.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/st.c')
0 files changed, 0 insertions, 0 deletions