>-----Original Message----- >From: [email protected] [mailto:linux-scsi- >[email protected]] On Behalf Of Avri Altman >Sent: Sunday, January 27, 2019 8:08 AM >To: James E.J. Bottomley <[email protected]>; Martin K. Petersen ><[email protected]>; [email protected]; linux- >[email protected]; Evan Green <[email protected]> >Cc: Avi Shchislowski <[email protected]>; Alex Lemberg ><[email protected]>; Avri Altman <[email protected]> >Subject: [EXT] [PATCH v4 3/3] 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 <[email protected]> Reviewed-by: Bean Huo <[email protected]>

