diff options
author | Avri Altman <avri.altman@wdc.com> | 2019-02-20 08:11:14 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-02-27 15:00:02 +0100 |
commit | 5c17f87abb1a86eb4d2a108477e56389622cf195 (patch) | |
tree | 05d55c07b59ec5ef06a3ae3e52b3e8ab2f091163 /kernel | |
parent | scsi: ufs: Allow reading descriptor via raw upiu (diff) | |
download | linux-5c17f87abb1a86eb4d2a108477e56389622cf195.tar.xz linux-5c17f87abb1a86eb4d2a108477e56389622cf195.zip |
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 'kernel')
0 files changed, 0 insertions, 0 deletions